txpool_inspect
The txpool_inspect method returns a summary of the transaction pool in a human-readable format on the Optimism network. Unlike txpool_content which returns full transaction objects, this method provides a compact textual summary showing transaction addresses, values, and gas parameters. It's useful for quickly inspecting the mempool state without the overhead of full transaction details, ideal for monitoring and debugging purposes.
Parameters
This method does not require any parameters.
Return Object
Returns a textual summary of pending and queued transactions. Each entry shows the recipient address, ether value, gas amount, and gas price in a readable format.
Request Example
Request
Response Example
Response