0

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?

1 Answer 1

2

As discussed you'll need to use api.at with a block hash of an earlier block to continue searching beyond the history depth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.