txpool
txpool_inspect
Returns a summarized view of all transactions in the pool. Similar to txpool_content but with each transaction represented as a compact string instead of a full object.
Returns a summarized view of all transactions in the pool. Similar to txpool_content but with each transaction represented as a compact string instead of a full object.
Parameters
| # | Type | Description |
|---|---|---|
| — | — | No parameters required. |
Returns
| Field | Type | Description |
|---|---|---|
pending | object | Map of sender addresses to maps of nonces to summary strings. |
queued | object | Map of sender addresses to maps of nonces to summary strings. |
Each transaction is summarized as: "to: value wei + gas x gasPrice".
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "txpool_inspect",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"pending": {
"0x0001020304050607080910111213141516171819": {
"42": "0xRecipientAddress: 1000000000000000000 wei + 21000 gas x 1000000000 wei"
}
},
"queued": {}
}
}
TRY IT
Notes
- This is a lighter alternative to
txpool_contentsince it returns summary strings instead of full transaction objects. - The summary format shows the recipient, value in wei, gas limit, and gas price.
- Still potentially large if the pool contains many transactions.
txpool_content
Returns the full contents of the transaction pool, grouped by sender address and nonce. Includes complete transaction objects for both pending and queued transactions.
debug_traceTransaction
Replays a transaction and returns a detailed execution trace. Supports multiple tracer types for different levels of detail.
