eth_ get Block Transaction Count By NumberHTTP
Returns the number of transactions in a block.
Chain
EthereumTransport HTTPTry-it liveHow to use
- Pick an API key (or paste one) in the Try it panel.
- Fill each parameter (order = params array index).
- Send request — live against the gateway; counts toward daily quota.
Parameters
JSON-RPC positional arguments — order matches the array sent in params. Index badges below match array positions.
blockQUANTITY|TAGrequiredBlock number or tag.
Tags
latestearliestsafefinalizedpendingDefault
latestparams array (shape)
eth_getBlockTransactionCountByNumber · paramsjson
1[2 "latest"3]
Response fields
The result row describes the complete result; other rows describe its object fields or array elements. Indented rows describe nested members. For subscriptions,params.* rows describe later notifications rather than the initial reply.
| Field | Type | Description |
|---|---|---|
result | QUANTITY|null | Number of transactions in the block. Null when the block is unavailable; 0x0 means an existing block with zero matching entries. |