Ethereum
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Ethereum
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
txpool_inspect opens a window onto an Ethereum node's mempool — the staging area where transactions wait before a validator includes them in a block. It belongs to Geth's txpool namespace and returns a human-readable text summary of everything the node is currently holding, split into pending (ready to be mined at the sender's current nonce) and queued (waiting on an earlier nonce or other gap). The output is keyed by sender address and then by nonce, with each entry condensed to a one-line string showing the recipient, the ETH value in wei, and the gas. Call it on mainnet (chain ID 1) at https://ethereum.therpc.io/YOUR_API_KEY when you need a quick eyeball view of what is sitting in the pool right now.
pending or stranded in queued behind a missing nonce.هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| 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 Ethereum playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace (e.g. non-Geth clients may omit it). |
txpool namespace. Nodes running other clients, or Geth instances that have not enabled the namespace, will answer method not found, so do not assume it is universally available.txpool_content instead.txpool_status gives you the counts at a fraction of the payload size.