Reading account state
Choose how to read Solana account state: standard JSON-RPC, Cloudbreak for getProgramAccounts and token queries, Account Sync, or the Metaplex DAS API.
Solana keeps all of its state in accounts: a wallet, each token balance, a DEX market, an open order, and the program code itself. The standard way to read this state is Solana JSON-RPC polling, supported by every Triton endpoint.
However, Agave nodes make some of these reads slow or expensive as you scale:
Set queries like
getProgramAccounts(gPA). Fetching every account a program owns scans the program's entire account set and applies filters only after each account is loaded, so an unindexed scan gets slow and can time out on large programs.Polling for fresh state. Re-fetching the same accounts on a loop leaves your data stale between calls and burns requests (and rate limits) against the same endpoint.
NFT and compressed NFT. Assembling an asset's owner, metadata, and (for compressed NFTs) its Merkle proof from raw accounts takes custom indexing, decompression, and many calls.
Read path for each method
Every account-read method is served by one of these. Standard RPC covers the methods the node answers directly; the rest route through a specialized service.
Standard RPC (Triton's standard RPC nodes)*
getAccountInfo, getMultipleAccounts, getBalance, getTokenAccountBalance, getTokenLargestAccounts, getTokenSupply, getSupply, getVoteAccounts, getStakeMinimumDelegation, getMinimumBalanceForRentExemption
Cloudbreak (your requests route through it by default, no changes on your side)
getProgramAccounts (including Token and Token-2022 program queries with memcmp filters), getTokenAccountsByOwner, getTokenAccountsByDelegate
Account Sync (served from RAM via SDK)
getAccountInfo, getMultipleAccountsInfo, getParsedAccountInfo, getMultipleParsedAccounts (and *AndContext variants)
DAS API (Metaplex JSON-RPC extension)
getAsset, getAssets (also getAssetBatch), getAssetProof, getAssetProofs (also getAssetProofBatch), getAssetsByOwner, getAssetsByAuthority, getAssetsByCreator, getAssetsByGroup, searchAssets, getTokenAccounts, getNftEditions, getSignaturesForAsset (also getAssetSignatures)
*getTokenLargestAccounts is served by the DAS index on most endpoints and, on shared infrastructure, billed as a standard RPC call.
Depending on your use case, your build might combine multiple read paths:
Reading many program accounts at scale (DEX, lending, indexers)
Cloudbreak serves indexed getProgramAccounts and token queries, so repeated filter shapes avoid a full account scan.
Tracking a set of accounts live (any frontend or backend with a large polling codebase)
Account Sync keeps your existing code, stores the accounts locally in RAM, backed by a stream, and serves your reads from there without an RPC request for each read.
Wallets and NFT apps
DAS API fetches assets and metadata you need in one call, while Cloudbreak or Account Sync handle user balance lookups.
Low-latency trading and market making
We recommend streaming account updates with gRPC (Dragon's Mouth). If you want account reads in a web3.js-shaped client, Account Sync reduces read latency compared to polling.
Limitations
getLargestAccounts. It is disabled on Triton's mainnet endpoints and returns HTTP410withThe RPC call or parameters have been disabled.requestAirdrop. It is disabled on Triton's mainnet endpoints and returns HTTP410. See requestAirdrop for devnet airdrops and the faucet.getTokenAccountsByMint. It is not available on shared endpoints and returns JSON-RPC error-32601 Method not found.getTokenLargestAccounts. It is served from the DAS index on most endpoints and returns the top 20 accounts. If you pass it a config, setcommitmenttoconfirmedorfinalized;processedand an empty{}return an error.Light Protocol (ZK Compression). Accounts owned by the Account Compression program
compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVqare excluded from Yellowstone streams by default. On shared endpoints,getProgramAccountsfor them is served by standard RPC nodes, without Cloudbreak's index.Token program filters on shared endpoints.
getProgramAccountscalls for SPL Token and Token-2022 need amemcmpwith the full 32-byte owner pubkey at offset32or the full mint pubkey at offset0. Calls without one are rejected with HTTP403.System Program filter on shared endpoints.
getProgramAccountscalls for the System Program need amemcmpfilter. Calls without one are rejected with HTTP403.Commitment. Cloudbreak ingests from a gRPC stream at
confirmedcommitment, soprocessedrequests on the methods routed through Cloudbreak are answered atconfirmedinstead.Batches.
getProgramAccounts,getTokenAccountsByOwnerandgetTokenAccountsByDelegateare split out of JSON-RPC batches and processed individually, as is any batch that mixes methods served by different backends.Result order. Results can come back in a different order from your requests, so match each result to its request by
id.
Pricing
Account Sync usage is billed under your plan. See triton.one/pricing.
What's next
Contact support by clicking the chat icon in your customer dashboard Sales questions? Contact us AI agent? Read llms.txt Follow updates: Blog · X · YouTube · Telegram · GitHub
Last updated