You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(examples): point cluster-sensitive RPC examples at mainnet-beta
Several examples queried testnet, where the underlying data is sparse
or economically meaningless (few validators voting, no real inflation
rewards paid out, low-balance largest accounts). Point them at mainnet-
beta so they return representative data:
- getBlockProduction: drop the redundant second call and switch to
mainnet-beta.
- getInflationGovernor / getInflationRate / getLargestAccounts: endpoint
swap only.
- getInflationReward: fetch a currently-voting validator via
GetVoteAccounts instead of hardcoding a testnet pubkey, so the example
keeps producing rewards across epochs.
- getVoteAccounts: drop the stale testnet VotePubkey filter, list all
vote accounts, and print a summary (mainnet has >1000).
0 commit comments