Base
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.
Base
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 sitting in a Base node's transaction pool, organised by sender address and nonce. Each entry collapses to a short string showing the recipient, value, and gas, which makes it easy to scan the mempool by eye. Base is Coinbase's OP Stack optimistic rollup that settles to Ethereum and meters gas in ETH; transactions flow into the sequencer's pool before being ordered into the ~2-second blocks, and this method gives you a snapshot of that waiting set. Call it at https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105).
pending (next to be included) or queued (blocked behind a nonce gap).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 Base 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_inspect lives in the txpool namespace, which only Geth-compatible Base clients expose; on other implementations the call returns "method not found."txpool_content instead of trying to parse these summary strings.txpool_status, which returns lightweight pending/queued counts.