How are transactions on a blockchain validated?

Transactions on a blockchain are validated through consensus. This means that each node in a blockchain network must come to an agreement about the verification of a transaction before it is added to the blockchain. The most common consensus algorithm used by blockchains is Proof-of-Work (POW). This involves miners completing complex mathematical puzzles in order to validate each transaction and add them to the blockchain.