Function getUsdPrice

  • Gets the usd price of a token

    Parameters

    • token: TokenInfo

      the token for which to get the usd value

    Returns Promise<undefined | number>

    the usd price of a token, or undefined if it cannot be fetched

Generated using TypeDoc