/** * 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 LightningInvoiceRequest */ export interface LightningInvoiceRequest { /** * The amount to create invoice for (in satoshis). This is the amount the payee will pay but * the final amount received by the client will have any server-configured * [LightningReceiveFees](crate::cli::fees::LightningReceiveFees) deducted. * @type {number} * @memberof LightningInvoiceRequest */ amountSat: number; /** * Optional description embedded in the invoice as its memo. * @type {string} * @memberof LightningInvoiceRequest */ description?: string | null; /** * Optional lightning receive token for authentication of the claim, if * the server requires one and there are no existing spendable VTXOs to * prove ownership of. * @type {string} * @memberof LightningInvoiceRequest */ token?: string | null; } /** * Check if a given object implements the LightningInvoiceRequest interface. */ export declare function instanceOfLightningInvoiceRequest(value: object): value is LightningInvoiceRequest; export declare function LightningInvoiceRequestFromJSON(json: any): LightningInvoiceRequest; export declare function LightningInvoiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LightningInvoiceRequest; export declare function LightningInvoiceRequestToJSON(json: any): LightningInvoiceRequest; export declare function LightningInvoiceRequestToJSONTyped(value?: LightningInvoiceRequest | null, ignoreDiscriminator?: boolean): any;