Skip to content

WithdrawalError

WithdrawalError = { TemporarilyUnavailable: string; } | { InsufficientAllowance: { allowance: bigint; }; } | { AmountTooLow: { min_withdrawal_amount: bigint; }; } | { RecipientAddressBlocked: { address: string; }; } | { InsufficientFunds: { balance: bigint; }; }

Defined in: packages/canisters/src/declarations/cketh/minter.d.ts:739

{ TemporarilyUnavailable: string; }

TemporarilyUnavailable: string

The minter or the ckETH ledger is temporarily unavailable, retry the request. The payload contains a human-readable message explaining what caused the unavailability.

{ InsufficientAllowance: { allowance: bigint; }; }

InsufficientAllowance: object

The allowance given to the minter is too low.

allowance: bigint

{ AmountTooLow: { min_withdrawal_amount: bigint; }; }

AmountTooLow: object

The withdrawal amount is too low. The payload contains the minimal withdrawal amount.

min_withdrawal_amount: bigint

{ RecipientAddressBlocked: { address: string; }; }

RecipientAddressBlocked: object

Recipient’s address is blocked. No withdrawal can be made to that address.

address: string

{ InsufficientFunds: { balance: bigint; }; }

InsufficientFunds: object

The ckETH balance of the withdrawal account is too low.

balance: bigint