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_inspect returns a human-readable text summary of every pending and queued transaction held in the node's transaction pool, organised by sender address and then by nonce. Each entry condenses to a one-line string like "<to>: <value> wei + <gas> gas × <gasPrice> wei", so you can scan the pool at a glance instead of parsing full transaction objects. On Arbitrum One (chain ID 42161) — the Optimistic Rollup that settles to Ethereum and prices gas in ETH — transactions flow through the sequencer rather than a public mempool, so what a node exposes here depends on its configuration. Call it with no parameters against https://arbitrum.therpc.io/YOUR_API_KEY.
Este método não aceita parâmetros. Passe um array vazio [].
| Tipo | Descrição |
|---|---|
| object | Object with `pending` and `queued` keys. Each is a map of sender address → nonce → human-readable string `"<to>: <value> wei + <gas> gas × <gasPrice> wei"`. |
Try it live in the Arbitrum One playground.
| Código | Mensagem | Causa |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace (e.g. non-Geth clients may omit it). |
txpool namespace is only exposed by Geth-compatible nodes and is not part of every Arbitrum One client build; a node that omits it answers with a "method not found" error.txpool_content when you need full transaction objects you can read field by field.txpool_status for pending/queued counts instead of pulling the whole inspection dump.