txpool_inspect
Returns a text summary of every transaction in the node’s transaction pool, pending and queued, for quick inspection.
Geth reference · All supported methods
Parameters
No parameters. Send an empty params array.
Return value
An object with pending and queued fields. Each maps a sender address to one-line summaries of its transactions, keyed by nonce.
Example
Replace <gateway-url> with your gateway base URL and <service-url> with the chain’s service path, such as service/ethereum.
sh
curl -X POST "<gateway-url>/<service-url>" \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1,"method":"txpool_inspect","params":[]}'Illustrative response; values depend on the selected network and request:
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"pending": {
"0xc94770007dda54cF92009BFF0dE90c06F603a09f": {
"7": "0xd46e8dd67c5d32be8058bb8eb970870f07244567: 2441406250 wei + 21000 gas × 10000000000 wei"
}
},
"queued": {}
}
}