Arbitrum One
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Arbitrum One
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
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.Este método no acepta parámetros. Pasa un array vacío [].
| Tipo | Descripción |
|---|---|
| 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.
| Código | Mensaje | Causa |
|---|---|---|
-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.