Interface NfTokenPageObject

All Superinterfaces:
LedgerObject
All Known Implementing Classes:
ImmutableNfTokenPageObject

@Immutable public interface NfTokenPageObject extends LedgerObject
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.
  • Method Details

    • builder

      Construct a builder for this class.
      Returns:
      An ImmutableNfTokenPageObject.Builder.
    • ledgerEntryType

      @Derived default LedgerObject.LedgerEntryType 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.
      Returns:
      A List of NfTokens.
    • nextPageMin

      Optional<Hash256> nextPageMin()
      The locator of the next page, if any.
      Returns:
      A Hash256 containing the ID of the next page, or Optional.empty() if there is no next page.
    • previousPageMin

      Optional<Hash256> previousPageMin()
      The locator of the previous page, if any.
      Returns:
      A Hash256 containing the ID of the previous page, or Optional.empty() if there is no previous page.
    • previousTransactionId

      Optional<Hash256> 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 this NfTokenPageObject ledger object.
      Returns:
      A Hash256.
      See Also:
      • "https://xrpl.org/ledger-object-ids.html"