Expand description
§Transaction Analysis Command
This module implements the scope tx command for analyzing
blockchain transactions. It decodes transaction data, traces
execution, and displays detailed transaction information.
§Usage
# Basic transaction analysis
scope tx 0xabc123...
# Specify chain
scope tx 0xabc123... --chain polygon
# Include internal transactions
scope tx 0xabc123... --traceStructs§
- Block
Info - Block information for a transaction.
- Decoded
Input - Decoded transaction input.
- Decoded
Parameter - A decoded function parameter.
- GasInfo
- Gas usage information.
- Internal
Transaction - An internal transaction (trace result).
- Transaction
Details - Detailed transaction information.
- Transaction
Report - Result of a transaction analysis.
- TxArgs
- Arguments for the transaction analysis command.
Functions§
- fetch_
transaction_ report - Fetches and builds a transaction report for programmatic use.
- format_
tx_ markdown - Formats a transaction report as markdown for agent consumption. Exposed for use by insights and report generation.
- run
- Executes the transaction analysis command.