Base
Base
Base
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
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.此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| object | Object with `pending` (hex string) and `queued` (hex string) transaction counts. |
Try it live in the Base playground.
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-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."