Docs · method · Solana

getProgramAccounts

Facts for getProgramAccounts
Units per call2 (heavy)
Cachenever
RuleNot offered: every measured supplier fences it outright. The call answers -32601 with the concierge path; tell us what you are building.
ChainsSolana Mainnet
Specificationhttps://solana.com/docs/rpc/http

Example

curl -s https://flexyield.io/rpc/solana_mainnet \
  -H "Authorization: Bearer $FLEXYIELD_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"getProgramAccounts","params":["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",{"encoding":"jsonParsed"}]}'

When the rule applies — the exact answer

HTTP 404, JSON-RPC code -32601. The body says what to do next and carries a request id you can file as a ticket.

{
  "error": {
    "code": -32601,
    "message": "getProgramAccounts isn't in our standard catalog yet — tell us what you're building and we'll enable or tailor it for your project, usually within a day: hello@flexyield.io",
    "data": {
      "contact": "hello@flexyield.io",
      "docs": "https://flexyield.io/docs",
      "request_id": "<uuid>",
      "support": "/support/new?request_id=<uuid>"
    }
  }
}

Questions

Is getProgramAccounts available?

Not yet — every supplier we measured fences it; the doorway answers with the concierge path.

All methods: methods and limits · docs · AI agents: the same call is the rpc_call MCP tool.