See the canonical spec:
.TypeScriptimport { Client, Wallet } from 'xrpl'; async function createTicket(): Promise<void> { const client = new Client('wss://honeycluster.dev'); await client.connect(); const wallet = Wallet.fromSeed('s...'); const prepared = await client.autofill({ TransactionType: 'TicketCreate', Account: wallet.address, TicketCount: 10, }); const signed = wallet.sign(prepared); const res = await client.submitAndWait(signed.tx_blob); console.log(res); await client.disconnect(); } createTicket().catch(console.error);
| Field | Type | Required | Description |
|---|---|---|---|
Account | String | Yes | The address of the account creating tickets |
TicketCount | Number | Yes | Number of tickets to create |
TicketCount:
Range: 1 to 250
Each ticket costs 10 drops (0.00001 XRP)
Tickets are created sequentially starting from the next available sequence
Usage:
Tickets can be used instead of sequence numbers for transaction ordering
Useful for high-frequency trading and batch operations
Tickets are consumed when used and cannot be reused
Each ticket can only be used once
Note:
Total cost = TicketCount × 10 drops
Tickets are stored in the account's ticket list
Can be used to submit transactions out of sequence order
Creates tickets for out-of-order transaction submission
TicketCount specifies how many tickets to create
Tickets can be used instead of sequence numbers
Useful for high-frequency trading and batch operations
Always use autofill to set fees and sequence safely when using the XRPL client library