Solana · Arazzo Workflow
Solana Scan a Program's Owned Accounts
Version 1.0.0
Verify an address is an executable program, list the accounts it owns, and batch-read the first of them.
Provider
Workflows
program-accounts-scan
Confirm a program address and enumerate the accounts it owns.
Guards on the executable flag before running an expensive program-account scan, then batch-reads the results.
1
verifyProgram
getAccountInfo
Read the address and confirm the executable flag is set. Running a program-account scan against a non-program address wastes an expensive call and returns nothing useful.
2
listOwnedAccounts
getProgramAccounts
List every account owned by the program, parsed so the account state is readable without decoding the raw data blob.
3
batchReadAccounts
getMultipleAccounts
Re-read the leading owned accounts in a single batched call, the pattern that keeps an indexer inside its rate limit instead of issuing one request per account.