Parameters
object
Configuration object containing the following optional fields:
Response
object
Code Examples
Basic Request
Request with Filter
Using web3.js
Notes
- Returns the top 20 accounts by lamport balance
- Results are sorted in descending order by balance
- Circulating accounts are those not owned by the system program
- Non-circulating accounts are typically owned by the system program
- The response is immediate as it reads from the current state
Best Practices
- Use appropriate commitment level based on your needs:
processedfor UI updatesconfirmedfor most operationsfinalizedfor critical operations
- Use the
filterparameter to focus on relevant accounts - Convert lamports to SOL by dividing by 1e9 when displaying to users
- Consider caching results for UI updates to reduce RPC load
Common Errors
Use Cases
-
Network Analysis
-
Token Distribution Monitoring
-
Whale Watching