Skip to content

@lelantos-org/sdk / advanced / WithdrawPreviewArgs

Interface: WithdrawPreviewArgs ​

Defined in: @lelantos-org/sdk/dist/wallet/ops/withdraw-preview.d.ts:6

Input to previewWithdraw.

Properties ​

amount ​

ts
amount: Amount;

Defined in: @lelantos-org/sdk/dist/wallet/ops/withdraw-preview.d.ts:8

The gross leaving the pool; the value passed as WithdrawOptions.gross.


asset ​

ts
asset: AssetInfo;

Defined in: @lelantos-org/sdk/dist/wallet/ops/withdraw-preview.d.ts:10

Carries its own withdrawBps, so the preview needs no network round trip.