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
Type Declaration
Section titled “Type Declaration”{ GenericError: { error_code: bigint; error_message: string; }; }
GenericError
Section titled “GenericError”GenericError:
object
A generic error reserved for future extensions.
GenericError.error_code
Section titled “GenericError.error_code”error_code:
bigint
GenericError.error_message
Section titled “GenericError.error_message”error_message:
string
{ TemporarilyUnavailable: string; }
TemporarilyUnavailable
Section titled “TemporarilyUnavailable”TemporarilyUnavailable:
string
The minter is overloaded, retry the request. The payload contains a human-readable message explaining what caused the unavailability.
{ AlreadyProcessing: null; }
AlreadyProcessing
Section titled “AlreadyProcessing”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
Section titled “NoNewUtxos”NoNewUtxos:
object
There are no new UTXOs to process.
NoNewUtxos.current_confirmations
Section titled “NoNewUtxos.current_confirmations”current_confirmations: [] | [
number]
NoNewUtxos.pending_utxos
Section titled “NoNewUtxos.pending_utxos”pending_utxos: [] | [
PendingUtxo[]]
NoNewUtxos.required_confirmations
Section titled “NoNewUtxos.required_confirmations”required_confirmations:
number
NoNewUtxos.suspended_utxos
Section titled “NoNewUtxos.suspended_utxos”suspended_utxos: [] | [
SuspendedUtxo[]]