Swap2Fee
Defined in: protocols/swap2.ts:67
One fee in a quote or result.
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocols/swap2.ts:71
Amount in token’s base units.
chain?
Section titled “chain?”
optionalchain?:string|number
Defined in: protocols/swap2.ts:75
Chain the fee is paid on, when it is not the source chain.
description?
Section titled “description?”
optionaldescription?:string
Defined in: protocols/swap2.ts:78
included?
Section titled “included?”
optionalincluded?: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.