Eth_getBlockTransactionCountByNumber
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample:
JSON-RPC version
2.0methodstringRequiredExample:
JSON-RPC method name
eth_getBlockTransactionCountByNumberparamsstring[] · min: 1 · max: 1RequiredExample:
Array containing a single parameter:
- Block number as a hex string (e.g. "0x10d4f" for block 69007) or
- predefined block tags such as "latest", "earliest", or "pending"
0x10d4fidintegerRequiredExample:
Request ID
1Responses
200
Number of transactions in the block
application/json
jsonrpcstringOptionalExample:
JSON-RPC version
2.0idintegerOptionalExample:
Same ID as in the request
1resultstringOptionalExample:
Number of transactions in the block, returned as a hex string
0x8post
/200
Number of transactions in the block
Last updated