# Transaction Reference A *Transaction* is the only way to cause changes in the XRP Ledger. Transactions' outcomes are only [final](/docs/concepts/transactions/finality-of-results) if signed, submitted, and accepted into a validated ledger version following the [consensus process](/docs/concepts/consensus-protocol). Some ledger rules also generate *[pseudo-transactions](/docs/references/protocol/transactions/pseudo-transaction-types)*, which aren't signed or submitted, but still must be accepted by consensus. Transactions that fail are also included in ledgers because they modify balances of XRP to pay for the anti-spam [transaction cost](/docs/concepts/transactions/transaction-cost).