Fetch account information for multiple public keys in a single batch request.
HTTP transport instance
Array of base-58 encoded public keys (max 100)
Encoding, commitment, data-slice, and call options
Array of account info objects (or null for missing accounts) wrapped in RPC context
null
const { value } = await getMultipleAccounts(transport, [pubkey1, pubkey2]); Copy
const { value } = await getMultipleAccounts(transport, [pubkey1, pubkey2]);
1.0.0
Fetch account information for multiple public keys in a single batch request.