> ## 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_newPendingTransactionFilter | Tempo

> Tempo API method that creates a filter for pending transactions in the node's transaction pool. Use eth_getFilterChanges to poll for new pending transactions.

Tempo API method that creates a filter for pending transactions in the node's transaction pool. Use [`eth_getFilterChanges`](/reference/tempo-eth-getfilterchanges) to poll for new pending transactions.

## Parameters

* `none`

## Response

* `result` — a filter ID to be used with [`eth_getFilterChanges`](/reference/tempo-eth-getfilterchanges) to poll for pending transactions.

## `eth_newPendingTransactionFilter` code examples

<CodeGroup>
  ```bash cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_newPendingTransactionFilter", "params": [], "id": 1}'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/tempo_node_api/filter_handling/eth_newPendingTransactionFilter.json POST /
openapi: 3.0.0
info:
  title: eth_newPendingTransactionFilter Tempo example
  version: 1.0.0
  description: This is an API example for eth_newPendingTransactionFilter for Tempo.
servers:
  - url: https://tempo-mainnet.core.chainstack.com/c3ce2925b51f1ed18719fe8a23bbdccf
security: []
paths:
  /:
    post:
      tags:
        - Filter handling
      summary: eth_newPendingTransactionFilter
      operationId: tempo-eth-newPendingTransactionFilter
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_newPendingTransactionFilter
                params:
                  type: array
                  items: {}
                  default: []
                  description: Method parameters
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    description: Method result

````