A blockchain is a decentralised distributed ledger that can be one of four types, which are consortium blockchain, hybrid blockchain, private blockchain, and public blockchain.