getBlockTransactionCountByHash
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 from a block matching the given block hash.
Parameters
DATA, 32 Bytes - hash of a block
params: [
'0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238'
]
Returns
QUANTITY - integer of the number of transactions in this block.
curl --request POST \
--url {{ENVIRONMENT}} \
--header 'accept: application/json'