Skip to main content

Analyze a confirmed transaction

Get a full analysis of any mainnet transaction:
Output includes:
  • Compute units used
  • CPI call tree (cross-program invocations)
  • Account state diffs
  • AI-generated optimization suggestions (if configured)
  • Rule-based insights

Output formats

Full analysis as JSON

Pipe into jq, save to file, process programmatically:

CSV report

Save structured data for spreadsheets or databases:

Batch processing

Analyze multiple transactions from a JSON file:
Before running batch commands, you’ll need a signatures.json file. The repo ships with a sample at the root. If you installed only via npm/curl, grab it:
Schema: { "network": "mainnet", "signatures": ["...", "..."] }

Simulate unsigned transactions

Test transactions without on-chain confirmation:

From a base64 blob

From a file

From source code

Runs npx -y tsx build_tx.ts and uses the last base64 output line.
By default, opendev simulate executes user-provided scripts. Pass --no-exec if you want to refuse source-file input (useful in CI).

Get program info

See which programs are supported and decoder coverage:
Shows:
  • Registered programs
  • Decoder availability
  • Coverage status

Next steps

CLI Commands

Complete reference for all commands and options

CLI Flags

All available flags with descriptions and defaults

Source-file runners

In-depth guide for running TypeScript, Rust, and JS

AI Insights

Set up AI-powered optimization suggestions