Skip to content

@lelantos-org/sdk / index / FeeOption

Interface: FeeOption ​

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:8

One asset the relayer accepts for a fee.

Properties ​

affordable ​

ts
affordable: boolean | undefined;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:26

balance >= amount: necessary, not sufficient (the notes must also fit the input slots; spendableMax answers that). undefined for kind: "deposit".


amount ​

ts
amount: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:11

The fee note's value, exact.


asset ​

ts
asset: AssetInfo;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:9


balance ​

ts
balance: CircuitAmount | undefined;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:21

Spends: this wallet's unspent shielded balance of the asset. undefined for kind: "deposit", whose fee is funded from the public wallet (see DepositQuote.pulls).


baseUnits ​

ts
baseUnits: TokenAmount;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:16

amount in base units, at the asset's display index. For a deposit's authoritative pull use DepositQuote.fees.relayer.