Path
The Path object represents a trade from a source token to a destination token.
Table of contents
Constructors
Properties
Constructors
constructor
• new Path(options
)
Parameters
Name | Type | Description |
---|---|---|
options | Object | The options for the path |
options.fromToken | Token | The source token |
options.toToken | Token | The destination token |
Defined in
Properties
fromToken
• fromToken: Token
The source token
Defined in
toToken
• toToken: Token
The destination token