---
updatedAt: 2025-09-18T22:04:53.000Z
agentTools:
  projectIndex: https://docs.nodereal.io/llms.txt
---

# eth_newPendingTransactionFilter

Creates a filter in the node, to notify when new pending transactions arrive. To check if the state has changed, call eth_getFilterChanges.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "eth_newPendingTransactionFilter",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://eth-mainnet.nodereal.io/v1"
    }
  ],
  "paths": {
    "/{apiKey}": {
      "post": {
        "summary": "eth_newPendingTransactionFilter",
        "description": "Creates a filter in the node, to notify when new pending transactions arrive. To check if the state has changed, call eth_getFilterChanges.",
        "tags": [],
        "parameters": [
          {
            "name": "apiKey",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "1659dfb40aa24bbb8153a677b98064d7"
            },
            "required": true
          }
        ],
        "requestBody": {
          "description": "Accepts nothing.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "default": 1
                      },
                      "jsonrpc": {
                        "type": "string",
                        "default": "2.0"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "method": {
                        "type": "string",
                        "default": "eth_newPendingTransactionFilter",
                        "enum": [
                          "eth_newPendingTransactionFilter"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns a filter id.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "jsonrpc": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "result": {
                          "type": "string"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "eth-newPendingTransactionFilter"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```