Skip to main content

TradeType

Trade type for swap operations:

  • 0: EXACT_INPUT (amount specifies input)
  • 1: EXACT_OUTPUT (amount specifies output)
integerTradeType (integer)

Trade type for swap operations:

  • 0: EXACT_INPUT (amount specifies input)
  • 1: EXACT_OUTPUT (amount specifies output)

Possible values: [0, 1]

Example: 0
TradeType
0