receipt-parse
A CLI tool to fetch and decode any on-chain transaction into a human-readable report.
Usage
The primary command is parse
, which takes a transaction hash as input. The tool will automatically attempt to find the transaction on major EVM networks.
Basic Parsing
By default, the tool provides a high-level summary of the transaction, including the function called and any events emitted.
# Auto-detects the network and fetches the transaction
receipt-parse 0x2f3ba1e2...
Execution Trace (Pro Feature)
For a deep analysis, Pro users can add the --trace
flag. This provides a full execution trace of all internal calls, a gas profile, and state changes if using a local Anvil node.
# Get the full trace for a mainnet transaction
receipt-parse 0x2f3ba1e2... --rpc-url $MAINNET_RPC --trace
Options
<TX_HASH>
: The transaction hash to parse. (Required)--rpc-url <URL>
: Specify an RPC URL to use instead of auto-detection. Required for the--trace
feature on public networks.--abi-path <PATH>
: Provide a local path to a JSON ABI file for decoding transactions involving unverified contracts.--trace
: (Pro Feature) Generates a human-readable execution trace, gas profile, and state diff.