Functions
base64Decode(input:)
func base64Decode(input: String) throws -> Data
base64Encode(input:)
func base64Encode(input: Data) -> String
boolFromBcs(input:)
func boolFromBcs(input: Data) throws -> Bool
Create a bool from BCS encoded bytes.
boolFromJson(input:)
func boolFromJson(input: String) throws -> Bool
Create a bool from JSON encoded string.
boolToBcs(input:)
func boolToBcs(input: Bool) throws -> Data
Convert this bool to BCS encoded bytes.
boolToJson(input:)
func boolToJson(input: Bool) throws -> String
Convert this bool to JSON encoded string.
changedObjectFromBcs(bcs:)
func changedObjectFromBcs(bcs: Data) throws -> ChangedObject
Create this type from BCS encoded bytes.
changedObjectFromJson(json:)
func changedObjectFromJson(json: String) throws -> ChangedObject
Create this type from a JSON encoded string.
commandArgumentErrorFromBcs(bcs:)
func commandArgumentErrorFromBcs(bcs: Data) throws -> CommandArgumentError
Create this type from BCS encoded bytes.
commandArgumentErrorFromJson(json:)
func commandArgumentErrorFromJson(json: String) throws -> CommandArgumentError
Create this type from a JSON encoded string.
denyRuleSetFromBcs(bcs:)
func denyRuleSetFromBcs(bcs: Data) throws -> DenyRuleSet
Create this type from BCS encoded bytes.
denyRuleSetFromJson(json:)
func denyRuleSetFromJson(json: String) throws -> DenyRuleSet
Create this type from a JSON encoded string.
endOfEpochDataFromBcs(bcs:)
func endOfEpochDataFromBcs(bcs: Data) throws -> EndOfEpochData
Create this type from BCS encoded bytes.
endOfEpochDataFromJson(json:)
func endOfEpochDataFromJson(json: String) throws -> EndOfEpochData
Create this type from a JSON encoded string.
eventFromBcs(bcs:)
func eventFromBcs(bcs: Data) throws -> Event
Create this type from BCS encoded bytes.
eventFromJson(json:)
func eventFromJson(json: String) throws -> Event
Create this type from a JSON encoded string.
executionErrorFromBcs(bcs:)
func executionErrorFromBcs(bcs: Data) throws -> ExecutionError
Create this type from BCS encoded bytes.
executionErrorFromJson(json:)
func executionErrorFromJson(json: String) throws -> ExecutionError
Create this type from a JSON encoded string.
executionStatusFromBcs(bcs:)
func executionStatusFromBcs(bcs: Data) throws -> ExecutionStatus
Create this type from BCS encoded bytes.
executionStatusFromJson(json:)
func executionStatusFromJson(json: String) throws -> ExecutionStatus
Create this type from a JSON encoded string.
gasCostSummaryFromBcs(bcs:)
func gasCostSummaryFromBcs(bcs: Data) throws -> GasCostSummary
Create this type from BCS encoded bytes.
gasCostSummaryFromJson(json:)
func gasCostSummaryFromJson(json: String) throws -> GasCostSummary
Create this type from a JSON encoded string.
gasPaymentFromBcs(bcs:)
func gasPaymentFromBcs(bcs: Data) throws -> GasPayment
Create this type from BCS encoded bytes.
gasPaymentFromJson(json:)
func gasPaymentFromJson(json: String) throws -> GasPayment
Create this type from a JSON encoded string.
generateMnemonic(wordCount:)
func generateMnemonic(wordCount: MnemonicLength?) -> String
Generate a new BIP-39 mnemonic in English. Supported word counts are 12 and 24 (default).
hexDecode(input:)
func hexDecode(input: String) throws -> Data
hexEncode(input:)
func hexEncode(input: Data) -> String
i16FromBcs(input:)
func i16FromBcs(input: Data) throws -> Int16
Create a i16 from BCS encoded bytes.
i16FromJson(input:)
func i16FromJson(input: String) throws -> Int16
Create a i16 from JSON encoded string.
i16ToBcs(input:)
func i16ToBcs(input: Int16) throws -> Data
Convert this i16 to BCS encoded bytes.
i16ToJson(input:)
func i16ToJson(input: Int16) throws -> String
Convert this i16 to JSON encoded string.
i32FromBcs(input:)
func i32FromBcs(input: Data) throws -> Int32
Create a i32 from BCS encoded bytes.
i32FromJson(input:)
func i32FromJson(input: String) throws -> Int32
Create a i32 from JSON encoded string.
i32ToBcs(input:)
func i32ToBcs(input: Int32) throws -> Data
Convert this i32 to BCS encoded bytes.
i32ToJson(input:)
func i32ToJson(input: Int32) throws -> String
Convert this i32 to JSON encoded string.
i64FromBcs(input:)
func i64FromBcs(input: Data) throws -> Int64
Create a i64 from BCS encoded bytes.
i64FromJson(input:)
func i64FromJson(input: String) throws -> Int64
Create a i64 from JSON encoded string.
i64ToBcs(input:)
func i64ToBcs(input: Int64) throws -> Data
Convert this i64 to BCS encoded bytes.
i64ToJson(input:)
func i64ToJson(input: Int64) throws -> String
Convert this i64 to JSON encoded string.
i8FromBcs(input:)
func i8FromBcs(input: Data) throws -> Int8
Create a i8 from BCS encoded bytes.
i8FromJson(input:)
func i8FromJson(input: String) throws -> Int8
Create a i8 from JSON encoded string.
i8ToBcs(input:)
func i8ToBcs(input: Int8) throws -> Data
Convert this i8 to BCS encoded bytes.
i8ToJson(input:)
func i8ToJson(input: Int8) throws -> String
Convert this i8 to JSON encoded string.
idOperationFromBcs(bcs:)
func idOperationFromBcs(bcs: Data) throws -> IdOperation
Create this type from BCS encoded bytes.
idOperationFromJson(json:)
func idOperationFromJson(json: String) throws -> IdOperation
Create this type from a JSON encoded string.
moveLocationFromBcs(bcs:)
func moveLocationFromBcs(bcs: Data) throws -> MoveLocation
Create this type from BCS encoded bytes.
moveLocationFromJson(json:)
func moveLocationFromJson(json: String) throws -> MoveLocation
Create this type from a JSON encoded string.
moveStructFromBcs(bcs:)
func moveStructFromBcs(bcs: Data) throws -> MoveStruct
Create this type from BCS encoded bytes.
moveStructFromJson(json:)
func moveStructFromJson(json: String) throws -> MoveStruct
Create this type from a JSON encoded string.
objectInFromBcs(bcs:)
func objectInFromBcs(bcs: Data) throws -> ObjectIn
Create this type from BCS encoded bytes.
objectInFromJson(json:)
func objectInFromJson(json: String) throws -> ObjectIn
Create this type from a JSON encoded string.
objectOutFromBcs(bcs:)
func objectOutFromBcs(bcs: Data) throws -> ObjectOut
Create this type from BCS encoded bytes.
objectOutFromJson(json:)
func objectOutFromJson(json: String) throws -> ObjectOut
Create this type from a JSON encoded string.
objectReferenceFromBcs(bcs:)
func objectReferenceFromBcs(bcs: Data) throws -> ObjectReference
Create this type from BCS encoded bytes.
objectReferenceFromJson(json:)
func objectReferenceFromJson(json: String) throws -> ObjectReference
Create this type from a JSON encoded string.
packageUpgradeErrorFromBcs(bcs:)
func packageUpgradeErrorFromBcs(bcs: Data) throws -> PackageUpgradeError
Create this type from BCS encoded bytes.
packageUpgradeErrorFromJson(json:)
func packageUpgradeErrorFromJson(json: String) throws -> PackageUpgradeError
Create this type from a JSON encoded string.
randomnessStateUpdateFromBcs(bcs:)
func randomnessStateUpdateFromBcs(bcs: Data) throws -> RandomnessStateUpdate
Create this type from BCS encoded bytes.
randomnessStateUpdateFromJson(json:)
func randomnessStateUpdateFromJson(json: String) throws -> RandomnessStateUpdate
Create this type from a JSON encoded string.
signedTransactionFromBcs(bcs:)
func signedTransactionFromBcs(bcs: Data) throws -> SignedTransaction
Create this type from BCS encoded bytes.
signedTransactionFromJson(json:)
func signedTransactionFromJson(json: String) throws -> SignedTransaction
Create this type from a JSON encoded string.
stringFromBcs(input:)
func stringFromBcs(input: Data) throws -> String
Create a String from BCS encoded bytes.
stringFromJson(input:)
func stringFromJson(input: String) throws -> String
Create a String from JSON encoded string.
stringToBcs(input:)
func stringToBcs(input: String) throws -> Data
Convert this String to BCS encoded bytes.
stringToJson(input:)
func stringToJson(input: String) throws -> String
Convert this String to JSON encoded string.
transactionDenyRulesUpdateFromBcs(bcs:)
func transactionDenyRulesUpdateFromBcs(bcs: Data) throws -> TransactionDenyRulesUpdate
Create this type from BCS encoded bytes.
transactionDenyRulesUpdateFromJson(json:)
func transactionDenyRulesUpdateFromJson(json: String) throws -> TransactionDenyRulesUpdate
Create this type from a JSON encoded string.
transactionExpirationFromBcs(bcs:)
func transactionExpirationFromBcs(bcs: Data) throws -> TransactionExpiration
Create this type from BCS encoded bytes.
transactionExpirationFromJson(json:)
func transactionExpirationFromJson(json: String) throws -> TransactionExpiration
Create this type from a JSON encoded string.
typeArgumentErrorFromBcs(bcs:)
func typeArgumentErrorFromBcs(bcs: Data) throws -> TypeArgumentError
Create this type from BCS encoded bytes.
typeArgumentErrorFromJson(json:)
func typeArgumentErrorFromJson(json: String) throws -> TypeArgumentError
Create this type from a JSON encoded string.
typeOriginFromBcs(bcs:)
func typeOriginFromBcs(bcs: Data) throws -> TypeOrigin
Create this type from BCS encoded bytes.
typeOriginFromJson(json:)
func typeOriginFromJson(json: String) throws -> TypeOrigin
Create this type from a JSON encoded string.
u16FromBcs(input:)
func u16FromBcs(input: Data) throws -> UInt16
Create a u16 from BCS encoded bytes.
u16FromJson(input:)
func u16FromJson(input: String) throws -> UInt16
Create a u16 from JSON encoded string.
u16ToBcs(input:)
func u16ToBcs(input: UInt16) throws -> Data
Convert this u16 to BCS encoded bytes.
u16ToJson(input:)
func u16ToJson(input: UInt16) throws -> String
Convert this u16 to JSON encoded string.
u32FromBcs(input:)
func u32FromBcs(input: Data) throws -> UInt32
Create a u32 from BCS encoded bytes.
u32FromJson(input:)
func u32FromJson(input: String) throws -> UInt32
Create a u32 from JSON encoded string.
u32ToBcs(input:)
func u32ToBcs(input: UInt32) throws -> Data
Convert this u32 to BCS encoded bytes.
u32ToJson(input:)
func u32ToJson(input: UInt32) throws -> String
Convert this u32 to JSON encoded string.
u64FromBcs(input:)
func u64FromBcs(input: Data) throws -> UInt64
Create a u64 from BCS encoded bytes.
u64FromJson(input:)
func u64FromJson(input: String) throws -> UInt64
Create a u64 from JSON encoded string.
u64ToBcs(input:)
func u64ToBcs(input: UInt64) throws -> Data
Convert this u64 to BCS encoded bytes.
u64ToJson(input:)
func u64ToJson(input: UInt64) throws -> String
Convert this u64 to JSON encoded string.
u8FromBcs(input:)
func u8FromBcs(input: Data) throws -> UInt8
Create a u8 from BCS encoded bytes.
u8FromJson(input:)
func u8FromJson(input: String) throws -> UInt8
Create a u8 from JSON encoded string.
u8ToBcs(input:)
func u8ToBcs(input: UInt8) throws -> Data
Convert this u8 to BCS encoded bytes.
u8ToJson(input:)
func u8ToJson(input: UInt8) throws -> String
Convert this u8 to JSON encoded string.
unchangedSharedKindFromBcs(bcs:)
func unchangedSharedKindFromBcs(bcs: Data) throws -> UnchangedSharedKind
Create this type from BCS encoded bytes.
unchangedSharedKindFromJson(json:)
func unchangedSharedKindFromJson(json: String) throws -> UnchangedSharedKind
Create this type from a JSON encoded string.
unchangedSharedObjectFromBcs(bcs:)
func unchangedSharedObjectFromBcs(bcs: Data) throws -> UnchangedSharedObject
Create this type from BCS encoded bytes.
unchangedSharedObjectFromJson(json:)
func unchangedSharedObjectFromJson(json: String) throws -> UnchangedSharedObject
Create this type from a JSON encoded string.
upgradeInfoFromBcs(bcs:)
func upgradeInfoFromBcs(bcs: Data) throws -> UpgradeInfo
Create this type from BCS encoded bytes.
upgradeInfoFromJson(json:)
func upgradeInfoFromJson(json: String) throws -> UpgradeInfo
Create this type from a JSON encoded string.
validatorCommitteeMemberFromBcs(bcs:)
func validatorCommitteeMemberFromBcs(bcs: Data) throws -> ValidatorCommitteeMember
Create this type from BCS encoded bytes.
validatorCommitteeMemberFromJson(json:)
func validatorCommitteeMemberFromJson(json: String) throws -> ValidatorCommitteeMember
Create this type from a JSON encoded string.