PROTOCOL · DESIGN GUIDE
Transaction structure
Separate the action, its context and its authorization. Learn which fields bind an intent before it can become a ledger operation.
An envelope around a typed action
Chain · Type · Version · Replay scope
Inputs · Recipient outputs · Amounts · References
Payer · Authorized fees · Validity bounds
Descriptor-bound signatures and required evidence
Conceptual envelope, not a binary layout. Exact field encodings and signing exclusions remain specification work.
- 01Context
Version, chain, transaction type, replay scope and validity bounds identify the operation.
- 02Payload
Object references, outputs, amounts and relevant policy references describe the action.
- 03Authorization
Witnesses demonstrate that the required descriptor conditions are met.
- 04Bounded extensions
Only extensions explicitly permitted by the format rules can carry additional data.
Read the common field groups
These labels describe the source specification. Field widths, type codes, units, presence rules and the exact binary grammar are not finalized here. Do not serialize this table as JSON and treat it as a network transaction.
| Source field label | Meaning |
|---|---|
| tx_version / tx_type | Select the format and operation semantics |
| chain_id | Bind the operation to the intended chain |
| nonce_or_sequence | Provide replay control within the defined authorization scope |
| valid_after / valid_until | Bound eligibility where the transaction type supports these fields |
| fee_mode / fee_fields | Identify the payer and authorized fee terms |
| payload | Carry the exact typed operation |
| witness | Carry the required authorization evidence |
Different actions have different rules
A transfer consumes or references value and defines outputs. An asset operation must also establish the applicable issuer or asset authority. A registry update changes persistent state under its own control rules.
Escrow funding, dispute, counter-dispute and settlement are distinct actions in the agreed payment profile. Their integration into the canonical transaction family still needs exact schemas. An invoice reference remains optional; it is business context, not spending authority.
Signing hash and transaction ID
The witness specification recommends deriving the transaction ID from the full canonical transaction, including authorization. Its signing message has a separately defined scope. A wallet must not assume the hash it signs is identical to the final transaction ID.
If witness bytes change, the full-transaction identifier may change. Exact hashing, signature exclusions and canonical ordering must be fixed together before software can depend on them.
| Identifier | Responsibility |
|---|---|
| Signing hash | Domain-separated commitment to the canonical message that a signer authorizes |
| Transaction ID | Stable identifier used by blocks, receipts and proof targets |
| Optional intent ID | Potential wallet correlation aid; not a substitute for the transaction ID |
Prevent reuse in the wrong context
Expiry limits whether a transaction can be accepted. It does not undo a transaction that has already settled. A transfer validity bound and an escrow’s release deadline have different purposes.
- Bind signatures to the chain, transaction type and relevant format.
- Bind nonce or sequence to its defined descriptor, account or object scope.
- Reject already consumed inputs and stale object revisions.
- Enforce validity bounds using the protocol’s agreed clock or height semantics.
- Do not assume replacement or cancellation exists merely because a wallet can resubmit.
One meaning, one canonical encoding
Consensus needs fixed field order, unambiguous integers, one representation of optional values, bounded lengths and explicit extension rules. Human-readable JSON may be useful for inspection, but it does not define the consensus bytes.
Unknown consensus fields must be rejected unless an explicit format rule permits them. Exact signing and serialization test vectors remain a prerequisite for a runnable developer reference.
Invalid input and execution outcomes
The witness specification’s initial direction rejects invalid transactions before inclusion. The broader block and ledger sources discuss failure receipts or rollback for supported execution classes. These descriptions are not yet one universal failure model.
A node reference must resolve which failures reject a whole proposal, which outcomes may be recorded, and whether fees are charged in each case. This documentation does not promise a fee-free failure or an included failure receipt for every transaction type.