Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.
هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| 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.
| الكود | الرسالة | السبب |
|---|---|---|
-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.