Ticket
(Added by the [TicketBatch amendment][].)
The Ticket
object type represents a Ticket, which tracks an account [sequence number][Sequence Number] that has been set aside for future use. You can create new tickets with a [TicketCreate transaction][]. [New in: rippled 1.7.0][]
Example JSON
Fields
A Ticket
object has the following fields:
Name | JSON Type | Internal Type | Required? | Description |
---|---|---|---|---|
| String | AccountID | Yes | The account that owns this Ticket. |
| Number | UInt32 | Yes | A bit-map of boolean flags enabled for this object. Currently, the protocol defines no flags for |
| String | UInt16 | Yes | The value |
| String | UInt64 | Yes | A hint indicating which page of the owner directory links to this object, in case the directory consists of multiple pages. Note: The object does not contain a direct link to the owner directory containing it, since that value can be derived from the |
| String | Hash256 | Yes | The identifying hash of the transaction that most recently modified this object. |
| Number | UInt32 | Yes | The [index of the ledger][Ledger Index] that contains the transaction that most recently modified this object. |
| Number | UInt32 | Yes | The [Sequence Number][] this Ticket sets aside. |
Ticket ID Format
The ID of a Ticket object is the SHA-512Half of the following values, concatenated in order:
The Ticket space key (
0x0054
)The AccountID of the owner of the Ticket
The
TicketSequence
number of the Ticket
Last updated