I am trying to call api.query.staking.erasTotalStake in polkadot.js.
Docs: https://polkadot.js.org/docs/substrate/storage/#erastotalstakeu32-u128
Which value can be parameter? Docs says u32. Is it block height?
https://codesandbox.io/s/keen-leakey-6jzrz9?file=/index.js This is my working code sandbox, I am just getting response 0.
How can I get another response beyond 0, and check if this api works correctly?