Cardano achieves transaction finality through its consensus mechanism, Ouroboros, which relies on the longest-chain rule to determine the valid chain of blocks and ensure that once a transaction is included in a block and added to the blockchain, it is considered final and irreversible.