eth_getBlockTransactionCountByHash
Returns the number of transactions in the block with the given block hash.
Parameters
block hash
: (string) [Required] A string representing the hash (32 bytes) of a block.
Returns
An integer representing the number of transactions in the block.
Example
Last updated
Was this helpful?