debeem-wallet

Hierarchy (view full)

Implements

Constructors

Accessors

  • get supportedNetworks(): string[]
  • get supported chain/network short name list

    Returns string[]

Methods

  • Get the current price of any cryptocurrencies in any other supported currencies that you need.

    Parameters

    • ids: string

      {string} id of coins, comma-separated if querying more than 1 coin. see: src/resources/coinGeckoCoinList.json

    • vsCurrencies: string

      {string} vs_currency of coins, comma-separated if querying more than 1 vs_currency. see: src/resources/coinGeckoSupportedVsCurrencies.json

    Returns Promise<any>

  • Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.

    Parameters

    • platformId: string

      {string} The id of the platform issuing tokens. see: src/resources/coinGeckoAssetPlatforms.json

    • contractAddresses: string

      {string} The contract address of tokens, comma separated see: src/resources/ethereumTokens.json.ts

    • vsCurrencies: string

      {string} vs_currency of coins, comma-separated if querying more than 1 vs_currency see: src/resources/coinGeckoSupportedVsCurrencies.json

    Returns Promise<any>

Basic Methods