[Ethereum] How to explore all transactions for a given account

accountsgo-ethereumjson-rpctransactions

After beeing able to check account balances, I am looking for a method to list all transactions for a given Ethereum account through json-rpc protocol. I haven't found any method suitable for that on https://github.com/ethereum/wiki/wiki/JSON-RPC .

Similar to https://etherscan.io/txs?a=0xbb9bc244d798123fde783fcc1c72d3bb8c189413 I am trying to build an explorer that shows all transactions from a given account.

At How can all transactions sent to an address be found? a similar question is asked but I am not looking for a solution through a third party, but by querying directly to my ethereum node through json-rpc protocol.

Am I missing something? Is that possible to do through the json-rpc interface?

Best Answer

If you want to build a explore like etherscan.io, you need to crawl all data in ethereum network and save all txs in the db.

There is no direct rpc method to obtain all transactions related to the account.

Related Topic