Interface IssuedCurrencyAmount
-
- All Superinterfaces:
CurrencyAmount
- All Known Implementing Classes:
ImmutableIssuedCurrencyAmount
@Immutable public interface IssuedCurrencyAmount extends CurrencyAmount
ACurrencyAmount
for Issued Currencies on the XRP Ledger.- See Also:
- "https://xrpl.org/rippleapi-reference.html#value"
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ImmutableIssuedCurrencyAmount.Builder
builder()
String
currency()
Arbitrary code for currency to issue.Address
issuer()
Unique accountAddress
of the entity issuing the currency.String
value()
Quoted decimal representation of the amount of currency.-
Methods inherited from interface org.xrpl.xrpl4j.model.transactions.CurrencyAmount
handle, map
-
-
-
-
Method Detail
-
builder
static ImmutableIssuedCurrencyAmount.Builder builder()
-
value
String value()
Quoted decimal representation of the amount of currency. This can include scientific notation, such as 1.23e11 meaning 123,000,000,000. Both e and E may be used. Note that while this implementation merely holds aString
with no value restrictions, the XRP Ledger does not tolerate unlimited precision values. Instead, non-XRP values (i.e., values held in this object) can have up to 16 decimal digits of precision, with a maximum value of 9999999999999999e80. The smallest positive non-XRP value is 1e-81.- Returns:
- A
String
containing the amount of this issued currency.
-
currency
String currency()
Arbitrary code for currency to issue. Cannot be XRP.- Returns:
- A
String
containing the currency code.
-
-