Skip to main content

Parameters

object
Configuration object containing the following optional fields:

Response

object

Code Examples

Basic Request

Request with Filter

Using web3.js

Notes

  1. Returns the top 20 accounts by lamport balance
  2. Results are sorted in descending order by balance
  3. Circulating accounts are those not owned by the system program
  4. Non-circulating accounts are typically owned by the system program
  5. The response is immediate as it reads from the current state

Best Practices

  1. Use appropriate commitment level based on your needs:
    • processed for UI updates
    • confirmed for most operations
    • finalized for critical operations
  2. Use the filter parameter to focus on relevant accounts
  3. Convert lamports to SOL by dividing by 1e9 when displaying to users
  4. Consider caching results for UI updates to reduce RPC load

Common Errors

Use Cases

  1. Network Analysis
  2. Token Distribution Monitoring
  3. Whale Watching