txpool_content
The txpool_content method returns the full content of the transaction pool including pending and queued transactions on the Optimism network. This method provides detailed information about all transactions waiting to be mined, showing complete transaction objects organized by sender address and nonce. It's valuable for analyzing mempool contents, monitoring transaction activity, and building MEV (Maximal Extractable Value) applications.
Parameters
This method does not require any parameters.
Return Object
Returns pending and queued transactions organized by address and nonce. Each transaction includes complete details such as from, to, value, gas, gasPrice, and nonce.
Request Example
Request
Response Example
Response