/** * 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. */ /** * Struct representing information about an Unspent Transaction Output (UTXO). * * This structure provides details about a UTXO, which includes the outpoint (transaction ID and * index), the associated amount in satoshis, and the block height at which the transaction was * confirmed (if available). * * # Serde Behavior * * * The `amount` field is serialized and deserialized with a custom function from the `bitcoin` * crate that ensures the value is interpreted as satoshis with the name `amount_sat`. * @export * @interface UtxoInfo */ export interface UtxoInfo { /** * The value of the UTXO in satoshis. * @type {number} * @memberof UtxoInfo */ amountSat: number; /** * An optional field that specifies the block height at which the transaction was confirmed. If * the transaction is unconfirmed, this value will be `None`. * @type {number} * @memberof UtxoInfo */ confirmationHeight?: number | null; /** * Contains the reference to the specific transaction output via transaction ID and index. * @type {string} * @memberof UtxoInfo */ outpoint: string; } /** * Check if a given object implements the UtxoInfo interface. */ export declare function instanceOfUtxoInfo(value: object): value is UtxoInfo; export declare function UtxoInfoFromJSON(json: any): UtxoInfo; export declare function UtxoInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtxoInfo; export declare function UtxoInfoToJSON(json: any): UtxoInfo; export declare function UtxoInfoToJSONTyped(value?: UtxoInfo | null, ignoreDiscriminator?: boolean): any;