Cryptocurrency Ethereum Mastering Development

Get number of logs in block

Given logs are streamed to a client via the eth_subscribe(“logs”) rpc method with a logIndex, is there a way to tell the number of total logs in a block from its header?

Leave a Reply

Your email address will not be published. Required fields are marked *