I'm running small etherium network on two parity clusters which have no internet connection so etherscan is a no-way.

I wonder if it's possible to get overall transaction count via JSON RPC or something. I need to get something like eth_transactionCount and get 100500 as result.

How can it be done if it's possible at all?

  • How can you run nodes without internet? You mean private network? – Florian Castelain Apr 2 '18 at 17:02
  • Yes, private network which is not connected to the internet. – Alex Zhukovskiy Apr 2 '18 at 17:12

To get this number via web3/JSONRPC, you'll have to iterate over blocks and sum up the transaction counts. See eth_getBlockTransactionCountByNumber.

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.