Skip to content

@lelantos-org/sdk / index / SwapFees

Interface: SwapFees ​

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

A swap's charges. The two protocol fees fall on different legs and assets.

Extends ​

Properties ​

flush ​

ts
flush: Money | null;

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

The relayer's fee for flushing leg 2's deposit, in assetOut; inside the output pull.


outProtocol ​

ts
outProtocol: Money | null;

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

Leg 2's deposit fee, in assetOut; inside the output pull.


protocol ​

ts
protocol: Money | null;

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

Leg 1's withdraw fee, in assetIn, taken out of gross.

Overrides ​

FeeBreakdown.protocol


relayer ​

ts
relayer: Money | null;

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

The relayer's spend fee, in the quoted fee asset. Paid from notes; not inside gross.

Overrides ​

FeeBreakdown.relayer