Package org.xrpl.xrpl4j.model.ledger
Interface NfTokenPageObject
- All Superinterfaces:
LedgerObject
- All Known Implementing Classes:
ImmutableNfTokenPageObject
Represents the NFTokenPage ledger object, which represents a collection of NFToken objects owned by the same account.
An account can have multiple NFTokenPage ledger objects, which form a doubly linked list.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.xrpl.xrpl4j.model.ledger.LedgerObject
LedgerObject.LedgerEntryType -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Construct a builder for this class.index()The unique ID of thisNfTokenPageObjectledger object.default LedgerObject.LedgerEntryTypeThe type of ledger object, which will always be "NFTokenPage" in this case.The locator of the next page, if any.nfTokens()The collection of NFToken objects contained in this NFTokenPage object.The locator of the previous page, if any.Identifies the transaction ID of the transaction that most recently modified this NFTokenPage object.The sequence of the ledger that contains the transaction that most recently modified this NFTokenPage object.
-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableNfTokenPageObject.Builder.
-
ledgerEntryType
The type of ledger object, which will always be "NFTokenPage" in this case.- Returns:
- Always returns
LedgerObject.LedgerEntryType.ACCOUNT_ROOT.
-
nfTokens
List<NfTokenWrapper> nfTokens()The collection of NFToken objects contained in this NFTokenPage object. This specification places an upper bound of 32 NFToken objects per page. Objects are sorted from low to high with the NFTokenID used as the sorting parameter. -
nextPageMin
The locator of the next page, if any.- Returns:
- A
Hash256containing the ID of the next page, orOptional.empty()if there is no next page.
-
previousPageMin
The locator of the previous page, if any.- Returns:
- A
Hash256containing the ID of the previous page, orOptional.empty()if there is no previous page.
-
previousTransactionId
Identifies the transaction ID of the transaction that most recently modified this NFTokenPage object.- Returns:
- An optionally-present
Hash256.
-
previousTransactionLedgerSequence
Optional<LedgerIndex> previousTransactionLedgerSequence()The sequence of the ledger that contains the transaction that most recently modified this NFTokenPage object.- Returns:
- A
LedgerIndex.
-
index
Hash256 index()The unique ID of thisNfTokenPageObjectledger object.- Returns:
- A
Hash256. - See Also:
-