Cancel a Check
This tutorial shows how to cancel a Check on the XRP Ledger. Canceling removes the Check entry from the ledger without sending money.
- Section
- Tutorials
When you would cancel
You may want to cancel an incoming Check if you do not want it. You might cancel an outgoing Check if you made a mistake when sending it or if circumstances have changed. If a Check expires, it also has to be canceled to remove it from the ledger, so the sender gets their owner reserve back.
What you need
You should know the basics of the xrpl.js client library. You need the ID of a Check ledger entry that you are either the sender or the recipient of. You can get the ID when you send a Check, or by looking up Checks.
The steps in short
Prepare a CheckCancel transaction with three fields. TransactionType is the text CheckCancel, Account is your address and CheckID is the ID of the Check to cancel. Everything else is optional or can be filled in automatically when signing. Submit the transaction in the usual way and wait for it to be validated. If the result code is tesSUCCESS and the transaction is in a validated ledger, it succeeded.
Good to know
The submitAndWait method in xrpl.js only returns when the transaction's result is final. So a result code of tesSUCCESS from it means the transaction is validated. The sample code then prints the details of the canceled Check.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made