Efficent way to search on the blockchain

Hello,
At the moment i'm working on a private blockchain and i need to search/verify what transactions are made by a specific Wallet, is there any way to return the list of TXs and their content with a single "call"/function?

Now to accomplish this i loop on the whole blockchain from block 1 to block N.


I'm interfacing with Ethereum blockchain via IPC/RPC JSON.


What i'm looking for(Example):
{"jsonrpc":"2.0","method":"eth_getTransactionsbyWallet","params":["0x0000000000000000000000", true],"id":1}

Returns all TXs from 0x0000000000000000000000


How those services like https://etherscan.io/ and other explorers get the TXs by a single wallet?




Comments

Sign In or Register to comment.