Base
Base
Base
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
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).此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| 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.
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-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.