eth_getBlockTransactionCountByHash

Returns the number of transactions in a block from a block matching the given block hash.

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.