ESCROW · BUILT INTO THE XRP LEDGER
Escrow on the XRP Ledger
Lock funds until a date or a condition – no middleman.
An escrow sets funds aside on the ledger itself. They are released to the receiver only when the rules are met, or returned to the sender if they never are. No company holds the money – the XRP Ledger does.
Simulator
How an escrow works
Six steps, from locking to release.
- 01

Create the escrow
The sender submits EscrowCreate with an amount, a receiver and the rules. The funds leave the sender's spendable balance right away.
- 02

Set the time rules
FinishAfter is the earliest time the funds can be released. CancelAfter is the deadline after which they can only go back to the sender.
- 03

Add a condition (optional)
A crypto-condition works like a lock. Whoever shows the matching secret, called the fulfillment, can release the funds.
- 04

The ledger holds it
Until then the funds sit in an Escrow object on the ledger. Nobody can spend them – not even the sender.
- 05

Finish: release to the receiver
When the rules are met, any account can send EscrowFinish and the funds go to the receiver named in the escrow.
- 06

Cancel: back to the sender
If CancelAfter has passed and the escrow was not finished, any account can send EscrowCancel and the funds return to the sender.
What makes it different
- No middleman. The XRP Ledger enforces the rules, not a company or a lawyer.
- Time or secret. Release after a date, with a crypto-condition, or both.
- A safe deadline. With CancelAfter, unfinished funds can always go back to the sender.
- XRP and tokens. XRP since 2017; trust line tokens and MPTs since the TokenEscrow amendment (2026).
What is it used for?
Timed payments
Conditional deals
Lock-upsA well-known example: in 2017 Ripple locked 55 billion XRP in escrows that unlock on a fixed monthly schedule.
Key concepts, in plain English
Good to know
Escrowed funds are locked: you can't use them until the escrow is finished or cancelled. Without CancelAfter, a conditional escrow can stay locked forever if the fulfillment is lost. Each escrow also adds to the owner's reserve while it exists.
Educational content. Not financial advice.Test your knowledge
5 questions · Every answer explained