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

> Ronin API method that creates a new filter in the node. This filter allows applications to receive notifications when new blocks are added to the blockchain.

Ronin API method that creates a new filter in the node. This filter allows applications to receive notifications when new blocks are added to the blockchain. Once the filter is created, the application can periodically use `eth_getFilterChanges` to get an array of block hashes of the latest blocks.

## Parameters

* `none` — This method does not require any parameters.

## Response

* `result` — the filter identifier (`filterId`) as a hexadecimal string. This ID is used to query the filter changes or to uninstall the filter.

## Use case

The `eth_newBlockFilter` method is particularly useful for applications that need to stay synchronized with the latest state of the blockchain, such as wallets, block explorers, or decentralized applications (DApps) that react to new blocks. It provides a more efficient way to monitor the blockchain for new blocks compared to polling the latest block number.


## OpenAPI

````yaml openapi/ronin_node_api/eth_newBlockFilter.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_newBlockFilter
  version: 1.0.0
  description: Creates a filter in the node, to notify when a new block arrives.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Create a new block filter
      operationId: newBlockFilter
      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_newBlockFilter
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: The filter ID for the new block filter
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````