/** * 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 * as runtime from '../runtime'; import type { ArkAddressResponse, ArkInfo, Balance, Bip321UriRequest, Bip321UriResponse, ConnectedResponse, CreateWalletRequest, CreateWalletResponse, DelegatedRefreshRequest, EncodedVtxoResponse, ImportVtxoRequest, MailboxSyncResponse, MnemonicResponse, Movement, NextRoundStart, OffboardAllRequest, OffboardResult, OffboardVtxosRequest, PendingRoundInfo, RefreshRequest, SendOnchainRequest, SendRequest, SendResponse, WalletDeleteRequest, WalletDeleteResponse, WalletExistsResponse, WalletVtxoInfo } from '../models/index'; export interface Bip321UriOperationRequest { bip321UriRequest: Bip321UriRequest; uppercase?: boolean; } export interface CreateWalletOperationRequest { createWalletRequest: CreateWalletRequest; } export interface GetVtxoRequest { id: string; } export interface GetVtxoEncodedRequest { id: string; } export interface ImportVtxoOperationRequest { importVtxoRequest: ImportVtxoRequest; } export interface OffboardAllOperationRequest { offboardAllRequest: OffboardAllRequest; } export interface OffboardVtxosOperationRequest { offboardVtxosRequest: OffboardVtxosRequest; } export interface PeekAddressRequest { index: number; } export interface RefreshDelegatedRequest { delegatedRefreshRequest: DelegatedRefreshRequest; } export interface RefreshVtxosRequest { refreshRequest: RefreshRequest; } export interface SendOperationRequest { sendRequest: SendRequest; } export interface SendOnchainOperationRequest { sendOnchainRequest: SendOnchainRequest; } export interface VtxosRequest { all?: boolean; } export interface WalletDeleteOperationRequest { walletDeleteRequest: WalletDeleteRequest; } /** * */ export declare class WalletApi extends runtime.BaseAPI { /** * Creates request options for address without sending the request */ addressRequestOpts(): Promise; /** * Generates a new Ark receiving address. Each call returns the next unused address from the wallet\'s HD keychain. * Generate Ark address */ addressRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Generates a new Ark receiving address. Each call returns the next unused address from the wallet\'s HD keychain. * Generate Ark address */ address(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for arkInfo without sending the request */ arkInfoRequestOpts(): Promise; /** * Returns the Ark server\'s configuration parameters, including network, public key, round interval, VTXO expiry and exit deltas, fee settings, and Lightning support details. * Get Ark server info */ arkInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the Ark server\'s configuration parameters, including network, public key, round interval, VTXO expiry and exit deltas, fee settings, and Lightning support details. * Get Ark server info */ arkInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for balance without sending the request */ balanceRequestOpts(): Promise; /** * Returns the wallet balance broken down by category: spendable sats available for immediate use, sats pending in an Ark round, sats locked in outgoing or incoming Lightning payments, sats awaiting board confirmation, and sats in a pending exit. The balance is computed from local state, which the background daemon keeps reasonably fresh (Lightning syncs every second, mailbox and boards every 30 seconds). For the most up-to-date figures, call `sync` before this endpoint. * Get wallet balance */ balanceRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the wallet balance broken down by category: spendable sats available for immediate use, sats pending in an Ark round, sats locked in outgoing or incoming Lightning payments, sats awaiting board confirmation, and sats in a pending exit. The balance is computed from local state, which the background daemon keeps reasonably fresh (Lightning syncs every second, mailbox and boards every 30 seconds). For the most up-to-date figures, call `sync` before this endpoint. * Get wallet balance */ balance(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for bip321Uri without sending the request */ bip321UriRequestOpts(requestParameters: Bip321UriOperationRequest): Promise; /** * Builds a single BIP 321 `bitcoin:` URI bundling multiple ways to receive the same payment, so one call prepares everything needed for an incoming payment. A fresh Ark address is always included. When `amount_sat` is given, a BOLT11 invoice for that amount is generated and the amount is embedded in the URI. When `onchain` is `true`, a fresh on-chain address is added (placed in the URI body on mainnet, as a `tb=` parameter on test networks). Set the `uppercase` query parameter to upper-case the `bip321` URI so QR encoders can use the compact alphanumeric mode; this fails if the URI carries case-sensitive data. The individual `ark`, `bolt11`, and `onchain` destinations are always returned in their natural case for direct use. * Build a BIP 321 payment URI */ bip321UriRaw(requestParameters: Bip321UriOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Builds a single BIP 321 `bitcoin:` URI bundling multiple ways to receive the same payment, so one call prepares everything needed for an incoming payment. A fresh Ark address is always included. When `amount_sat` is given, a BOLT11 invoice for that amount is generated and the amount is embedded in the URI. When `onchain` is `true`, a fresh on-chain address is added (placed in the URI body on mainnet, as a `tb=` parameter on test networks). Set the `uppercase` query parameter to upper-case the `bip321` URI so QR encoders can use the compact alphanumeric mode; this fails if the URI carries case-sensitive data. The individual `ark`, `bolt11`, and `onchain` destinations are always returned in their natural case for direct use. * Build a BIP 321 payment URI */ bip321Uri(requestParameters: Bip321UriOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for connected without sending the request */ connectedRequestOpts(): Promise; /** * Checks whether the wallet has an active connection to the Ark server. Returns `true` if the wallet can reach the server and retrieve its configuration, `false` otherwise. The background daemon checks the server connection every second, so this reflects the most recent known state. * Check server connection */ connectedRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Checks whether the wallet has an active connection to the Ark server. Returns `true` if the wallet can reach the server and retrieve its configuration, `false` otherwise. The background daemon checks the server connection every second, so this reflects the most recent known state. * Check server connection */ connected(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for createWallet without sending the request */ createWalletRequestOpts(requestParameters: CreateWalletOperationRequest): Promise; /** * Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success. * Create a wallet */ createWalletRaw(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new wallet with the specified Ark server and chain source configuration. Fails if a wallet already exists. Returns the wallet fingerprint on success. * Create a wallet */ createWallet(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for getVtxo without sending the request */ getVtxoRequestOpts(requestParameters: GetVtxoRequest): Promise; /** * Returns detail for a single VTXO. To get the hex-encoded serialization use `GET /vtxos/{id}/encoded`. * Get VTXO detail */ getVtxoRaw(requestParameters: GetVtxoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns detail for a single VTXO. To get the hex-encoded serialization use `GET /vtxos/{id}/encoded`. * Get VTXO detail */ getVtxo(requestParameters: GetVtxoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for getVtxoEncoded without sending the request */ getVtxoEncodedRequestOpts(requestParameters: GetVtxoEncodedRequest): Promise; /** * Returns the hex-encoded serialization of a VTXO. The `encoded` field can be passed to `POST /wallet/import-vtxo` to re-import this VTXO. * Get encoded VTXO */ getVtxoEncodedRaw(requestParameters: GetVtxoEncodedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the hex-encoded serialization of a VTXO. The `encoded` field can be passed to `POST /wallet/import-vtxo` to re-import this VTXO. * Get encoded VTXO */ getVtxoEncoded(requestParameters: GetVtxoEncodedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for history without sending the request * @deprecated */ historyRequestOpts(): Promise; /** * Deprecated: use `GET /api/v1/history` instead. * Get wallet history (deprecated) * @deprecated */ historyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Deprecated: use `GET /api/v1/history` instead. * Get wallet history (deprecated) * @deprecated */ history(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates request options for importVtxo without sending the request */ importVtxoRequestOpts(requestParameters: ImportVtxoOperationRequest): Promise; /** * Imports hex-encoded serialized VTXOs into the wallet. Validates that each VTXO is anchored on-chain, owned by this wallet, and has not expired. Useful for restoring VTXOs after database loss or re-importing from the server mailbox. The operation is idempotent. * Import a VTXO */ importVtxoRaw(requestParameters: ImportVtxoOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Imports hex-encoded serialized VTXOs into the wallet. Validates that each VTXO is anchored on-chain, owned by this wallet, and has not expired. Useful for restoring VTXOs after database loss or re-importing from the server mailbox. The operation is idempotent. * Import a VTXO */ importVtxo(requestParameters: ImportVtxoOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates request options for mnemonic without sending the request */ mnemonicRequestOpts(): Promise; /** * Returns the BIP-39 mnemonic phrase backing the wallet. Returns 404 when mnemonic exposure is disabled. Exposure is off by default; the endpoint returns 404 unless barkd is started with the `--expose-mnemonic` flag. * Get wallet mnemonic */ mnemonicRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the BIP-39 mnemonic phrase backing the wallet. Returns 404 when mnemonic exposure is disabled. Exposure is off by default; the endpoint returns 404 unless barkd is started with the `--expose-mnemonic` flag. * Get wallet mnemonic */ mnemonic(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for movements without sending the request * @deprecated */ movementsRequestOpts(): Promise; /** * Deprecated: Use history instead * List movements (deprecated) * @deprecated */ movementsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Deprecated: Use history instead * List movements (deprecated) * @deprecated */ movements(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates request options for nextRound without sending the request */ nextRoundRequestOpts(): Promise; /** * Queries the Ark server for the next scheduled round start time and returns it in RFC 3339 format. * Get next round time */ nextRoundRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Queries the Ark server for the next scheduled round start time and returns it in RFC 3339 format. * Get next round time */ nextRound(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for offboardAll without sending the request */ offboardAllRequestOpts(requestParameters: OffboardAllOperationRequest): Promise; /** * Cooperatively moves all spendable VTXOs off the Ark protocol to an on-chain address. Each VTXO is offboarded in full—partial amounts are not supported. The on-chain transaction fee is deducted from the total, and the remaining amount is sent to the destination. If no address is specified, the wallet generates a new on-chain address. To send a specific amount on-chain, use `send-onchain` instead. * Offboard all VTXOs */ offboardAllRaw(requestParameters: OffboardAllOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Cooperatively moves all spendable VTXOs off the Ark protocol to an on-chain address. Each VTXO is offboarded in full—partial amounts are not supported. The on-chain transaction fee is deducted from the total, and the remaining amount is sent to the destination. If no address is specified, the wallet generates a new on-chain address. To send a specific amount on-chain, use `send-onchain` instead. * Offboard all VTXOs */ offboardAll(requestParameters: OffboardAllOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for offboardVtxos without sending the request */ offboardVtxosRequestOpts(requestParameters: OffboardVtxosOperationRequest): Promise; /** * Cooperatively moves the specified VTXOs off the Ark protocol to an on-chain address. Each VTXO is offboarded in full—partial amounts are not supported. The on-chain transaction fee is deducted from the total, and the remaining amount is sent to the destination. If no address is specified, the wallet generates a new on-chain address. To send a specific amount on-chain, use `send-onchain` instead. * Offboard specific VTXOs */ offboardVtxosRaw(requestParameters: OffboardVtxosOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Cooperatively moves the specified VTXOs off the Ark protocol to an on-chain address. Each VTXO is offboarded in full—partial amounts are not supported. The on-chain transaction fee is deducted from the total, and the remaining amount is sent to the destination. If no address is specified, the wallet generates a new on-chain address. To send a specific amount on-chain, use `send-onchain` instead. * Offboard specific VTXOs */ offboardVtxos(requestParameters: OffboardVtxosOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for peekAddress without sending the request */ peekAddressRequestOpts(requestParameters: PeekAddressRequest): Promise; /** * Returns a previously generated Ark address by its derivation index. Only addresses that have already been generated are available. * Get Ark address by index */ peekAddressRaw(requestParameters: PeekAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a previously generated Ark address by its derivation index. Only addresses that have already been generated are available. * Get Ark address by index */ peekAddress(requestParameters: PeekAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for pendingRounds without sending the request */ pendingRoundsRequestOpts(): Promise; /** * Returns all active round participations and their current status. A round participation is created when you call one of the `refresh` endpoints and persists until the round\'s funding transaction is confirmed on-chain (2 confirmations on mainnet, 1 on testnet). The list can contain multiple entries—for example, a previous round awaiting on-chain confirmation alongside a newly submitted round waiting for the next server round to start. Confirmed and failed rounds are removed automatically by the background daemon. * List round participations */ pendingRoundsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns all active round participations and their current status. A round participation is created when you call one of the `refresh` endpoints and persists until the round\'s funding transaction is confirmed on-chain (2 confirmations on mainnet, 1 on testnet). The list can contain multiple entries—for example, a previous round awaiting on-chain confirmation alongside a newly submitted round waiting for the next server round to start. Confirmed and failed rounds are removed automatically by the background daemon. * List round participations */ pendingRounds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates request options for refreshAll without sending the request */ refreshAllRequestOpts(): Promise; /** * Registers all spendable VTXOs for refresh in the next Ark round. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh all VTXOs */ refreshAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Registers all spendable VTXOs for refresh in the next Ark round. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh all VTXOs */ refreshAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for refreshCounterparty without sending the request */ refreshCounterpartyRequestOpts(): Promise; /** * Registers all out-of-round VTXOs held by the wallet for refresh in the next Ark round. Refreshing replaces out-of-round VTXOs under arkoor trust assumptions with trustless, in-round VTXOs. Out-of-round VTXOs whose entire transaction chain originates from your own in-round VTXOs are excluded. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh received VTXOs */ refreshCounterpartyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Registers all out-of-round VTXOs held by the wallet for refresh in the next Ark round. Refreshing replaces out-of-round VTXOs under arkoor trust assumptions with trustless, in-round VTXOs. Out-of-round VTXOs whose entire transaction chain originates from your own in-round VTXOs are excluded. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh received VTXOs */ refreshCounterparty(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for refreshDelegated without sending the request */ refreshDelegatedRequestOpts(requestParameters: RefreshDelegatedRequest): Promise; /** * Registers the specified VTXOs for refresh as a delegated participation: the wallet hands the server a signed participation and the server carries it through the round, so the wallet doesn\'t need to follow the round interactively. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. Set `height` to schedule the refresh for a future block height: 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 `height` is omitted, the participation is eligible for the next round. Use the `rounds` endpoint to track progress. * Refresh VTXOs in delegated mode */ refreshDelegatedRaw(requestParameters: RefreshDelegatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Registers the specified VTXOs for refresh as a delegated participation: the wallet hands the server a signed participation and the server carries it through the round, so the wallet doesn\'t need to follow the round interactively. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. Set `height` to schedule the refresh for a future block height: 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 `height` is omitted, the participation is eligible for the next round. Use the `rounds` endpoint to track progress. * Refresh VTXOs in delegated mode */ refreshDelegated(requestParameters: RefreshDelegatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for refreshVtxos without sending the request */ refreshVtxosRequestOpts(requestParameters: RefreshVtxosRequest): Promise; /** * Registers the specified VTXOs for refresh in the next Ark round. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh specific VTXOs */ refreshVtxosRaw(requestParameters: RefreshVtxosRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Registers the specified VTXOs for refresh in the next Ark round. The input VTXOs are locked immediately and will be forfeited once the round completes, yielding new VTXOs with a fresh expiry. The background daemon automatically participates in the round and progresses it to completion. Use the `rounds` endpoint to track progress. * Refresh specific VTXOs */ refreshVtxos(requestParameters: RefreshVtxosRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for send without sending the request */ sendRequestOpts(requestParameters: SendOperationRequest): Promise; /** * Sends an Ark or Lightning payment to the specified destination. Accepts an Ark address, BOLT11 invoice, BOLT12 offer, or Lightning address. Ark address payments are settled instantly via an out-of-round (arkoor) transaction. The `amount_sat` field is required for Ark addresses and Lightning addresses but optional for invoices and offers that already encode an amount. Comments are only supported for Lightning addresses. To send to an on-chain bitcoin address, use `send-onchain` instead. * Send a payment */ sendRaw(requestParameters: SendOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Sends an Ark or Lightning payment to the specified destination. Accepts an Ark address, BOLT11 invoice, BOLT12 offer, or Lightning address. Ark address payments are settled instantly via an out-of-round (arkoor) transaction. The `amount_sat` field is required for Ark addresses and Lightning addresses but optional for invoices and offers that already encode an amount. Comments are only supported for Lightning addresses. To send to an on-chain bitcoin address, use `send-onchain` instead. * Send a payment */ send(requestParameters: SendOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for sendOnchain without sending the request */ sendOnchainRequestOpts(requestParameters: SendOnchainOperationRequest): Promise; /** * Sends the specified amount to an on-chain address using the wallet\'s off-chain Ark balance. The on-chain transaction fee is paid on top of the specified amount. Internally creates an out-of-round transaction to consolidate VTXOs into the exact amount needed, then cooperatively sends the on-chain payment via the Ark server. To offboard entire VTXOs without specifying an amount, use `offboard/vtxos` or `offboard/all` instead. * Send on-chain from Ark balance */ sendOnchainRaw(requestParameters: SendOnchainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Sends the specified amount to an on-chain address using the wallet\'s off-chain Ark balance. The on-chain transaction fee is paid on top of the specified amount. Internally creates an out-of-round transaction to consolidate VTXOs into the exact amount needed, then cooperatively sends the on-chain payment via the Ark server. To offboard entire VTXOs without specifying an amount, use `offboard/vtxos` or `offboard/all` instead. * Send on-chain from Ark balance */ sendOnchain(requestParameters: SendOnchainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for sync without sending the request */ syncRequestOpts(): Promise; /** * Triggers an immediate sync of the wallet\'s off-chain state. Updates on-chain fee rates, processes incoming arkoor payments, resolves outgoing and incoming Lightning payments, and progresses pending rounds and boards toward confirmation. The background daemon already runs these operations automatically (e.g., Lightning every second, mailbox and boards every 30 seconds), but calling `sync` forces all of them to run immediately. * Sync wallet */ syncRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Triggers an immediate sync of the wallet\'s off-chain state. Updates on-chain fee rates, processes incoming arkoor payments, resolves outgoing and incoming Lightning payments, and progresses pending rounds and boards toward confirmation. The background daemon already runs these operations automatically (e.g., Lightning every second, mailbox and boards every 30 seconds), but calling `sync` forces all of them to run immediately. * Sync wallet */ sync(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for syncMailbox without sending the request */ syncMailboxRequestOpts(): Promise; /** * Triggers an immediate mailbox sync without running any of the other off-chain sync steps. Fetches any pending mailbox messages from the Ark server, processes them (incoming arkoor payments, lightning receive notifications), and returns the new mailbox checkpoint (tip). Useful in `daemon_manual_sync` mode where background mailbox subscription is disabled and the operator needs a granular way to pull incoming events. * Sync mailbox only */ syncMailboxRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Triggers an immediate mailbox sync without running any of the other off-chain sync steps. Fetches any pending mailbox messages from the Ark server, processes them (incoming arkoor payments, lightning receive notifications), and returns the new mailbox checkpoint (tip). Useful in `daemon_manual_sync` mode where background mailbox subscription is disabled and the operator needs a granular way to pull incoming events. * Sync mailbox only */ syncMailbox(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for vtxos without sending the request */ vtxosRequestOpts(requestParameters: VtxosRequest): Promise; /** * Returns VTXOs held by the wallet, including their state and expiry information. By default returns only non-spent VTXOs. Set `all=true` to include all VTXOs regardless of state. * List VTXOs */ vtxosRaw(requestParameters: VtxosRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns VTXOs held by the wallet, including their state and expiry information. By default returns only non-spent VTXOs. Set `all=true` to include all VTXOs regardless of state. * List VTXOs */ vtxos(requestParameters?: VtxosRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates request options for walletDelete without sending the request */ walletDeleteRequestOpts(requestParameters: WalletDeleteOperationRequest): Promise; /** */ walletDeleteRaw(requestParameters: WalletDeleteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** */ walletDelete(requestParameters: WalletDeleteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for walletExists without sending the request */ walletExistsRequestOpts(): Promise; /** */ walletExistsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** */ walletExists(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }