1

I'd ike to know the date or block of the first transaction of an account that has more transactions than the Etherscan display limit, like this one for example: https://etherscan.io/address/0xb1690c08e213a35ed9bab7b318de14420fb57d8c

Any way to do that using geth and json rpc?

Thanks

1

You can use Etherscan API which gives you ability to list all of the transactions for a specific range of blocks (you can set custom startblock/endblock)

https://api.etherscan.io/api?module=account&action=txlist&address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a&startblock=0&endblock=99999999&page=1&offset=10&sort=asc&apikey=YourApiKeyToken

And then access it like:

 returnedObject.result[0]

Example of returned object (with list of tx objects): Example


I know you wanted to get same result with geth, hope this answer will be still helpful.

  • no, thats actually a good idea, I can use the API to get the block number and then use json rpc to do my stuff... thanks for the help – Diego Mar 4 '18 at 14:03

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.