Get a list of paths between two tokens for this pool graph.
Notes:
The token the path starts from
The token the path ends in
Optional
options: PathSearchOptionsOptions for finding a path
A list of path between the two tokens. If no path are found, it will be an empty array.
Get a list of all paths for this pool graph.
Optional
options: PathSearchOptionsOptions for finding a path
An array of all permutations of token-pairs to the paths for each pair.
Get a map of paths from a list of token pairs for this pool graph.
Notes:
A list of token pairs to find paths for. The first token in the pair is the start token, and the second token is the end token.
Optional
options: PathSearchOptionsOptions for finding a path
An array of search result entires in the same order as the searchTokenPairs.
A type representing an undirected graph of pools that can be used to find paths between two tokens. In this graph, nodes are token mints, and edges are pools