Skip to content
docs

Swap2Fee

Defined in: protocols/swap2.ts:67

One fee in a quote or result.

amount: bigint

Defined in: protocols/swap2.ts:71

Amount in token’s base units.


optional chain?: string | number

Defined in: protocols/swap2.ts:75

Chain the fee is paid on, when it is not the source chain.


optional description?: string

Defined in: protocols/swap2.ts:78


optional included?: boolean

Defined in: protocols/swap2.ts:77

Already included in the quoted amounts.


token: string

Defined in: protocols/swap2.ts:73

Token the fee is paid in.


type: Swap2FeeType

Defined in: protocols/swap2.ts:69

Who takes it.