/** * 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. */ import type { FeeSchedule } from './FeeSchedule'; /** * * @export * @interface ArkInfo */ export interface ArkInfo { /** * The fee schedule outlining any fees that must be paid to interact with the Ark server. * @type {FeeSchedule} * @memberof ArkInfo */ fees: FeeSchedule; /** * The number of blocks to keep between Lightning and Ark HTLCs expiries * @type {number} * @memberof ArkInfo */ htlcExpiryDelta: number; /** * The number of blocks after which an HTLC-send VTXO expires once granted. * @type {number} * @memberof ArkInfo */ htlcSendExpiryDelta: number; /** * Indicates whether the Ark server requires clients to either * provide a VTXO ownership proof, or a lightning receive token * when preparing a lightning claim. * @type {boolean} * @memberof ArkInfo */ lnReceiveAntiDosRequired: boolean; /** * The pubkey used for blinding unified mailbox IDs * @type {string} * @memberof ArkInfo */ mailboxPubkey: string; /** * The maximum number of inputs for an offboard * @type {number} * @memberof ArkInfo */ maxOffboardInputs: number; /** * Maximum CLTV delta server will allow clients to request an * invoice generation with. * @type {number} * @memberof ArkInfo */ maxUserInvoiceCltvDelta: number; /** * Maximum amount of a VTXO * @type {number} * @memberof ArkInfo */ maxVtxoAmount: number; /** * Maximum exit depth (genesis chain length) allowed for a VTXO. * Once a VTXO's exit depth reaches this value the server will refuse to * cosign further OOR transactions spending it. Clients should refresh * their VTXOs into a round before this limit is reached. * @type {number} * @memberof ArkInfo */ maxVtxoExitDepth: number; /** * Minimum amount for a board the server will cosign * @type {number} * @memberof ArkInfo */ minBoardAmountSat: number; /** * Number of nonces per round * @type {number} * @memberof ArkInfo */ nbRoundNonces: number; /** * The bitcoin network the server operates on * @type {string} * @memberof ArkInfo */ network: string; /** * offboard feerate in sat per kvb * @type {number} * @memberof ArkInfo */ offboardFeerateSatPerKvb: number; /** * The number of confirmations required to register a board vtxo * @type {number} * @memberof ArkInfo */ requiredBoardConfirmations: number; /** * The interval between each round * @type {string} * @memberof ArkInfo */ roundInterval: string; /** * The Ark server pubkey * @type {string} * @memberof ArkInfo */ serverPubkey: string; /** * Delta between exit confirmation and coins becoming spendable * @type {number} * @memberof ArkInfo */ vtxoExitDelta: number; /** * Expiration delta of the VTXO * @type {number} * @memberof ArkInfo */ vtxoExpiryDelta: number; } /** * Check if a given object implements the ArkInfo interface. */ export declare function instanceOfArkInfo(value: object): value is ArkInfo; export declare function ArkInfoFromJSON(json: any): ArkInfo; export declare function ArkInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArkInfo; export declare function ArkInfoToJSON(json: any): ArkInfo; export declare function ArkInfoToJSONTyped(value?: ArkInfo | null, ignoreDiscriminator?: boolean): any;