eth_getBlockTransactionCountByHash
POST
/{apiKey}
Returns the number of transactions in a block from a block matching the given block hash.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Block hashstringformat: "^0x[0-9a-f]{64}$"requiredThe hash of the block.
Responses
200
The number of transactions in the block as a hexadecimal string.
Was this page helpful?