SolanaPublicKey class
Class representing a public key in the Solana blockchain.
Constructors
-
SolanaPublicKey.fromBytes(List<
int> publicKeyBytes) -
Factory method to create a SolanaPublicKey instance from bytes.
factory
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
-
toAddress(
) → SolAddress - Derive the Solana address associated with the public key.
-
toBytes(
[bool prefix = true]) → List< int> - Convert the public key to bytes.
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
{required List< int> message, required List<int> signature}) → bool - Verify a message using the public key and signature.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited