TicketCreate

A TicketCreate transaction sets aside one or more [sequence numbers][Sequence Number] as Tickets.

[Source]

(Added by the [TicketBatch amendment][].)

Example

{
    "TransactionType": "TicketCreate",
    "Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
    "Fee": "10",
    "Sequence": 381,
    "TicketCount": 10
}

If the transaction cannot create all of the requested Tickets (either due to the 250-Ticket limit or the owner reserve), it fails and creates no Tickets. To look up how many Tickets an account currently owns, use the [account_info method][] and check the account_data.TicketCount field.

Tip: This transaction increases the sending account's [sequence number][Sequence Number] by 1 plus the number of tickets created (TicketCount). This is the only transaction that increases an account's sequence number by more than 1.

Error Cases

Besides errors that can occur for all transactions, {{currentpage.name}} transactions can result in the following transaction result codes:

Last updated