Optional
chainId: numberget current config
get supported chain map
get supported chain id list
get supported chain/network short name list
Protected
clonedeep clone configuration from the input
{NetworkModels}
Get the current price of any cryptocurrencies in any other supported currencies that you need.
{string} id of coins, comma-separated if querying more than 1 coin. see: src/resources/coinGeckoCoinList.json
{string} vs_currency of coins, comma-separated if querying more than 1 vs_currency. see: src/resources/coinGeckoSupportedVsCurrencies.json
Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
{string} The id of the platform issuing tokens. see: src/resources/coinGeckoAssetPlatforms.json
{string} The contract address of tokens, comma separated see: src/resources/ethereumTokens.json.ts
{string} vs_currency of coins, comma-separated if querying more than 1 vs_currency see: src/resources/coinGeckoSupportedVsCurrencies.json
Protected
setProtected
setset supported chain map
{RpcSupportedChainMap}
Protected
setProtected
set
https://www.coingecko.com/zh/api/documentation