Function getMultipleAccounts

  • Retrieve information about multiple token accounts in a single RPC call

    Parameters

    • connection: Connection

      Connection to use

    • addresses: PublicKey[]

      Token accounts

    • Optional commitment: Commitment

      Desired level of commitment for querying the state

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Promise<Account[]>

    Token account information

Generated using TypeDoc