Skip to main content
Defined in the Ethereum JSON-RPC Specification
Returns the number of transactions in a block by block hash.

Parameters

string
required
Hash of a block (32 bytes).

Returns

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

Error Handling

This method returns the count of transactions in a specific block identified by its hash.