Skip to content

UpdateBalanceError

UpdateBalanceError = { GenericError: { error_code: bigint; error_message: string; }; } | { TemporarilyUnavailable: string; } | { AlreadyProcessing: null; } | { NoNewUtxos: { current_confirmations: [] | [number]; pending_utxos: [] | [PendingUtxo[]]; required_confirmations: number; suspended_utxos: [] | [SuspendedUtxo[]]; }; }

Defined in: packages/canisters/src/declarations/ckbtc/minter.d.ts:586

{ GenericError: { error_code: bigint; error_message: string; }; }

GenericError: object

A generic error reserved for future extensions.

error_code: bigint

error_message: string

{ TemporarilyUnavailable: string; }

TemporarilyUnavailable: string

The minter is overloaded, retry the request. The payload contains a human-readable message explaining what caused the unavailability.

{ AlreadyProcessing: null; }

AlreadyProcessing: null

The minter is already processing another update balance request for the caller.

{ NoNewUtxos: { current_confirmations: [] | [number]; pending_utxos: [] | [PendingUtxo[]]; required_confirmations: number; suspended_utxos: [] | [SuspendedUtxo[]]; }; }

NoNewUtxos: object

There are no new UTXOs to process.

current_confirmations: [] | [number]

pending_utxos: [] | [PendingUtxo[]]

required_confirmations: number

suspended_utxos: [] | [SuspendedUtxo[]]