Function fetchMultipleTokenAccountValues

  • Fetches the value of multiple token accounts, in raw decimals. If an invalid account is passed in, 0 is returned.

    Parameters

    • connection: Connection

      The connection to use.

    • accounts: PublicKey[]

      The accounts to fetch the value for.

    Returns Promise<number[]>

    A promise that resolves to the token account values.

Generated using TypeDoc