Transactions and Settlement
The concept
Every XRPL transaction has a standard anatomy, and understanding its required fields is the key to understanding what "settlement finality" actually means on this ledger.
A typical transaction includes: a sequence number (an incrementing counter per account, preventing the same transaction from being processed twice), a fee (the small, burned amount discussed in Module 3), a signature (cryptographic proof the transaction was authorized by the account holder), and a transaction type — the most common being Payment (moving value), OfferCreate (placing an order on the built-in exchange), and TrustSet (establishing or modifying a trust line for an issued currency), among others.
Here's what matters most for this lesson: what "final" means. On Bitcoin, a transaction is included in a block probabilistically — meaning there's always a small chance a very recent block gets replaced by a competing chain, so the convention is to wait for several additional confirmations (commonly six) before treating a transaction as irreversible. That's a probabilistic finality model: certainty increases gradually with each additional confirmation, but in the strictest sense it never reaches exactly 100%.
The XRP Ledger works differently. Once a transaction is included in a validated ledger — the outcome of the RPCA process from Lesson 2.2 — it is final. Full stop. There is no "wait for six more ledgers" convention, because a validated ledger, by the definition of the consensus process, has already been agreed upon by a supermajority of trusted validators. This is sometimes called deterministic finality: the moment of validation is the moment of settlement, with no probabilistic waiting period layered on top.
This distinction matters commercially, not just academically. A payment provider using the XRP Ledger for settlement can treat a transaction as done — safe to act on, safe to release goods or currency against — the instant it appears in a validated ledger, typically three to five seconds after submission. A Bitcoin-based process, by convention, waits roughly an hour for the typical six-confirmation threshold. That's the practical core of the "settlement speed" claims you'll encounter about XRP, grounded in a real mechanical difference rather than a marketing simplification.
It's also worth understanding what can happen to a transaction before it reaches a validated ledger, since this is where most confusion about "pending" transactions comes from. A submitted transaction can be provisionally included in one validator's proposed candidate set and then dropped from the next round if it doesn't gather enough support — this isn't a failure or a reversal, because the transaction was never final in the first place; it simply hadn't yet been validated. A transaction can also fail outright and be rejected by the network entirely — for example, if the sequence number is wrong, the signature doesn't verify, or the sending account lacks sufficient funds to cover the amount plus the fee plus its reserve requirement (Lesson 4.3). A rejected transaction never enters a validated ledger at all, and the small fee associated with it is typically not charged in that case, since the fee is paid only for transactions that make it into a validated ledger.
Worked example
Trace a Payment transaction from submission to finality:
- Submission: A sender's client constructs a Payment transaction with the required fields — destination address, amount, sequence number, fee, and a signature from the sender's key — and submits it to a connected server.
- Provisional inclusion: The transaction propagates across the network and is included in one or more validators' proposed candidate ledger — this is provisional, not yet final.
- Consensus rounds: Validators go through the RPCA rounds from Lesson 2.2, converging on an agreed transaction set.
- Validation: Once a supermajority agrees, the ledger containing this transaction becomes the new validated ledger. At this exact moment — not before — the payment is final and irreversible.
There is no step 5. Unlike Bitcoin's "wait for more confirmations" convention, nothing further needs to happen for this transaction to be treated as settled.
Now trace the failure path for comparison: a sender submits a Payment transaction with a sequence number that's already been used by a previous transaction from the same account. The network rejects this transaction during validation — it never becomes part of any validated ledger, the payment never executes, and the sender must resubmit with the correct next sequence number. Because the transaction was rejected rather than validated, there is nothing to reverse; it simply never settled in the first place, which is a structurally different outcome from a transaction that settles and later needs to be undone.
Exercise
Below is a simplified (redacted) transaction record:
TransactionType: Payment
Account: rSender...redacted
Destination: rReceiver...redacted
Amount: 100000000 (drops, i.e. 100 XRP)
Sequence: 4821
Fee: 12 (drops)
SigningPubKey: ED5A92...redacted
TxnSignature: 3045022100...redacted
Identify five required fields in this record, then explain in one sentence why XRPL finality differs from Bitcoin's probabilistic model.
Answer key — five required fields: TransactionType, Account, Destination, Amount, Sequence (Fee and the signature fields also count if you listed seven).
Model one-sentence explanation: "XRPL transactions become final the instant they're included in a validated ledger because that ledger has already been agreed upon by a supermajority of trusted validators through RPCA, whereas Bitcoin blocks are provisionally final and become more certain only as additional blocks are added on top."
Second question: if the Sequence field above were instead 4819 — a number already used by an earlier transaction from the same account — what would happen to this transaction, and would the 12-drop fee be charged? Answer: The transaction would be rejected during the consensus process rather than included in a validated ledger, since a reused sequence number is invalid; because it never settles, the fee is not charged, and the sender would need to resubmit with the correct next sequence number for the account.
Recap
- Every XRPL transaction includes a sequence number, fee, signature, and transaction type (Payment, OfferCreate, TrustSet, and others), each with a specific structural role.
- XRPL settlement is deterministic: a transaction is final the instant it's included in a validated ledger, with no "wait for more confirmations" convention, while a rejected transaction simply never settles rather than needing to be reversed.
- This contrasts directly with Bitcoin's probabilistic finality model, where certainty increases gradually across several additional confirmations — a mechanical, not marketing, difference.
Resources
- Transaction types reference, XRPL.org — https://xrpl.org/docs/references/protocol/transactions/types
- Finality of results in the XRP Ledger — https://xrpl.org/docs/concepts/transactions/finality-of-results
- Transaction cost (fee) reference — https://xrpl.org/docs/concepts/transactions/transaction-cost