The Wayback Machine - https://web.archive.org/web/20240731003727/https://www.geeksforgeeks.org/blockchain-transaction-life-cycle/
Open In App

Blockchain Transaction Life-cycle

Last Updated : 11 May, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

Blockchain technology is mostly about the transactions that we make digitally for ourselves. Eventually, these transactions make their way to the various blocks that become part of the Blockchain later on. So, it is important to understand the transaction life cycle in Blockchain technology.

This lifecycle follows the journey of a single transaction as it makes its way through each stage in the process of joining the blockchain. Transaction in simple words is the process of sending money by the sender and the receiver receiving it. The Blockchain transaction is also quite similar, but it is made digitally.

Let us understand the various stages in a blockchain transaction life cycle with the help of an example.
Sourav and Suraj are two Bitcoin users. Sourav wants to send 1 bitcoin to Suraj.

  1. First, Sourav gets Suraj’s wallet address (a wallet in the blockchain is a digital wallet that allows users to manage their transactions). Using this information, he creates a new transaction for 1 bitcoins from his wallet and includes a transaction fee of 0.003 bitcoin.
  2. Next, he verifies the information and sends the transaction. Each transaction that is initiated is signed by a digital signature of the sender that is basically the private key of the sender. This is done in order to make the transaction more secure and to prevent any fraud.
  3. Sourav’s wallet then starts the transaction signing algorithm which signs his transaction using his private key.
  4. The transaction is now broadcasted to the memory pool within the network.
  5. This transaction is eventually accepted by the miners. These miners, group this transaction into a block, find the Proof of Work, and assign this block a hash value to be mapped into the blockchain.
  6. This block is now placed on the Blockchain.
  7. As this block gains confirmation, it is accepted as a valid transaction in the network.
  8. Once this transaction is accepted, Suraj finally gets his bitcoin.

The below diagram is a pictorial representation of the various stages in a transaction life cycle as discussed above.

Transaction life-cycle in Blockchain


Previous Article
Next Article

Similar Reads

Life Cycle of Smart Contract
The life cycle of Smart Contracts in the Blockchain Ecosystem involves four Stages. Unlike a blockchain's lifecycle that begins with defining the issue, you want to solve with your blockchain product and ends with a blockchain that resolves the issue, a smart contract on the blockchain undergoes different phases. These four phases are the formation
4 min read
Software paradigm and Software Development Life Cycle (SDLC)
Software paradigm refers to method and steps, which are taken while designing the software. Programming paradigm is a subset of software design paradigm which is future for other a subset of software development paradigm. Software is considered to be a collection of executable programming code, associated libraries, and documentation. Software deve
9 min read
What is Coinbase Transaction?
All transactions that take place on the cryptocurrency network are not the result of payment between two people. Some transactions are a little bit different. The first transaction that took place was in Bitcoin. It was a special transaction that formatted reward transactions for miners inside the Genesis block (the very first block of a blockchain
5 min read
How Bitcoin Transaction Works?
Bitcoin is basically a digital currency that is currently used as a form of payment. Bitcoin is a cryptocurrency and the transactions related to bitcoins take place in the blockchain network. Every bitcoin is stored in a virtual wallet and transaction involves the transfer of bitcoin from one wallet to another. Bitcoins can be sent from peer to pee
6 min read
What is Unspent Transaction Output (UTXO)?
Blockchain is a digital, decentralized, distributed ledger. Blockchain utilizes a P2P (Peer to Peer) network, where participants present on the network are called nodes. The ledger stores data about transactions. It is a chain of blocks, where its most significant feature is that blocks are cryptographically linked together. Cryptographically Linke
8 min read
How to Check Your Ethereum Transaction?
Ethereum is a decentralized network that offers users the ability to store and exchange tokens called Ether. If one wants to buy, sell or trade ETH, an Ethereum wallet is needed.Ethereum transactions are different from Bitcoin transactions in that they are much more complicated. Every transaction involves an input (a source of funds e.g. a deposit)
5 min read
How to Cancel a Bitcoin Transaction if it is Unconfirmed?
A Bitcoin transaction needs to be verified by the Bitcoin network before it can be completed. This verification is done by so-called Bitcoin miners, which are actually just powerful computers that all run Bitcoin’s code and store its blockchain. When someone sends a Bitcoin to someone else, the transaction is broadcast to the network and included i
7 min read
Transaction Flow in Hyperledger Fabric
Transaction in hyperledger fabric reflects the business activity in the fabric network. Due ensure data immutability the transactions are kept inside the block and the chain structure is used for protection. In hyperledger fabric, each node maintains a ledger and the consensus mechanism is used to keep the ledger updated and identical at every node
4 min read
How to Decode Input Data from a Transaction?
When transactions are transmitted over the network or exchanged between applications, they are serialized. Serialization is most commonly used for encoding data structures for transmission over a network or for storage in a file. The serialization format of a transaction output is shown in Transaction output serialization. This article focuses on d
8 min read
Create simple Blockchain using Python
Blockchain is a time-stamped decentralized series of fixed records that contains data of any size is controlled by a large network of computers that are scattered around the globe and not owned by a single organization. Every block is secured and connected with each other using hashing technology which protects it from being tampered by an unauthor
8 min read
Article Tags :
Practice Tags :
three90RightbarBannerImg