Type Alias: RequestTradeInput
gSwap SDK 2.0.0-rc.4 / RequestTradeInput
Type Alias: RequestTradeInput
RequestTradeInput =
object&SwapAmount
Defined in: packages/gswap-sdk/dist/index.d.ts:3821
The pool a RequestTrade trades in, its fee tier, the uniqueKey and what is traded.
Type Declaration
fee
fee:
number
token0
token0:
string
Canonical pool symbols: token0 < token1. Take them from a quote verbatim.
token1
token1:
string
tokenInIsToken0
tokenInIsToken0:
boolean
Which side of the pool is sold: true when the input token is token0.
uniqueKey
uniqueKey:
string