How-to for developers · Accounts, wallets and keys

Use Tickets

In plain words

Tickets let you reserve Sequence numbers in advance, so you can send transactions out of order. This guide creates a batch of Tickets, uses one in a transaction and applies the same pattern to transactions that several parties sign.

Written by zerps in plain words, from the source linked below.
Section
Tutorials

When it helps

Tickets are useful when you collect signatures on a multi-signed transaction while normal account activity continues. They also let you queue transactions to submit later. Tickets were added by the TicketBatch amendment, enabled on 2021-11-18.

What you need

You need a basic understanding of the XRP Ledger and of how Sequence numbers work in transactions, and a client library. The examples are in JavaScript, Python and Go. The guide uses a test account funded on the Testnet, so you can submit transactions without risking real XRP.

Create Tickets

Send a TicketCreate transaction and set TicketCount to the number of Tickets you want, up to 250 per account. Each Ticket reserves a future Sequence number. Each one also counts toward your account's owner reserve, which is released when the Ticket is used. Tickets stay reserved until you use them, whatever else your account sends.

Use a Ticket

List your Tickets with the account_objects method to find a Ticket Sequence number. In the transaction, set the Sequence field to 0 and add a TicketSequence field with that number. Any type of transaction works. You can use Tickets in any order, but each only once, and a used Ticket is removed from the ledger. To cancel a Ticket you no longer need, send an AccountSet transaction with no fields set that uses it.

With multi-signing

Reserve a Ticket for each multi-signed transaction to hold its slot while you collect signatures. Then submit each transaction as soon as its signatures are complete, in any order. Leave out the LastLedgerSequence field so the transaction does not expire while you collect them.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.