1

Will it be possible to get address state at a given block within smart contract execution logic?

Something like: block(10297202).(address('Ox...').balance)

I assume it's not possible currently due to:

  1. Miners do not hold the whole chain (In general).
  2. Computational power will be added to every block generation.
  3. Question regarding reading past events info in Solidity
2

No, it is not possible in solidity. The EVM doesn't have an opcode that can return that value. The BALANCE opcode returns the current balance of an address.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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