types/common library

Constants

SUI_ADDRESS_LENGTH → const int
TX_DIGEST_LENGTH → const int

Properties

VALID_BASE64_REGEX → RegExp
final

Functions

getHexByteLength(String value) → int
isHex(String value) → bool
isValidSuiAddress(String value) → bool
isValidSuiObjectId(String value) → bool
isValidTransactionDigest(String value) → bool
normalizeStructTag(StructTag type) → String
normalizeStructTagString(String type) → String
normalizeSuiAddress(String value, [bool forceAdd0x = false]) → String
Perform the following operations:
normalizeSuiObjectId(String value, [bool forceAdd0x = false]) → String
parseStructTag(String type) → StructTag
parseTypeTag(String type) → dynamic
splitGenericParameters(String str, [(String, String) genericSeparators = ('<', '>')]) → List<String>

Typedefs

SuiAddress = String
TransactionDigest = String
Base64 string representing the object digest