Package org.xrpl.xrpl4j.model.client.mpt
Interface MptHoldersMpToken
- All Known Implementing Classes:
ImmutableMptHoldersMpToken
@Immutable
public interface MptHoldersMpToken
Representation of an MPToken found in
MptHoldersResponses.-
Method Summary
Modifier and TypeMethodDescriptionaccount()The account that owns the MPToken.builder()Construct aMptHoldersMpTokenbuilder.flags()TheMpTokenFlagsfor this MPToken.The amount of MPToken that is locked.The balance of this MPToken.The index of this MPToken.
-
Method Details
-
builder
Construct aMptHoldersMpTokenbuilder.- Returns:
- An
ImmutableMptHoldersMpToken.Builder.
-
account
Address account()The account that owns the MPToken.- Returns:
- An
Address.
-
flags
MpTokenFlags flags()TheMpTokenFlagsfor this MPToken.- Returns:
- An
MpTokenFlags.
-
mptAmount
MpTokenNumericAmount mptAmount()The balance of this MPToken.- Returns:
- An
MpTokenNumericAmount.
-
lockedAmount
Optional<MpTokenNumericAmount> lockedAmount()The amount of MPToken that is locked.- Returns:
- An optionally present
MpTokenNumericAmount.
-
mpTokenIndex
Hash256 mpTokenIndex()The index of this MPToken.- Returns:
- A
Hash256.
-