eth_getBlockTransactionCountByNumber
JSON-RPC methods
jsonrpc eth_getBlockTransactionCountByNumber | TRON
TRON API method that returns the number of transactions in a block by block number using Ethereum-compatible JSON-RPC format. On TRON.
POST
eth_getBlockTransactionCountByNumber
TRON API method that returns the number of transactions in a block by block number using Ethereum-compatible JSON-RPC format. This method provides Ethereum tooling compatibility for block transaction counting on TRON.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
jsonrpc— the JSON-RPC protocol version (always “2.0”)method— the method name (always “eth_getBlockTransactionCountByNumber”)params— array containing method parametersblockNumber— the block number as a hexadecimal string or block tag (“latest”, “earliest”, “pending”)
id— request identifier (number or string)
Response
jsonrpc— the JSON-RPC protocol version (“2.0”)id— the request identifier that matches the requestresult— the number of transactions in the block as a hexadecimal string
Use case
Thejsonrpc eth_getBlockTransactionCountByNumber method is used for:
- Getting transaction count for blocks by number using Ethereum-compatible tools
- Monitoring blockchain activity and transaction throughput on TRON
- Supporting Ethereum-based analytics and monitoring applications on TRON
- Enabling seamless integration of existing Ethereum tools with TRON
Body
application/json
Last modified on May 18, 2026