> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getBlockTransactionCountByHash | Ronin

> Ronin API method that returns the number of transactions in a block from a block matching the given block hash. Ronin via Chainstack.

Ronin API method that returns the number of transactions in a block from a block matching the given block hash. This is useful for determining the volume of transactions within a specific block.

## Parameters

* `blockHash` — the hash of the block for which to retrieve the transaction count.

## Response

* `result` — the number of transactions in the specified block, encoded as a hexadecimal.

## Use case

The `eth_getBlockTransactionCountByHash` method can be particularly useful for analytics and monitoring services that need to track the transaction throughput or density of blocks within the Ronin blockchain. It allows these services to identify blocks that contain a high or low number of transactions, which can be indicative of network congestion or usage patterns.


## OpenAPI

````yaml openapi/ronin_node_api/eth_getBlockTransactionCountByHash.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_getBlockTransactionCountByHash
  version: 1.0.0
  description: >-
    Returns the number of transactions in a block from a block matching the
    given block hash.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get the number of transactions in a block by hash
      operationId: getBlockTransactionCountByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getBlockTransactionCountByHash
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0x66d67565dc84eb6e579ebe142683e4338498653ff6b7a6e2724e80a73aca4f20
      responses:
        '200':
          description: The number of transactions in the specified block
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````