Skip to main content
2 votes

Historical Balance of Polkadot Accounts (python substrate)

I agree with ehpeeeye, a very good approach would be to use the system.account storage function or leverage the features an indexer provides. The Substrate-ETL dataset would provide granular ...
Karim's user avatar
  • 21
2 votes

Historical Balance of Polkadot Accounts (python substrate)

Instead of getting all the events and adding up balances, you can directly query system.account(AccountId32) for the balance of the account/accounts at a specific block number. You are still required ...
ehpeeeye's user avatar
1 vote
Accepted

Scalecodec: How can I get the equivalent of Decode in Python, instead of DecodeAll?

There is kwarg you can pass to the decode() function, so it won't check the remaining bytes: decode(check_remaining=False). I don't have much context of your use-case, but I assume you have added a ...
Arjan's user avatar
  • 151

Only top scored, non community-wiki answers of a minimum length are eligible