/** * 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 SendRequest */ export interface SendRequest { /** * The amount to send (in satoshis). Optional for bolt11 invoices. Depending on the * `destination`, the wallet must contain this amount plus any fees configured by the server in * [FeeSchedule](crate::cli::fees::FeeSchedule). * @type {number} * @memberof SendRequest */ amountSat?: number | null; /** * An optional comment, only supported when paying to lightning addresses * @type {string} * @memberof SendRequest */ comment?: string | null; /** * The destination can be an Ark address, a BOLT11-invoice, LNURL or a lightning address * @type {string} * @memberof SendRequest */ destination: string; } /** * Check if a given object implements the SendRequest interface. */ export declare function instanceOfSendRequest(value: object): value is SendRequest; export declare function SendRequestFromJSON(json: any): SendRequest; export declare function SendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendRequest; export declare function SendRequestToJSON(json: any): SendRequest; export declare function SendRequestToJSONTyped(value?: SendRequest | null, ignoreDiscriminator?: boolean): any;