eth_getBlockTransactionCountByNumber
POST
/{apiKey}
Returns the number of transactions in a block matching the given block number.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string or enumrequired
The block number or special tags like 'latest', 'earliest', or 'pending'.
Responses
200
The number of transactions in the block as a hexadecimal string.
Was this page helpful?