Class: Route
Represents a list of pools through which a swap can occur
Type parameters
| Name | Type | Description | 
|---|---|---|
TInput | extends Currency | The input token | 
TOutput | extends Currency | The output token | 
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
new Route <TInput, TOutput> (pools, input, output)
Creates an instance of route.
Type parameters
| Name | Type | 
|---|---|
TInput | extends Currency | 
TOutput | extends Currency |