A blockchain is a continuously increasing ledger(file) that retains a secure, chronological, and imm…