/** * 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. */ /** * Request to build a BIP 321 unified payment URI. * * An Ark address is always included. A BOLT11 invoice is only included when * `amount_sat` is given (an amount is required to create one). An on-chain * address is included only when `onchain` is `true`. * @export * @interface Bip321UriRequest */ export interface Bip321UriRequest { /** * Optional amount (in satoshis) to request. When set, it is embedded in * the URI and used to create the BOLT11 invoice. Any server-configured * [LightningReceiveFees](crate::cli::fees::LightningReceiveFees) are * deducted from the amount the client ultimately receives over Lightning. * @type {number} * @memberof Bip321UriRequest */ amountSat?: number | null; /** * Optional label describing the payment, recorded in the URI's `label`. * @type {string} * @memberof Bip321UriRequest */ label?: string | null; /** * Optional message describing the payment, recorded in the URI's `message`. * @type {string} * @memberof Bip321UriRequest */ message?: string | null; /** * Whether to include a fresh on-chain address as a payment destination. * Defaults to `false`. * @type {boolean} * @memberof Bip321UriRequest */ onchain?: boolean | null; } /** * Check if a given object implements the Bip321UriRequest interface. */ export declare function instanceOfBip321UriRequest(value: object): value is Bip321UriRequest; export declare function Bip321UriRequestFromJSON(json: any): Bip321UriRequest; export declare function Bip321UriRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bip321UriRequest; export declare function Bip321UriRequestToJSON(json: any): Bip321UriRequest; export declare function Bip321UriRequestToJSONTyped(value?: Bip321UriRequest | null, ignoreDiscriminator?: boolean): any;