Arbitrum One
Ready to call this in production?
Free tier covers personal projects. Pay-as-you-go scales without a card.
Arbitrum One
Free tier covers personal projects. Pay-as-you-go scales without a card.
eth_newPendingTransactionFilter creates a server-side filter on Arbitrum One for incoming pending transactions and returns a hex filter ID. Polling that ID with eth_getFilterChanges yields the hashes of transactions that have entered the node's pending set since your last poll. On Arbitrum One — the ETH-fee Optimistic Rollup on Nitro/ArbOS — a single sequencer orders transactions rather than a public peer-to-peer mempool, so the pending window is brief: the sequencer's sub-second soft confirmations mean a transaction usually moves from pending to mined very quickly. The endpoint is https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161, 0xa4b1).
from and react before it is mined.This method takes no parameters. Pass an empty array [].
| Type | Description |
|---|---|
| string | Hex filter ID. When polled with eth_getFilterChanges, yields an array of new pending transaction hashes since the last poll. |
Try it live in the Arbitrum One playground.
| Code | Message | Cause |
|---|---|---|
-32000 | filter not found | Provider rejected filter creation or the filter limit was reached. |
eth_getTransactionByHash for each one to read sender, value, and gas fields.eth_getTransactionReceipt to confirm inclusion.eth_subscribe over WebSocket instead of repeated polling.