Transaction
A signed instruction broadcast to a blockchain that transfers value or invokes smart-contract code. Once included in a block and confirmed, transactions become a permanent part of the chain’s history.
Anatomy of a transaction
Typical components:
- Sender address — origin.
- Recipient address — destination.
- Amount — value transferred.
- Gas / fee — payment to validators/miners.
- Nonce — sequence number.
- Data field — for smart contract calls.
- Signature — cryptographic proof of authorization from sender.
The signature uses the sender's private key; other parties can verify with the public key.
Transaction lifecycle
The standard flow:
- Construction — wallet builds transaction with required parameters.
- Signing — private key produces signature.
- Broadcast — submit to network nodes.
- Mempool — pending transactions awaiting inclusion.
- Inclusion — validator includes in block.
- Confirmation — block added to chain.
- Finality — sufficient confirmations make reversal infeasible.
Different chains have different finality times.
Gas and fees
Why fees exist:
- Compensate validators for inclusion.
- Prevent spam — every action costs something.
- Priority — higher fees get included faster.
- Variable based on demand — congested networks have high fees.
Fee mechanisms differ by chain (auction, fixed, EIP-1559 base+priority).
Failed transactions
Several failure modes:
- Out of gas — execution exceeded gas limit.
- Reverted — contract logic rejected.
- Insufficient balance — sender lacks funds.
- Nonce error — wrong sequence.
- Failed transactions still pay gas — for the work done up to failure.
Understanding why transactions fail helps debugging.
Transaction privacy
Standard properties:
- Public on-chain — sender, recipient, amount visible to all.
- Pseudonymous — addresses, not legal identities.
- Permanent — no deletion or modification.
- Linkable — analysis can connect addresses to identities.
Privacy coins and zero-knowledge solutions add privacy.
Transaction risks
Common pitfalls:
- Wrong address — transactions are irreversible.
- High fees during congestion.
- MEV — transaction ordering may be manipulated.
- Phishing approvals — malicious transactions disguised as legitimate.
Caution required for every transaction.
What individuals should know
For all crypto users:
- Verify recipient address carefully — irreversible.
- Understand gas costs before sending.
- Wait for confirmations for important transactions.
- Review transaction details before signing — especially for smart-contract interactions.
Transactions are the fundamental units of blockchain activity. Understanding how they work, what fees mean, and how to verify them is essential to safe crypto use.