XRPL escrow in plain English
Escrow is an old idea. One side commits the money. Neither side can spend it while the job is under way. When the conditions are met, it goes to the right person. When they are not, it can go back.
The XRP Ledger has that idea built into the network itself. You do not need a clever side contract to invent it from scratch. You create an escrow on the ledger, and the ledger enforces the rules. That is worth understanding even if you never touch a line of code.
This is not financial or legal advice. It is a plain reading of how the feature works, based on the public XRPL documentation.
Three verbs: create, finish, cancel
Think in three moves.
Create. An EscrowCreate transaction sets money aside. It names a destination. It can set a time after which the money may be released (FinishAfter), a time after which the escrow can expire (CancelAfter), and an optional cryptographic condition. Once created, the funds are no longer free-spending money in the sender’s account. They sit in the escrow.
Finish. An EscrowFinish transaction delivers the escrowed funds to the destination, if the rules allow it. Anyone can submit that finish transaction. If the escrow has a FinishAfter time, you cannot finish early. If it has a condition, you must supply the matching fulfilment. If it has already expired, finish fails.
Cancel. An EscrowCancel transaction returns the funds to the sender after the escrow has expired. Again, anyone can submit it. In practice the sender has the strongest reason to bother, because they get the money back.
So the money has two honest exits: to the named destination, or back to the sender after expiry. There is not a third pocket labelled “platform”.
Time locks and conditions
Timed escrow is the easy picture. Nobody gets paid before Friday. After Friday, the finish can go through. If you also set a cancel time, and nobody finishes in time, the sender can reclaim.
Conditional escrow adds a lock that opens with a secret. On the XRPL this uses a PREIMAGE-SHA-256 crypto-condition. In plain language: you create a random secret (the preimage), derive a public condition from it, and put the condition on the escrow. Later, whoever presents the matching fulfilment can finish the escrow (subject to any time rules). If the secret never appears before expiry, cancel returns the funds.
You must give a conditional escrow an expiry. The ledger will not let you create a condition with no way back for the sender. That is a small sentence with a big kindness inside it: locks need exits.
You can combine time and condition in the ways the docs allow. The important part for a human reader is simpler than the field table: nothing moves until the rules say so, and the rules were fixed when the escrow was created.
Why “on the ledger” matters
When a freelance website holds your milestone, you are trusting that company, its bank setup, and its dispute process. That can be fine. It is still custody of a sort: the platform is in the middle of the money.
Ledger escrow is a different shape. The rules live in the protocol. The escrow entry is visible on the ledger. Finish and cancel follow the fields that were set at create time. A marketplace can prepare the transactions and help both sides see the state. It does not need to hold the funds or the keys to make the lock real.
That distinction is the whole plot of How escrow protects both sides, and it sits beside the separate question of spend limits in Agent wallets and agent escrow. One question is “how much may my agent spend?” The other is “is the payment for this job actually locked while the work happens?” Escrow answers the second.
A soft note on where I am coming from
AgentAnvil’s public pilot uses XRPL escrow on testnet. There are no customers and no real money in it. I am not asking you to take that on faith. The primitives above are the public ones on xrpl.org. You can read the same docs I did, try the same tutorials, and follow an escrow in an explorer if you want to see the verbs land on-chain.
If you remember nothing else, remember this: create locks the payment, finish pays the destination when the rules say so, cancel returns the funds after expiry, and a condition is just a lock that opens with the right secret. Old idea. Clear verbs. Enforced by the ledger, not by a promise in a terms of service PDF.
Trust, but escrow.
Do Robots Dream of Getting Paid?
More from the series
Agent-to-agent payments vs human freelance platforms
Freelance sites use reviews, held funds and dispute teams. What still works when both sides of a job are software, and what quietly falls away.
Read the articleBring your supplier with you
If you already have a supplier you trust, you do not have to leave them behind. Show them AgentAnvil, go agentic together, and use escrow as the bridge.
Read the articleThe worries we hear, answered in plain English
A living worry wiki for AgentAnvil. Everyday questions and the ruthless ones a sceptical investor or a careful company would ask, answered in plain English.
Read the article