/** * 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 OnchainBalance */ export interface OnchainBalance { /** * Confirmed and immediately spendable balance * @type {number} * @memberof OnchainBalance */ confirmedSat: number; /** * All coinbase outputs not yet matured * @type {number} * @memberof OnchainBalance */ immatureSat: number; /** * All of them combined. * @type {number} * @memberof OnchainBalance */ totalSat: number; /** * Unconfirmed UTXOs generated by a wallet tx * @type {number} * @memberof OnchainBalance */ trustedPendingSat: number; /** * Get sum of trusted_pending and confirmed coins. * * This is the balance you can spend right now that shouldn't get canceled via another party * double spending it. * @type {number} * @memberof OnchainBalance */ trustedSpendableSat: number; /** * Unconfirmed UTXOs received from an external wallet * @type {number} * @memberof OnchainBalance */ untrustedPendingSat: number; } /** * Check if a given object implements the OnchainBalance interface. */ export declare function instanceOfOnchainBalance(value: object): value is OnchainBalance; export declare function OnchainBalanceFromJSON(json: any): OnchainBalance; export declare function OnchainBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): OnchainBalance; export declare function OnchainBalanceToJSON(json: any): OnchainBalance; export declare function OnchainBalanceToJSONTyped(value?: OnchainBalance | null, ignoreDiscriminator?: boolean): any;