How XRP transactions work
Every blockchain network has a consensus mechanism, which is how it validates transactions. The consensus mechanism plays a vital role, because it determines transaction accuracy, speed, and cost. The XRPL consensus mechanism is fairly unique. Most modern blockchains use proof of stake, and some older blockchains, most notably the blockchain for Bitcoin (BTC +0.19%), use proof of work.
The XRPL has a network of independent validators. These validators receive transactions, check if these transactions follow the rules, and then propose a list of transactions for the next ledger. The validators share their lists, compare them, and see which transactions they agree on. A new ledger is approved once it has a supermajority, meaning at least 80% of the validators agree on it. By using a validator network, XRPL is able to achieve fast, cheap, and energy-efficient transactions.