AccountUtils class abstract final

Utility functions for working with accounts.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

deserialize(Deserializer deserializer) → Account
Deserializes an account from the provided deserializer.
ed25519AccountFromHex(HexInput hex) → Ed25519Account
Deserializes an Ed25519Account from hex.
federatedKeylessAccountFromHex(HexInput hex) → FederatedKeylessAccount
Deserializes a FederatedKeylessAccount from hex.
fromBytes(Uint8List bytes) → Account
Deserializes an account from bytes.
fromHex(HexInput hex) → Account
Deserializes an account from hex.
keylessAccountFromHex(HexInput hex) → KeylessAccount
Deserializes a KeylessAccount from hex.
multiKeyAccountFromHex(HexInput hex) → MultiKeyAccount
Deserializes a MultiKeyAccount from hex.
singleKeyAccountFromHex(HexInput hex) → SingleKeyAccount
Deserializes a SingleKeyAccount from hex.
toBytes(Account account) → Uint8List
Serializes an account into bytes: the signing scheme variant, account address, and the scheme-specific key material.
toHexString(Account account) → String
Returns the serialized account as a hex string with a 0x prefix.
toHexStringWithoutPrefix(Account account) → String
Returns the serialized account as a hex string without the 0x prefix.