HTTP Methods
getProgramAccounts
Returns all accounts owned by the provided program Pubkey.
POST
getProgramAccounts
Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
New Feature:
getProgramAccounts now supports the changedSinceSlot parameter for incremental updates. When specified, the method returns only accounts that have been modified at or after the given slot number. This is perfect for real-time indexing and data synchronization workflows.Request Parameters
The Solana program public key (address) to query accounts for, as a base-58 encoded string.
The commitment level for the request.
confirmedfinalizedprocessed
The minimum slot that the request can be evaluated at.
Wrap the result in an RpcResponse JSON object.
Encoding format for the returned account data.
jsonParsedbase58base64base64+zstd
Request a slice of the account’s data.
Number of bytes to return.
Byte offset from which to start reading.
Only return accounts that were modified at or after this slot number. Useful for incremental updates.
Powerful filtering system to efficiently query specific Solana account data patterns.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getProgramAccounts Example:
"getProgramAccounts"
Parameters for the method.
The Solana program public key (address) to query accounts for, as a base-58 encoded string.
Example:
"4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T"
Previous
getProgramAccountsV2Enhanced version of getProgramAccounts with cursor-based pagination and changedSinceSlot support for efficiently querying large sets of accounts owned by specific Solana programs with incremental updates.
Next
getProgramAccounts