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.
txpool_status returns the count of pending and queued transactions in the node's transaction pool as two hex-encoded integers, pending and queued. It is the lightweight counterpart to txpool_inspect: instead of dumping every transaction, it gives you just the totals. On Arbitrum One (chain ID 42161) — the Optimistic Rollup that settles to Ethereum and meters gas in ETH — these counts reflect what the node currently holds in its pool, where pending transactions are ready for inclusion and queued ones are waiting on a nonce gap or other condition. Call it with no parameters at https://arbitrum.therpc.io/YOUR_API_KEY and convert the hex values to decimal for display.
Este método no acepta parámetros. Pasa un array vacío [].
| Tipo | Descripción |
|---|---|
| object | Object with `pending` (hex string) and `queued` (hex string) transaction counts. |
Try it live in the Arbitrum One playground.
| Código | Mensaje | Causa |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace. |
txpool namespace is only exposed by Geth-compatible nodes, so a node that does not implement it returns a "method not found" error rather than a count.