getProgramAccounts – Solana
The getProgramAccounts JSON-RPC method retrieves all accounts owned by the specified program Pubkey in the Solana blockchain.
Supported Networks
Parameters
Required Parameters
Optional Parameters
Result
Request Example
API Endpoints
cURL Example
Response
Example Response
Error Handling
Example Error Response
Use Cases
Code getProgramAccounts Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?