Skip to content

@lelantos-org/sdk / wallet / FeeOption

Interface: FeeOption โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:6

One asset a relayer will take, and whether this wallet could pay in it.

Properties โ€‹

affordable โ€‹

ts
affordable: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:18

Whether balance covers amount.

A necessary condition, not a sufficient one: the notes also have to fit the circuit's input slots, which only coin selection can decide.


amount โ€‹

ts
amount: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:9

What the fee costs in this asset, in circuit units.


asset โ€‹

ts
asset: AssetInfo;

Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:7


balance โ€‹

ts
balance: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:11

Unspent balance held in this asset.

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