Class Coingecko

Hierarchy

  • Coingecko

Constructors

Properties

apiKey?: string
uri: string

Inherit Doc

coingeckoProApiKey

Methods

  • Parameters

    • coinName: string
    • currency: string = 'usd'

    Returns Promise<null | string>

  • Parameters

    • coinName: string
    • currency: string = 'usd'

    Returns Promise<null | string>

  • Parameters

    • tokenAddress: string
    • chainId: number
    • currency: string = 'usd'

    Returns Promise<null | string>

  • Parameters

    • tokenAddresses: string[]
    • chainId: number
    • currency: string = 'usd'

    Returns Promise<null | (null | string)[]>

Generated using TypeDoc