Skip to content

WithdrawErc20Arg

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

amount: bigint

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

Amount of tokens to withdraw. The amount is in the smallest unit of the token, e.g., ckUSDC uses 6 decimals and so to withdraw 1 ckUSDC, the amount should be 1_000_000.


ckerc20_ledger_id: Principal

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

The ledger ID for that ckERC20 token.


from_ckerc20_subaccount: [] | [Subaccount]

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

The subaccount to burn ckERC20 from.


from_cketh_subaccount: [] | [Subaccount]

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

The subaccount to burn ckETH from to pay for the transaction fee.


recipient: string

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

Ethereum address to withdraw to.