Version: V1
Fetcher
#
Fetcher (Abstract)This is an abstract class, as it is meant to separate the data fetching logic from the rest of the code for better tree-shaking. This class contains static methods for constructing instances of pools and tokens from on-chain data.
#
Static Methods#
fetchTokenDataFetch information for a given token.
#
fetchPairDataFetches information about pairs and constructs pairs array from the given two tokens.
#
fetchPairAddressesFetches information about pair addresses for the token pair.