Transaction Diagram Components
This post demonstrates the transaction diagram components at various levels of complexity.
Simple Transfer
The simplest case: one transaction consuming a UTXO and producing two new ones.
Two-Transaction Chain
An output from the first transaction feeds into the second. The wire connects them.
DEX Swap with Reference Input
A swap transaction that references the pool state without consuming it. The pool UTXO is read-only.
Multi-Step DeFi Flow
A longer chain: provide liquidity, swap against the pool, then withdraw.
Minting with a Validator
A transaction that mints tokens using a minting policy, with a reference input for the policy script.
Detail Levels
The same transaction at different detail levels. Use detail prop on <Flow> to control.
Full Detail
Compact
Minimal
Governance Vote
A transaction that registers a vote using a DRep certificate.
