AptosEd25519AccountPublicKey class
- Inheritance
-
- Object
- BcsSerialization
- AptosAccountPublicKey
- AptosEd25519AccountPublicKey
Constructors
- AptosEd25519AccountPublicKey.new(AptosED25519PublicKey publicKey)
-
const
-
AptosEd25519AccountPublicKey.deserialize(List<
int> bytes) -
factory
-
AptosEd25519AccountPublicKey.fromStrunct(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → AptosED25519PublicKey
-
public key
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → AptosSigningScheme
-
The signing scheme used by this public key.
finalinherited
- serializableType → BcsSerializableType
-
Returns the serialization type. Defaults to
object
.no setterinherited
Methods
-
cast<
T extends AptosAccountPublicKey> () → T -
inherited
-
createLayout(
{String? property}) → Layout< Map< String, dynamic> > -
Creates a layout structure for serialization.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAddress(
) → AptosAddress -
Convert the public key to an Aptos address.
override
-
toBcs(
{String? property}) → List< int> -
Serializes the object to BCS format (List of bytes).
inherited
-
toBcsBase64(
) → String -
Converts the BCS-encoded bytes to a Base64 string.
inherited
-
toBcsHex(
) → String -
Converts the BCS-encoded bytes to a hexadecimal string.
inherited
-
toBytes(
) → List< int> -
public key as bytes
override
-
toHex(
{bool lowerCase = true, String prefix = ''}) → String -
Convert the public key to a hexadecimal string.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the serialized object to a JSON-compatible Map.
inherited
-
toLayoutStruct(
) → Map< String, dynamic> -
Converts the current object to a layout-friendly structure (Map format).
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verifySignature(
{required List< int> message, required List<int> signature}) → bool -
signature must a valid aptos signature serialized as BCS (AnySignature,ED25519Signature,MultiKeySignature or...);
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited