This question already has an answer here:
I am using
geth to do my coding. I have an Ether Account (Not a Wallet Contract) that will be receiving funds from clients. The clients will be writing a number in the DATA field (that you see when you click "SHOW MORE OPTIONS").
But now I need to be able to look at the history of transactions to my specific account, and view the Data being sent to it.
Is there a function in web3 to view the most recent transactions being sent to an Account? If not for an account, does that exist for a Wallet Contract? I know that the following function exists:
var transactionObject = web3.eth.getTransaction(hash);
But I do not have the hash for a transaction that a client does to me.