> ## 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.

# jsonrpc eth_blockNumber | TRON

> TRON API method that returns the current block number in hexadecimal format. This method provides Ethereum-compatible interface for TRON blockchain.

TRON API method that returns the current block number, providing an Ethereum-compatible interface for accessing TRON blockchain data.

## Parameters

* `jsonrpc` — the JSON-RPC protocol version (always "2.0")
* `method` — the method name (always "eth\_blockNumber")
* `params` — array containing method parameters (empty for this method)
* `id` — request identifier (number or string)

## Response

* `jsonrpc` — the JSON-RPC protocol version ("2.0")
* `id` — the request identifier that matches the request
* `result` — the current block number in hexadecimal format

## Use case

The `jsonrpc eth_blockNumber` method is used for:

* Monitoring the current state of the TRON blockchain through Ethereum-compatible interfaces
* Implementing block synchronization logic in Web3 applications
* Building real-time dashboards that display current blockchain height
* Validating transaction confirmations by comparing block numbers


## OpenAPI

````yaml openapi/tron_node_api/jsonrpc_eth_blocknumber.json POST /95e61622bf6a8af293978377718e3b77/jsonrpc
openapi: 3.0.0
info:
  title: eth_blockNumber example
  version: 1.0.0
  description: >-
    This is an API example for eth_blockNumber, a method to get the current
    block number on the TRON network through Ethereum-compatible JSON-RPC
    interface.
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/jsonrpc:
    post:
      tags:
        - TRON JSON-RPC Operations
      summary: eth_blockNumber
      operationId: blockNumber
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_blockNumber
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default: []
                  items: {}
      responses:
        '200':
          description: Current block number in hexadecimal format
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    description: The current block number encoded as hexadecimal.

````