Caducues EVM JSON-RPC
eth
getBlockTransactionCountByNumber
1min
POST
Authentication
Authorization
Header Parameters
Content-Type
Body Parameters
body
Responses
200
Updated 25 Mar 2024
Did this page help you?
Returns the number of transactions in a block matching the given block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
params: [
'0xe8', // 232
]
Returns
QUANTITY
- integer of the number of transactions in this block.