api.query.staking.erasRewardPoints(era)
query returns reward history for selected era.
And only last 84 eras reward history is available.
I want to get reward history from first era.
How can I get reward history for all eras?
Substrate and Polkadot Stack Exchange is a question and answer site for developers building blockchains with the Substrate SDK. It only takes a minute to sign up.
Sign up to join this communityAs discussed you'll need to use api.at with a block hash of an earlier block to continue searching beyond the history depth.