Eth_getBlockTransactionCountByHash
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample:
JSON-RPC version
2.0methodstringRequiredExample:
JSON-RPC method name
eth_getBlockTransactionCountByHashparamsstring[] · min: 1 · max: 1RequiredExample:
Array containing a single parameter:
- Block hash as a hex string (32 bytes with 0x prefix)
0x9b559a3d7ee67a0a8bb96ec93c93a0db3f9c66a355a3eb9f3f519c0f26a27c79idintegerRequiredExample:
Request ID
1Responses
200
Number of transactions in the block
application/json
jsonrpcstringOptionalExample:
JSON-RPC version
2.0idintegerOptionalExample:
Same ID as in request
1resultstringOptionalExample:
Number of transactions in the block, returned as a hex string
0x8post
/200
Number of transactions in the block
Last updated