> ## 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_newBlockFilter | TRON

> TRON API method that creates a filter object for new block notifications. This method provides Ethereum-compatible interface for TRON blockchain.

TRON API method that creates a filter object for receiving new block notifications, providing an Ethereum-compatible interface for monitoring TRON blockchain blocks.

## Parameters

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

## Response

* `jsonrpc` — the JSON-RPC protocol version ("2.0")
* `id` — the request identifier that matches the request
* `result` — a filter ID (hex-encoded string) for use with other filter methods

## Use case

The `jsonrpc eth_newBlockFilter` method is used for:

* Creating filter objects to receive notifications about new blocks as they are mined
* Building real-time blockchain monitoring applications through Web3 interfaces
* Implementing block-based event systems for dApps that need to react to new blocks
* Setting up efficient polling mechanisms for blockchain synchronization and data processing


## OpenAPI

````yaml openapi/tron_node_api/jsonrpc_eth_newBlockFilter.json POST /95e61622bf6a8af293978377718e3b77/jsonrpc
openapi: 3.0.0
info:
  title: eth_newBlockFilter example
  version: 1.0.0
  description: >-
    This is an API example for eth_newBlockFilter, a method to create a filter
    object for new block notifications 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_newBlockFilter
      operationId: newBlockFilter
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_newBlockFilter
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default: []
                  items: {}
                  description: Empty array - no parameters required
      responses:
        '200':
          description: Filter ID for use with other filter methods
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    description: >-
                      A filter ID (hex-encoded string) for use with other filter
                      methods

````