Package org.xrpl.xrpl4j.model.ledger
Interface NfToken
- All Known Implementing Classes:
ImmutableNfToken
@Immutable
public interface NfToken
Object mapping for NFToken inner objects. This is distinct from
NfTokenObject because that class holds other fields that are only
available in responses to account_nfts RPC calls.-
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableNfToken.Builderbuilder()Construct aNfTokenbuilder.The unique NFTokenID of the token.uri()The URI for the data of the token.
-
Method Details
-
builder
Construct aNfTokenbuilder.- Returns:
- An
ImmutableNfToken.Builder.
-
nfTokenId
NfTokenId nfTokenId()The unique NFTokenID of the token.- Returns:
- The unique NFTokenID of the token.
-
uri
Optional<NfTokenUri> uri()The URI for the data of the token.- Returns:
- The URI for the data of the token.
-