Interface NfTokenCancelOffer

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableNfTokenCancelOffer

@Immutable public interface NfTokenCancelOffer extends Transaction
The NfTokenCancelOffer transaction creates an NfToken object and adds it to the relevant NfTokenPage object of the minter. If the transaction is successful, the newly minted token will be owned by the minter(issuer) account specified by the transaction.
  • Method Details

    • builder

      Construct a builder for this class.
      Returns:
      An ImmutableNfTokenCancelOffer.Builder.
    • tokenOffers

      List<Hash256> tokenOffers()
      An array of NfTokenOffer Ids, each identifying an NfTokenOffer object, which should be cancelled by this transaction.

      It is an error if an entry in this list points to an object that is not an NfTokenOffer object. It is not an error if an entry in this list points to an object that does not exist.

      Returns:
      Array of TokenIDs, each identifying a unique NfToken object, to cancel the offers for.
    • nonEmptyTokenOffers

      @Check default void nonEmptyTokenOffers()
      Token Ids array should have atleast one value.
    • flags

      @Default default TransactionFlags flags()
      Set of TransactionFlagss for this NfTokenCancelOffer, which only allows the tfFullyCanonicalSig flag, which is deprecated.

      The value of the flags cannot be set manually, but exists for JSON serialization/deserialization only and for proper signature computation in rippled.

      Returns:
      Always TransactionFlags.EMPTY.