Account class abstract final Ledger

A generated account: the signing secret, public key and chain address.

Available extensions

Constructors

Account(Uint8List secret, Uint8List publicKey, Uint8List address)
Wraps the three byte strings of an account.
const
factory

Properties

address → Uint8List
The 32 byte chain address.
no setter
addressHex → String

Available on Account, provided by the AccountTools extension

The chain address in lowercase hex.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isHybrid → bool

Available on Account, provided by the AccountTools extension

Whether this is a hybrid post quantum account. Its secret is longer than the 64 bytes of an Ed25519 secret.
no setter
publicKey → Uint8List
The public key.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Uint8List
The signing secret.
no setter

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