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

> Base API method eth_newBlockFilter creates a new filter object that notifies subscribers when a new block is added to the blockchain.

Base API method `eth_newBlockFilter` creates a new filter object that notifies subscribers when a new block is added to the blockchain. This method is particularly useful for applications that need to stay updated with the latest blocks for processing or monitoring purposes.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

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

## Response

* `result` — the ID of the created filter. This ID is used to identify the filter in subsequent calls to methods like `eth_getFilterChanges` or `eth_getFilterLogs` to retrieve updates about new blocks.

## Use case

The `eth_newBlockFilter` method is essential for:

* Applications that perform actions triggered by the addition of new blocks, such as updating a user interface with the latest transactions or block information.
* Services that monitor the blockchain for security or analytical purposes, needing real-time data on block additions.
* Wallets and exchanges that track new blocks to confirm transactions.


## OpenAPI

````yaml /openapi/base_node_api/eth_newBlockFilter.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
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 new
    filter object that notifies when a  new block is added to the blockchain.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_newBlockFilter
      operationId: newBlockFilter
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_newBlockFilter
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: The ID of the created block filter
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````