SlippageContext
Defined in: protocol-swap2-core/src/slippage.ts:22
Properties
Section titled “Properties”etaSeconds?
Section titled “etaSeconds?”
optionaletaSeconds?:number
Defined in: protocol-swap2-core/src/slippage.ts:31
The route’s expected time to settle, in seconds.
fromChain
Section titled “fromChain”fromChain:
string
Defined in: protocol-swap2-core/src/slippage.ts:23
fromSymbol
Section titled “fromSymbol”fromSymbol:
string
Defined in: protocol-swap2-core/src/slippage.ts:26
Catalog symbols of the two sides, e.g. “USDC”, “ETH”, “cbBTC”.
priceImpactBps?
Section titled “priceImpactBps?”
optionalpriceImpactBps?:number
Defined in: protocol-swap2-core/src/slippage.ts:29
Price impact of this trade as the provider reports it, in bps.
toChain
Section titled “toChain”toChain:
string
Defined in: protocol-swap2-core/src/slippage.ts:24
toSymbol
Section titled “toSymbol”toSymbol:
string
Defined in: protocol-swap2-core/src/slippage.ts:27
volatilityBps?
Section titled “volatilityBps?”
optionalvolatilityBps?:number
Defined in: protocol-swap2-core/src/slippage.ts:33
Recent price range of the more volatile side (e.g. over 1 h), in bps.