Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
txpool_status returns the count of pending and queued transactions in the node's transaction pool as two hex-encoded integers, pending and queued. It is the lightweight counterpart to txpool_inspect: instead of dumping every transaction, it gives you just the totals. On Arbitrum One (chain ID 42161) — the Optimistic Rollup that settles to Ethereum and meters gas in ETH — these counts reflect what the node currently holds in its pool, where pending transactions are ready for inclusion and queued ones are waiting on a nonce gap or other condition. Call it with no parameters at https://arbitrum.therpc.io/YOUR_API_KEY and convert the hex values to decimal for display.
هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| object | Object with `pending` (hex string) and `queued` (hex string) transaction counts. |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace. |
txpool namespace is only exposed by Geth-compatible nodes, so a node that does not implement it returns a "method not found" error rather than a count.