AptosAddressUtils class

Constructors

AptosAddressUtils.new()

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 with padding zero for special addresses.
encodeEd25519Key(List<int> bytes) List<int>
encode ED25519 public key to address
encodeMultiEd25519Key(List<Ed25519PublicKey> publicKeys, int threshold) List<int>
encode Multi ED25519 public keys to MultiEd25519 address
encodeMultiKey(List<IPublicKey> publicKeys, int requiredSignature) List<int>
encode Multi Public keys to MultiKey address
encodeSingleKey(IPublicKey publicKey) List<int>
encode public key to SignleKey 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.