Package org.xrpl.xrpl4j.model.ledger
Interface TicketObject
- All Superinterfaces:
LedgerObject
- All Known Implementing Classes:
ImmutableTicketObject
The
TicketObject type represents a Ticket, which tracks an account sequence number that has been set
aside for future use. You can create new tickets with a TicketCreate transaction.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.xrpl.xrpl4j.model.ledger.LedgerObject
LedgerObject.LedgerEntryType -
Method Summary
Modifier and TypeMethodDescriptionaccount()The account that owns this Ticket.builder()Construct a builder for this class.default Flagsflags()A bit-map of Boolean flags enabled for this Ticket.index()The unique ID of theTicketObject.default LedgerObject.LedgerEntryTypeThe type of ledger object.A hint indicating which page of the owner directory links to this object, in case the directory consists of multiple pages.The identifying hash of the transaction that most recently modified this object.com.google.common.primitives.UnsignedIntegerThe index of the ledger that contains the transaction that most recently modified this object.com.google.common.primitives.UnsignedIntegerThe Sequence Number this Ticket sets aside.
-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableTicketObject.Builder.
-
ledgerEntryType
The type of ledger object. In this case, always "SignerList".- Returns:
- Always
LedgerObject.LedgerEntryType.SIGNER_LIST.
-
flags
A bit-map of Boolean flags enabled for this Ticket. Currently, there are no flags defined for Tickets.- Returns:
- Always returns
Flags.UNSET.
-
account
Address account()The account that owns this Ticket.- Returns:
- The account that owns this Ticket, as an
Address.
-
ownerNode
String ownerNode()A hint indicating which page of the owner directory links to this object, in case the directory consists of multiple pages.- Returns:
- A
Stringcontaining the hint.
-
previousTransactionId
Hash256 previousTransactionId()The identifying hash of the transaction that most recently modified this object.- Returns:
- A
Hash256containing the previous transaction hash.
-
previousTransactionLedgerSequence
com.google.common.primitives.UnsignedInteger previousTransactionLedgerSequence()The index of the ledger that contains the transaction that most recently modified this object.- Returns:
- An
UnsignedIntegerrepresenting the previous transaction ledger sequence.
-
ticketSequence
com.google.common.primitives.UnsignedInteger ticketSequence()The Sequence Number this Ticket sets aside.- Returns:
- An
UnsignedIntegerdenoting the sequence number.
-
index
Hash256 index()The unique ID of theTicketObject.- Returns:
- A
Hash256.
-