Skip to content

eth_newPendingTransactionFilter ​

served · same as reth

Creates a filter for new pool transactions and returns its ID. Poll it with eth_getFilterChanges.

When to use ​

Use it to learn about new pool transactions over HTTP. Over a WebSocket, eth_subscribe with newPendingTransactions is simpler.

Example ​

bash
curl -s -X POST -H 'Content-Type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_newPendingTransactionFilter", "params": []}' \
  http://127.0.0.1:8547
json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_newPendingTransactionFilter",
  "params": []
}

Response ​

Live mainnet, 2026-10-14. Checked against reth 2.7: equal.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x2b6d9d81e4233d41814d0b64696c7287"
}

The filter id is random. The answer changes with time, so it is compared by shape (keys and types; for a list, its first item), not by value.

Full response

Parameters ​

None.

Returns ​

The filter ID, 16 random bytes as hex.

Notes and limits ​

  • Each poll returns the hashes of the transactions that the pool admitted since the last poll, at most 4 096 for each poll.
  • Only engine mode has a pool. In serve mode, the method gives -32601.
  • The node keeps at most 1 024 filters (256 for one client), and a filter expires 5 minutes after its last poll.

Errors ​

CodeMessageWhen
-32601Method not foundThe node runs in serve mode, without a pool.
-32603too many filtersThe client already has 256 filters.

Compared with reth ​

The live example above gives the same answer on Cinder and on reth 2.7.

eth_getFilterChanges, eth_subscribe.

Schema (OpenRPC) ​

The official specification: eth_newPendingTransactionFilter in ethereum/execution-apis.

Result: string
json
{
  "pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
  "title": "hex encoded unsigned integer",
  "type": "string"
}