How can I get the balance of all the accounts in my Go Ethereum node? I have about 1000 accounts and it is too slow to use
eth_getBalance to get balance for each address. Are there any ways to use curl and rpc?
Any library or other script you use will ultimately end up at
You could feasibly put together a script that can check multiple addresses in paraller via
eth_getBalance, since your bottleneck is unlikely to be the actual balance call.
Alternatively, you could consider using multiple nodes via providers such as infura or etherscan to spread out your queries.