Skip to content

@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 โ€‹

ts
amount: AmountLike;

Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:39


asset โ€‹

ts
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? โ€‹

ts
optional autoConsolidate?: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:44

Self-spend then retry on InsufficientCoverError.


onPhase? โ€‹

ts
optional onPhase?: OnPhase<SpendPhase>;

Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:45


selectOpts? โ€‹

ts
optional selectOpts?: SelectOpts;

Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:42


to โ€‹

ts
to: EvmAddressLike;

Defined in: @lelantos-org/sdk/dist/wallet/options.d.ts:38

L1 recipient of the unwrapped ETH.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub