LifiRouteOption
Defined in: protocol-swap2-lifi/src/provider.ts:208
One single-transaction candidate from /advanced/routes, as a route policy sees it.
Properties
Section titled “Properties”etaSeconds
Section titled “etaSeconds”etaSeconds:
number
Defined in: protocol-swap2-lifi/src/provider.ts:214
LI.FI’s execution-duration estimate, seconds.
gasCostUsd
Section titled “gasCostUsd”gasCostUsd:
number
Defined in: protocol-swap2-lifi/src/provider.ts:215
tags: readonly
string[]
Defined in: protocol-swap2-lifi/src/provider.ts:217
LI.FI’s own labels: RECOMMENDED, CHEAPEST, FASTEST, …
toAmount
Section titled “toAmount”toAmount:
bigint
Defined in: protocol-swap2-lifi/src/provider.ts:211
toAmountMin
Section titled “toAmountMin”toAmountMin:
bigint
Defined in: protocol-swap2-lifi/src/provider.ts:212
tool:
string
Defined in: protocol-swap2-lifi/src/provider.ts:210
LI.FI tool key of the bridge the route crosses with (e.g. “stargateV2”); a same-chain route carries its swap tool.