I have an application which should work as an exchange. Customers have their own Ethereum addresses on my Geth server, and they might receive ERC20 Tokens on them. I need to fetch the incoming transaction data for multiple accounts.
eth_getLogs() like this:
eth_getLogs( '0x9589a2', 'latest', '0xdac17f958d2ee523a2206206994597c13d831ec7', [null, null, '0x000000000000000000000000825F80D4c229f56bf1275C9592223a9d921329E2'] );
Now, I have some questions:
- What are the 1st and 2nd parameters in array for? I found this sample code and used it, but unfortunately I couldn't find the appropriate document for it.
- I added some 0000... before address regarding to the example I found. It works now, but what is the exact value here and what is its correct format?
- And the main question: How can I do searches at once on multiple accounts for each ERC20 Token?