getProgramAccounts
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"<programId>",
{
"encoding": "base64",
"filters": [],
"dataSlice": { "offset": 0, "length": 100 },
"withContext": false
}
]
}Parameters
Parameter
Type
Required
Description
Filters
dataSize
memcmp
Field
Type
Description
Response (Standard)
Response (with withContext: true)
withContext: true)Response (Paginated — when limit or after is provided)
limit or after is provided)Field
Type
Description
Example
Large Query Protection
Error Codes
Code
Message
Description
Last updated