Address class

Interface for element that Wallet contains

Implementers

Constructors

Address()

Properties

accountId int
ID of the Account this Address belongs to.
read / write
balance num
Spendable balance for this Address.
read / write
chainCode ChainCode
The chain code (if any) associated with privateKey.
read-only
chainIndex int
The chain index (if any) used to derive this Address.
read / write
earliestSeen int
Lowest Block.height involving this Address.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
latestSeen int
Highest Block.height involving this Address.
read / write
loadIterator TransactionIterator
Iterator for loading more Transaction involving Address.
read / write
maturesBalance num
Maturing balance for this address.
read / write
maturesHeight int
Maturing balance height for this address.
read / write
name String
Display name for this Address.
read / write
newBalance num
Holds balance update during PeerNetwork synchronization.
read / write
newMaturesBalance num
Holds maturesBalance update during PeerNetwork synchronization.
read / write
privateKey PrivateKey
The PrivateKey (if any) assocaited with publicKey.
read-only
publicKey PublicAddress
The PublicAddress defines this Address.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state AddressState
AddressState tracks used and removed Adddress.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Marshals Address as a JSON-encoded string.
toString() String
Returns a string representation of this object.
inherited
updateSeenHeight(int height) → void
Track the earliest and latest height each Address has been seen
verify() bool
Verifies the integrity of this Address

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

compareBalance(dynamic a, dynamic b) int
Sort by balance and tie-break so only equivalent Address compare equal
compareIndex(dynamic a, dynamic b) int
An HD wallet Address is defined by an accountId, chainIndex pair
reduceBalance(Address a, Address b) Address
Find single Address with greatest balance