Skip to main content

Parameters

array
Array of account public keys (base-58 encoded)
object

Response

object

Code Examples

Basic Request

Request with Encoding

Using web3.js

Notes

  1. Returns information for multiple accounts in a single request
  2. Non-existent accounts are returned as null
  3. Account data can be sliced to reduce response size
  4. The response is immediate as it reads from the current state
  5. Different encodings can be specified for account data

Best Practices

  1. Use this method to efficiently fetch multiple accounts
  2. Consider using dataSlice to reduce response size
  3. Cache results when appropriate to reduce RPC load
  4. Handle null values for non-existent accounts
  5. Use appropriate encoding based on your needs

Common Errors

Use Cases

  1. Account Batch Processing
  2. Account Data Analysis
  3. Account Monitoring