Skip to main content

Prerequisites

  • Rust development environment
  • A raw transaction hex from your DApp

Install the parser CLI

Parse your first transaction

Run the parser with a transaction from your DApp:
Replace ethereum with your chain (solana, sui, or tron) and <your_transaction_hex> with your actual transaction data.

Example: Ethereum Transfer

Output:

Example: Solana Transaction

Test hardware wallet view

Users on hardware wallets see a condensed view. Test what they’ll see:
This shows only the essential information that fits on small screens.

Get JSON output

For programmatic analysis or integration testing:
Use jq to extract specific fields:

What to check

When reviewing your transaction’s visualization:
  1. Accuracy - Do amounts, addresses, and parameters match your transaction?
  2. Clarity - Can a non-technical user understand what will happen?
  3. Completeness - Are all important details visible?
  4. Condensed view - Does the hardware wallet view show critical information?

Common issues

Transaction fails to parse

Verify the chain flag matches your transaction and that the hex is properly formatted.

Missing protocol details

The parser may not recognize your specific contract. You can contribute a visualization for your protocol.

Amounts display incorrectly

Check that your transaction encodes token decimals correctly. The parser uses on-chain standards for decimal handling.

Next steps