Blockchain is a distributed database that maintains the details of each transaction in a series of blocks, which will be added to the ledger in chronological order. The Stored transaction details in a block called genesis block. Usually, a block consists of hash, previous hash, data and nonce.