Static getGets the price of a token from CoinGecko.
The coingecko ID for the token to get the price for.
Optional expiryDuration: numberThe duration in milliseconds for which the price should be cached.
A Promise that resolves to the price of the token, or -1 if the price cannot be fetched.
Static initializeStatic is
The
CoinGeckoAPIclass provides methods to get coin prices.