Skip to content
docs

AcrossFeeBreakdown

Defined in: protocol-swap2-across/src/build.ts:61

Fees of one transfer, in base units of the input token.

optional destinationGas?: string

Defined in: protocol-swap2-across/src/build.ts:67

Destination gas the relayer is paid for, when itemized (in input-token units).


optional lp?: string

Defined in: protocol-swap2-across/src/build.ts:69

LP fee, when itemized.


optional relayerCapital?: string

Defined in: protocol-swap2-across/src/build.ts:65

Relayer capital fee, when itemized.


total: string

Defined in: protocol-swap2-across/src/build.ts:63

input − output.


optional totalUsd?: number

Defined in: protocol-swap2-across/src/build.ts:71

The total in USD, when the quote source prices it. Checked as a number and never shown: feeUsd is the verified fee’s own.