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
Type Declaration
Section titled “Type Declaration”{ TemporarilyUnavailable: string; }
TemporarilyUnavailable
Section titled “TemporarilyUnavailable”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
Section titled “InsufficientAllowance”InsufficientAllowance:
object
The allowance given to the minter is too low.
InsufficientAllowance.allowance
Section titled “InsufficientAllowance.allowance”allowance:
bigint
{ AmountTooLow: { min_withdrawal_amount: bigint; }; }
AmountTooLow
Section titled “AmountTooLow”AmountTooLow:
object
The withdrawal amount is too low. The payload contains the minimal withdrawal amount.
AmountTooLow.min_withdrawal_amount
Section titled “AmountTooLow.min_withdrawal_amount”min_withdrawal_amount:
bigint
{ RecipientAddressBlocked: { address: string; }; }
RecipientAddressBlocked
Section titled “RecipientAddressBlocked”RecipientAddressBlocked:
object
Recipient’s address is blocked. No withdrawal can be made to that address.
RecipientAddressBlocked.address
Section titled “RecipientAddressBlocked.address”address:
string
{ InsufficientFunds: { balance: bigint; }; }
InsufficientFunds
Section titled “InsufficientFunds”InsufficientFunds:
object
The ckETH balance of the withdrawal account is too low.
InsufficientFunds.balance
Section titled “InsufficientFunds.balance”balance:
bigint