SuiAddressUtils class
Constructors
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
-
addressToBytes(
String address) → List< int> - convert address string to bytes without padding special addresses.
-
encodeEd25519Key(
List< int> bytes) → List<int> - encode ED25519 public key to address
-
encodeMultiKey(
List< SuiPublicKeyAndWeight> publicKeys, int threshold) → List<int> - encode Multi Public keys to MultiKey address
-
encodeSecp256k1(
List< int> bytes) → List<int> - encode secp256k1 public key to address
-
encodeSecp256r1(
List< int> bytes) → List<int> - encode secp256r1 public key to address
-
hashKeyBytes(
{required List< int> bytes, required int scheme}) → List<int> - convert bytes (ED25519, Secp256k1 or multisig key data) to address with specify scheme
-
praseAddressBytes(
List< int> bytes) → List<int> - check address bytes and convert special address to 32bytes.