eth_getBlockTransactionCountByNumber
POST
/{apiKey}
Returns the number of transactions in a block matching the given block number.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Block number or tagstring or enumrequiredThe 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?