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.
Type Declaration
Section titled “Type Declaration”{ ValueTooSmall: Utxo; }
ValueTooSmall
Section titled “ValueTooSmall”ValueTooSmall:
Utxo
The minter ignored this UTXO because UTXO’s value is too small to pay the check fees.
{ Tainted: Utxo; }
Tainted
Section titled “Tainted”Tainted:
Utxo
The Bitcoin checker considered this UTXO to be tainted.
{ Minted: { block_index: bigint; minted_amount: bigint; utxo: Utxo; }; }
Minted
Section titled “Minted”Minted:
object
The UTXO passed the Bitcoin check, and ckBTC has been minted.
Minted.block_index
Section titled “Minted.block_index”block_index:
bigint
Minted.minted_amount
Section titled “Minted.minted_amount”minted_amount:
bigint
Minted.utxo
Section titled “Minted.utxo”utxo:
Utxo
{ Checked: Utxo; }
Checked
Section titled “Checked”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.