Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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 não aceita parâmetros. Passe um array vazio [].
| Tipo | Descrição |
|---|---|
| object | Object with `pending` (hex string) and `queued` (hex string) transaction counts. |
Try it live in the Arbitrum One playground.
| Código | Mensagem | 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.