Ethereum
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Ethereum
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
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.Cette méthode ne prend aucun paramètre. Passez un tableau vide [].
| Type | Description |
|---|---|
| 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.
| Code | Message | Cause |
|---|---|---|
-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.