Skip to content

UtxoStatus

UtxoStatus = { ValueTooSmall: Utxo; } | { Tainted: Utxo; } | { Minted: { block_index: bigint; minted_amount: bigint; utxo: Utxo; }; } | { Checked: Utxo; }

Defined in: packages/ckbtc/src/candid/minter.d.ts:665

The result of an [update_balance] call.

{ ValueTooSmall: Utxo; }

ValueTooSmall: Utxo

The minter ignored this UTXO because UTXO’s value is too small to pay the check fees.

{ Tainted: Utxo; }

Tainted: Utxo

The Bitcoin checker considered this UTXO to be tainted.

{ Minted: { block_index: bigint; minted_amount: bigint; utxo: Utxo; }; }

Minted: object

The UTXO passed the Bitcoin check, and ckBTC has been minted.

block_index: bigint

minted_amount: bigint

utxo: Utxo

{ Checked: Utxo; }

Checked: Utxo

The UTXO passed the Bitcoin check, but the minter failed to mint ckBTC because the Ledger was unavailable. Retrying the [update_balance] call should eventually advance the UTXO to the [Minted] state.