Optimism
Optimism
Optimism
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
txpool_inspect returns a human-readable text summary of every pending and queued transaction sitting in an OP Mainnet node's transaction pool — the OP Stack rollup that settles to Ethereum L1 and uses ETH for gas. The response is organised by sender address and then by nonce, with each entry rendered as a short string showing recipient, value in wei, and gas. Send the call to https://optimism.therpc.io/YOUR_API_KEY (chain ID 10, 0xa) to get an at-a-glance view of what is waiting to be included by the sequencer.
Este método no acepta parámetros. Pasa un array vacío [].
| Tipo | Descripción |
|---|---|
| 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 Optimism playground.
| Código | Mensaje | Causa |
|---|---|---|
-32601 | method not found | The node does not support the txpool namespace (e.g. non-Geth clients may omit it). |
txpool namespace and is only served by Geth-compatible clients (op-geth); other OP Stack execution clients may not expose it, returning a "method not found" error.txpool_content instead.txpool_status counts.