Returns the number of transactions in a block by block number.
Parameters
string
required
Integer block number, or the string “latest”, “earliest” or “pending”.
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 number.