I am trying to trace history of transactions in ethereum. I am using a function called getStorageAt(). Now what should be the input to this function, a contract address or account address(account no)?
1 Answer
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgetstorageat
web3.eth.getStorageAt(addressHexString, position ...
For addressHexString
you will want a contract address, since random addresses are unlikely to have any values in storage.
For position
, see
How do I get the storage indices/keys?