exactIn static method

Trade exactIn(
  1. Route route,
  2. CurrencyAmount amountIn
)

Constructs an exact in trade with the given amount in and route @param route route of the exact in trade @param amountIn the amount being passed in

Implementation

static Trade exactIn(Route route, CurrencyAmount amountIn) {
  return Trade(route, amountIn, TradeType.EXACT_INPUT);
}