/** * 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 DelegatedRefreshRequest */ export interface DelegatedRefreshRequest { /** * Optional block height to schedule the refresh at. When set, the refresh fee is priced at * that height and the server includes the participation in the first round once the chain * tip reaches it; when omitted, the participation is eligible for the next round. * @type {number} * @memberof DelegatedRefreshRequest */ height?: number | null; /** * List of VTXO IDs to refresh. The sum of the VTXOs being refreshed must be * >= [P2TR_DUST](bitcoin_ext::P2TR_DUST). Keep in mind that fees set out in * [RefreshFees](crate::cli::fees::RefreshFees) will be deducted from the newly created VTXO, this * value must also be >= [P2TR_DUST](bitcoin_ext::P2TR_DUST). * @type {Array} * @memberof DelegatedRefreshRequest */ vtxos: Array; } /** * Check if a given object implements the DelegatedRefreshRequest interface. */ export declare function instanceOfDelegatedRefreshRequest(value: object): value is DelegatedRefreshRequest; export declare function DelegatedRefreshRequestFromJSON(json: any): DelegatedRefreshRequest; export declare function DelegatedRefreshRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedRefreshRequest; export declare function DelegatedRefreshRequestToJSON(json: any): DelegatedRefreshRequest; export declare function DelegatedRefreshRequestToJSONTyped(value?: DelegatedRefreshRequest | null, ignoreDiscriminator?: boolean): any;