Skip to main content

0.05 credits per call

getProgramAccounts on Solana: Returns all accounts owned by a program.

Endpoint

Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

Returns

array<object> | object: Array of {pubkey, account} objects (or a {context, value} envelope when withContext is set).

Examples

Errors

Plus standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.