getBlockTransactionCountByNumber
1 min
POST
{{ENVIRONMENT}}
Content-Typestring
bodystring
200
curl --request POST \
--url {{ENVIRONMENT}} \
--header 'accept: application/json'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.
curl --request POST \
--url {{ENVIRONMENT}} \
--header 'accept: application/json'