Type alias: RequestTradeInput
RequestTradeInput =
object&SwapAmount
The pool a RequestTrade trades in, its fee tier, the uniqueKey and what is traded.
swap amount unique key
Type Declaration
| Name | Type | Description |
|---|---|---|
fee | number | - |
token0 | string | Canonical pool symbols: token0 < token1. Take them from a quote verbatim. |
token1 | string | - |
tokenInIsToken0 | boolean | Which side of the pool is sold: true when the input token is token0. |
uniqueKey | string | - |
token in is token0 unique key