/** * barkd REST API * A simple REST API for barkd, a wallet daemon for integrating bitcoin payments into your app over HTTP. Supports self-custodial Lightning, Ark, and on-chain out of the box. barkd is a long-running daemon best suited for always-on or high-connectivity environments like nodes, servers, desktops, and point-of-sale terminals. All endpoints return JSON. Amounts are denominated in satoshis. * * The version of the OpenAPI document: 0.6.1 * Contact: hello@second.tech * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface LightningPayRequest */ export interface LightningPayRequest { /** * The amount to send (in satoshis). Optional for bolt11 invoices with amount. This must be * higher than the minimum fee laid out in server-configured * [LightningSendFees](crate::cli::fees::LightningSendFees). The wallet must also contain enough * funds to cover the amount plus any fees. * @type {number} * @memberof LightningPayRequest */ amountSat?: number | null; /** * An optional comment, only supported when paying to lightning addresses * @type {string} * @memberof LightningPayRequest */ comment?: string | null; /** * The invoice, offer, or lightning address to pay * @type {string} * @memberof LightningPayRequest */ destination: string; } /** * Check if a given object implements the LightningPayRequest interface. */ export declare function instanceOfLightningPayRequest(value: object): value is LightningPayRequest; export declare function LightningPayRequestFromJSON(json: any): LightningPayRequest; export declare function LightningPayRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LightningPayRequest; export declare function LightningPayRequestToJSON(json: any): LightningPayRequest; export declare function LightningPayRequestToJSONTyped(value?: LightningPayRequest | null, ignoreDiscriminator?: boolean): any;