getProgramAccounts

Returns all accounts owned by the provided program Pubkey.

POST Category: account

Developer Guide

getProgramAccounts Solana Developer Guide — Fetch all accounts a Solana program owns with getProgramAccounts, then cut a 10 GB scan to kilobytes with memcmp filters, changedSinceSlot, and dataSlice.

← Back to all methods