eth_getBlockTransactionCountByHash

Returns the number of transactions in a block, based on the provided block hash.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block hashstringRequiredformat: "^0x[0-9a-f]{64}$"
The hash of the block.

Response

The number of transactions in the block as a hexadecimal string.