eth_getBlockTransactionCountByNumber
Returns the number of transactions included in a block by number.
Parameters
Name
Type
Description
BlockNumber
HexString<Number>
| "latest"
| "earliest"
| "pending"
Hexadecimal block number, or the string "latest", "earliest" or "pending".
Return Type
HexString<Number>
| null
- Number of transactions included in the block or null if not found.
Example
Last updated
Was this helpful?