Class Uint256
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.conversions.ConvertibleToCalldata
,kotlin.Comparable
public final class Uint256 extends NumAsHexBase implements ConvertibleToCalldata
-
-
Constructor Summary
Constructors Constructor Description Uint256(Long value)
Uint256(Integer value)
Uint256(Felt value)
Uint256(BigInteger low, BigInteger high)
Uint256(Felt low, Felt high)
Uint256(BigInteger value)
-
Method Summary
Modifier and Type Method Description final Felt
getLow()
final Felt
getHigh()
BigInteger
getValue()
List<Felt>
toCalldata()
String
toString()
String
hexString()
Encode as hexadecimal string, including "0x" prefix. String
decString()
Encode as decimal string. final static Uint256
fromHex(String value)
-
-
Constructor Detail
-
Uint256
Uint256(Long value)
-
Uint256
Uint256(Integer value)
-
Uint256
Uint256(Felt value)
-
Uint256
Uint256(BigInteger low, BigInteger high)
-
Uint256
Uint256(BigInteger value)
-
-
Method Detail
-
getValue
BigInteger getValue()
-
toCalldata
List<Felt> toCalldata()
-
-
-
-