Interface NfTokenMint
- All Superinterfaces:
Transaction
- All Known Implementing Classes:
ImmutableNfTokenMint
The
NfTokenMint transaction creates an NfToken object and adds it to the
relevant NfTokenPage object of the minter(issuer). If the transaction is
successful, the newly minted token will be owned by the minter(issuer) account
specified by the transaction.-
Field Summary
Fields inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
typeMap -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableNfTokenMint.Builderbuilder()Construct a builder for this class.default NfTokenMintFlagsflags()Set ofNfTokenMintFlagss for thisNfTokenMint.issuer()Indicates the account that should be the issuer of this token.com.google.common.primitives.UnsignedLongIndicates the taxon associated with this token.Specifies the fee charged by the issuer for secondary sales of the Token, if such sales are allowed.uri()URI that points to the data and/or metadata associated with the NfT.Methods inherited from interface org.xrpl.xrpl4j.model.transactions.Transaction
account, accountTransactionId, delegate, fee, lastLedgerSequence, memos, networkId, sequence, signers, signingPublicKey, sourceTag, ticketSequence, transactionFlags, transactionSignature, transactionType, unknownFields, validateDelegateNotSameAsAccount
-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableNfTokenMint.Builder.
-
tokenTaxon
com.google.common.primitives.UnsignedLong tokenTaxon()Indicates the taxon associated with this token. The taxon is generally a value chosen by the minter of the token and a given taxon may be used for multiple tokens. The implementation reserves taxon identifiers greater than or equal to 2147483648 (0x80000000).- Returns:
- Taxon of type
UnsignedLongassociated with the Token.
-
issuer
Indicates the account that should be the issuer of this token. This value is optional and should only be specified if the account executing the transaction is not the Issuer of the `NfToken` object. If it is present, the MintAccount field in the AccountRoot of the `Issuer` field must match the `Account`, otherwise the transaction will fail. -
transferFee
Optional<TransferFee> transferFee()Specifies the fee charged by the issuer for secondary sales of the Token, if such sales are allowed. Valid values for this field are between 0 and 50000 inclusive, allowing transfer rates between 0.000% and 50.000% in increments of 0.001%. This field must NOT be present if the `tfTransferable` flag is not set.- Returns:
- An
OptionalTransferFee.
-
uri
Optional<NfTokenUri> uri()URI that points to the data and/or metadata associated with the NfT. This field need not be an HTTP or HTTPS URL; it could be an IPFS URI, a magnet link, immediate data encoded as an RFC2379 "data" URL, or even an opaque issuer-specific encoding. The URI is NOT checked for validity, but the field is limited to a maximum length of 256 bytes. -
flags
Set ofNfTokenMintFlagss for thisNfTokenMint.- Returns:
- The
NfTokenMintFlagsfor this transaction.
-