Account class

A blockchain account derived from a wallet.

Constructors

Account({required String id, required String wallet, required String name, required int index, required String type, required String path, required String address, required String uri, required String pubkey, required String chaincode, required DateTime created, required DateTime updated})
const
Account.fromJson(Map<String, dynamic> json)
factory

Properties

address → String
On-chain address for this account.
final
chaincode → String
Hex-encoded BIP-32 chain code for child key derivation.
final
created → DateTime
Timestamp when the account was created.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for this account.
final
index → int
Account index used in key derivation.
final
isViewOnly → bool
True when this account has no backing wallet (created via AccountApi.createView). View-only accounts can query balance and NFT holdings but cannot sign transactions or messages.
no setter
name → String
Human-readable account name.
final
path → String
BIP-44 derivation path (e.g. m/44'/60'/0'/0/0).
final
pubkey → String
Hex-encoded public key for this account.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
Blockchain type: ethereum, bitcoin, or solana.
final
updated → DateTime
Timestamp when the account was last updated.
final
uri → String
URI representation of the address (e.g. ethereum:0x...).
final
wallet → String
ID of the parent wallet this account was derived from.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited