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_status returns the number of pending and queued transactions in a Base node's transaction pool, both as hex-encoded integers. Pending transactions are ready for inclusion in the next block; queued ones are waiting behind a nonce gap. Base is Coinbase's OP Stack optimistic rollup that settles to Ethereum and uses ETH for gas, where transactions queue in the sequencer's pool before being ordered into ~2-second blocks — so these two counts are a cheap read on how deep the current backlog is. Query it at https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105).
pending and queued hex counts to decimals at a regular interval.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 Base playground.
| Código | Mensagem | Causa |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace. |
txpool_status is part of the txpool namespace exposed only by Geth-compatible Base clients; other implementations return "method not found."