Fees and Transaction Mechanics
The concept
You've already met the burned transaction fee (Module 3) and the reserve requirement (briefly, in the "what XRP is used for" lesson). This lesson gets precise about the mechanics behind both, because getting the numbers wrong in practice means a transaction failing or an account becoming unable to do what you expect.
Every account on the XRP Ledger must maintain a base reserve — a minimum XRP balance that exists simply to have an account on the ledger at all. This isn't a fee paid to anyone; it's XRP the account holder still owns, but cannot spend below that threshold, the way a bank minimum-balance requirement locks funds in place without transferring ownership.
On top of the base reserve, every additional ledger object the account owns — a trust line, an open offer on the DEX, an escrow, and other object types — adds a smaller owner reserve to the total required balance. The more "things" an account owns on the ledger, the higher its required reserve climbs.
Separately from reserves, every transaction requires a small fee, burned as covered in Module 3. Under normal conditions this fee is tiny — a small fraction of a cent. But the protocol includes a fee-escalation mechanism: during periods of high network load, the minimum required fee can rise temporarily, specifically to deter spam and prioritize legitimate transactions when the network is busy. This means the "typical fee" you've seen quoted elsewhere in this course is a normal-conditions figure, not a hard constant — and the practical lesson is to check the current reserve and fee values live before transacting, rather than relying on a memorized number.
It's worth walking through why reserves exist at all, since the rationale clarifies why the requirement scales with the number of objects an account owns rather than being a single flat amount. Every ledger object — a trust line, an open offer, an escrow — takes up space in the shared ledger state that every validator and tracking node must store and process. Without some cost attached to creating these objects, an account could create an unbounded number of them at near-zero cost, bloating the ledger's size indefinitely for everyone who runs a node. The owner reserve makes each additional object carry a small, real cost to the account that created it, which keeps the incentive to open and close objects deliberately rather than carelessly — a structural design choice, not an arbitrary fee.
Worked example
Suppose an account opens two trust lines (for example, to hold two different issued currencies from two different gateways) and places one open offer on the DEX. Using illustrative figures for the mechanism (actual current reserve values must always be checked live, since the network has adjusted base and owner reserve amounts over its history):
Base reserve: 10 XRP
Owner reserve per object: 2 XRP
Objects owned: 2 trust lines + 1 open offer = 3 objects
Total required reserve = Base reserve + (Owner reserve × number of objects)
= 10 + (2 × 3)
= 10 + 6
= 16 XRP
This account must maintain a balance of at least 16 XRP to keep all three objects open, in addition to whatever balance it wants to actually use for payments or trading. If the account closed one trust line, its required reserve would drop back to 14 XRP (10 + 2×2), freeing up 2 XRP that was previously locked by the owner reserve.
Now walk through the fee-escalation side of the mechanism with a separate scenario: under normal conditions, a payment's fee is a small fraction of a cent, say 0.00001 XRP. During a period of unusually heavy network load, the protocol's fee-escalation mechanism raises the minimum required fee temporarily — perhaps to several times its normal level — specifically so that legitimate, fee-paying transactions continue to be prioritized over a potential flood of low-value spam transactions. Once network load returns to normal, the minimum required fee falls back toward its baseline level. An application submitting transactions during a high-load period that only offers the old, lower fee risks having its transaction delayed or rejected, which is exactly why production systems are built to query the current minimum fee live rather than hardcoding a remembered value.
Exercise
Given a hypothetical base reserve of 10 XRP and an owner reserve of 2 XRP per object, calculate the total required reserve for an account holding: 3 trust lines, 2 open offers, and 1 escrow (6 objects total).
Worked solution:
Total required reserve = Base reserve + (Owner reserve × number of objects)
= 10 + (2 × 6)
= 10 + 12
= 22 XRP
This account must maintain at least 22 XRP to keep all six ledger objects open. If it wanted to also place a payment of, say, 50 XRP, its total account balance would need to be at least 72 XRP (22 XRP locked reserve + 50 XRP to send), since the reserve amount cannot be spent below the required threshold.
Second question: if this same account closed its one escrow object and two of its three trust lines (reducing it to 1 trust line + 2 open offers = 3 objects), what would its new required reserve be, and how much XRP would that free up compared to the six-object total above? Worked solution:
New total required reserve = 10 + (2 × 3) = 16 XRP
Freed up = 22 − 16 = 6 XRP
Closing three objects frees exactly 6 XRP of previously-locked reserve (2 XRP per closed object), which becomes spendable balance again — illustrating directly why the owner reserve scales with object count rather than being a single flat charge.
Recap
- Every account must maintain a base reserve to exist on the ledger, plus a smaller owner reserve for each additional ledger object (trust line, offer, escrow, etc.) it owns — a design meant to keep the shared ledger state from growing without cost.
- Transaction fees are small and burned under normal conditions, but a fee-escalation mechanism can temporarily raise the minimum required fee during periods of high network load, specifically to deter spam.
- Always check current reserve and fee values live before transacting — these are protocol parameters that can and have changed over the ledger's history, not fixed constants to memorize.
Resources
- Reserves reference, XRPL.org — https://xrpl.org/docs/concepts/accounts/reserves
- Transaction cost (fee escalation) reference — https://xrpl.org/docs/concepts/transactions/transaction-cost
- Current network fee and reserve data, XRPSCAN — https://xrpscan.com/