Class XChainCount
java.lang.Object
org.xrpl.xrpl4j.model.immutables.Wrapper<com.google.common.primitives.UnsignedLong>
org.xrpl.xrpl4j.model.transactions.XChainCount
- All Implemented Interfaces:
Serializable,Comparable<Wrapper<com.google.common.primitives.UnsignedLong>>
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class XChainCount
extends Wrapper<com.google.common.primitives.UnsignedLong>
A wrapped
UnsignedLong representing a counter for XLS-38 sidechains. This
wrapper mostly exists to ensure we serialize fields of this type as a hex String in JSON, as these fields are
STUInt64s in rippled, which are hex encoded in JSON.
This class will be marked Beta until the featureXChainBridge amendment
is enabled on mainnet. Its API is subject to change.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic XChainCountof(com.google.common.primitives.UnsignedLong value) Construct a new immutableXChainCountinstance.toString()com.google.common.primitives.UnsignedLongvalue()The wrapped value.
-
Method Details
-
value
public com.google.common.primitives.UnsignedLong value()The wrapped value. -
of
Construct a new immutableXChainCountinstance.- Parameters:
value- The value for thevalueattribute- Returns:
- An immutable XChainCount instance
-
toString
-