Skip to content

WithdrawErc20Error

WithdrawErc20Error = { TokenNotSupported: { supported_tokens: CkErc20Token[]; }; } | { TemporarilyUnavailable: string; } | { CkErc20LedgerError: { cketh_block_index: bigint; error: LedgerError; }; } | { CkEthLedgerError: { error: LedgerError; }; } | { RecipientAddressBlocked: { address: string; }; }

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

{ TokenNotSupported: { supported_tokens: CkErc20Token[]; }; }

TokenNotSupported: object

The user provided ckERC20 token is not supported by the minter.

supported_tokens: CkErc20Token[]

{ TemporarilyUnavailable: string; }

TemporarilyUnavailable: string

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

{ CkErc20LedgerError: { cketh_block_index: bigint; error: LedgerError; }; }

CkErc20LedgerError: object

The minter could not burn the requested amount of ckERC20 tokens. The cketh_block_index identifies the burn that occurred on the ckETH ledger and that will be reimbursed.

cketh_block_index: bigint

error: LedgerError

{ CkEthLedgerError: { error: LedgerError; }; }

CkEthLedgerError: object

The minter could not burn the required amount of ckETH to pay for the transaction fees.

error: LedgerError

{ RecipientAddressBlocked: { address: string; }; }

RecipientAddressBlocked: object

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

address: string