Query Transaction
Decodes transaction data including traces, logs, and balance changes.Returns
- Decoded calldata and function calls
- Parsed event logs with parameters
- Token/ETH balance changes
- Internal transaction traces
- All contracts and addresses involved
Example Queries
Parameters
Understanding Transaction Components
Balance Changes
Shows all token/ETH movements:Balance amounts are already decimal-adjusted (human-readable). No need to divide by decimals.
Traces
Internal calls within the transaction:Event Logs
Decoded events emitted:Basic Decode
Filtered Results
balanceQuery to filter balance changes.
DeFi Transactions
Real-World Examples
Example 1: Simple Token Transfer
Example 2: Complex DeFi Transaction
Example 3: Failed Transaction
Filtering Options
Balance Query Examples
Trace/Log Query Examples
Full Data Mode
SetreturnAllData: true for complete output:
- All balance changes (unfiltered)
- Complete trace tree
- All decoded logs
- Raw data (if
includeRawData: true)
Tips
Common Questions
What if the transaction failed?
What if the transaction failed?
Claude will explain why it failed, show what it tried to do, and how much gas was wasted.
Can I see pending transactions?
Can I see pending transactions?
No, only confirmed (mined) transactions can be analyzed.
What about internal transactions?
What about internal transactions?
Yes! The traces show all internal calls, even those not visible on basic block explorers.
Next Steps
Latest Transactions
Find recent transactions by function/event
Transaction Activity
Get transaction history for an address

