@lelantos-org/sdk / index / WithdrawEthOptions
Interface: WithdrawEthOptions โ
Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:36
Unshield a WETH note to raw ETH via NativeAdapter.withdrawNative. The pool is ERC-20 only, so the adapter drives the withdraw and unwraps the proceeds. Asset id MUST be registered against the chain's WETH.
Properties โ
amount โ
amount: AmountLike;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:39
asset โ
asset: AssetRef;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:41
WETH in the MASP registry, by id, token address or symbol.
autoConsolidate? โ
optional autoConsolidate?: boolean;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:44
Self-spend then retry on InsufficientCoverError.
onPhase? โ
optional onPhase?: OnPhase<SpendPhase>;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:45
selectOpts? โ
optional selectOpts?: SelectOpts;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:42
to โ
to: EvmAddressLike;Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:38
L1 recipient of the unwrapped ETH.