Cryptocurrency transactions work by transferring the coins between two digital wallets using public and private keys. When a user wants to send a cryptocurrency, they will enter their own wallet’s private key and the recipient’s public key into the transaction. This transaction is then broadcast to the public blockchain, where it is verified and confirmed by miners. From there, the transaction is added to the public ledger and is available for viewing by anyone.