SuiAccount<PUBLICKEY extends SuiAccountPublicKey, SINATURE extends SuiBaseSignature> class
abstract
Abstract class representing a Sui account with signing capabilities.
Constructors
- SuiAccount.new({required PUBLICKEY publicKey, required SuiSigningScheme scheme})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → PUBLICKEY
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → SuiSigningScheme
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signPersonalMessage(
List< int> message) → SINATURE - Signs a personal message with the account's private key.
-
signTransaction(
List< int> txbytes, {bool hashDigest = true}) → SINATURE - Signs a transaction using the account's private key.
-
toAddress(
) → SuiAddress - Converts the public key to a Sui address.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited