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)?
web3.eth.getStorageAt(addressHexString, position ...
addressHexString you will want a contract address, since random addresses are unlikely to have any values in storage.
How do I get the storage indices/keys?