Term

Transaction

The fundamental unit of data exchange on a blockchain, representing transfers of cryptocurrency or executions of smart contracts.

Type:
blockchain
technical
basics
1
concept

In blockchain systems, a transaction is a fundamental unit of data exchange that represents a transfer of value or information. Each transaction is cryptographically signed by the sender, broadcast to the network, verified by nodes, and eventually included in a block as part of the blockchain's permanent ledger.

Example 1.1

"When Alice sends 0.1 BTC to Bob, she creates a transaction that includes the amount, Bob's address, transaction fees, and a digital signature proving she controls the sending address."

5
models

Blockchains use different accounting models:

  • UTXO (e.g., Bitcoin, Bitcoin Cash): Inputs fully spend previous outputs; wallets construct change outputs. This model enables parallel validation and simpler pruning.
  • Account-based (e.g., Ethereum): Balances live in account state; transactions modify balances and may execute contract code.
Example 5.1

"In UTXO, sending 0.8 BCH from a 1.0 BCH UTXO typically creates two outputs: 0.8 BCH to the recipient and 0.2 BCH change back to the sender."

6
malleability

Historically, transaction malleability allowed a transaction's ID (TXID) to change before confirmation if certain parts were modified (e.g., signature encoding). Upgrades like SegWit on BTC reduced common malleability vectors. For commerce, 0‑conf acceptance should consider risks like double-spends and RBF policies on specific networks.

Example 6.1

"A merchant tracking payments by TXID could lose track if the ID changes pre-confirmation; modern best practice is to track by outputs and confirmation status."

2
structure

Transactions have different structures depending on the blockchain, but generally include:

Inputs: References to previous transactions that provide the funds being spent (in UTXO models) Outputs: The addresses receiving funds and their amounts Digital Signature: Cryptographic proof that the transaction creator controls the sending address Transaction Fee: Payment to miners/validators for processing the transaction Additional Data: Optional fields like timestamps, smart contract code, or memos

Example 2.1

"In a Bitcoin transaction with multiple recipients, the outputs section lists each recipient address along with the specific amount they'll receive, while a change output returns any remaining balance to the sender."

3
lifecycle

A transaction typically goes through several stages:

  1. Creation: A user creates and signs a transaction using their wallet
  2. Broadcast: The transaction is sent to the peer-to-peer network
  3. Mempool: The transaction waits in nodes' mempools to be selected for inclusion in a block
  4. Confirmation: Miners/validators include the transaction in a block
  5. Additional Confirmations: More blocks are added on top, increasing security
  6. Finality: After sufficient confirmations, the transaction is considered irreversible
Example 3.1

"After John sent the transaction, it remained in the mempool for 15 minutes before receiving its first confirmation. Most exchanges require 3-6 confirmations before considering Bitcoin transactions final."

4
types

Different blockchains support various transaction types:

Simple Value Transfers: Basic movement of cryptocurrency between addresses Smart Contract Interactions: Executing code on platforms like Ethereum Token Transfers: Moving tokens that exist on top of a base blockchain Multi-signature Transactions: Requiring approval from multiple private keys Time-locked Transactions: Only valid after or before specific times Data Storage: Including small amounts of arbitrary data in the blockchain

Example 4.1

"While Bitcoin primarily supports value transfer transactions, Ethereum transactions can include complex smart contract interactions, such as swapping tokens on decentralized exchanges or minting NFTs."

All terms and definitions may update as the Cryptionary improves.