Address class

Constructors

Address({required String address, PublicKeyHash? publicKeyHash, WitPublicKey? publicKey})
Address.fromAddress(String address)
factory
Address.fromPublicKeyHash({required Uint8List hash})
factory

Properties

address String
getter/setter pair
balanceNanoWit int
no setter
balanceWit double
no setter
hashCode int
The hash code for this object.
no setterinherited
publicKey WitPublicKey?
getter/setter pair
publicKeyHash PublicKeyHash?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
utxoPool UtxoPool?
getter/setter pair
utxos List<Utxo>
no setter

Methods

createDRT({required DRTransactionBody body, required WitPrivateKey privateKey, required UtxoSelectionStrategy utxoStrategy, FeeType? feeType, int fee = 0, dynamic networkSource}) Future<DRTransaction>
createVTT({required List<ValueTransferOutput> outputs, required WitPrivateKey privateKey, Address? changeAddress, required UtxoSelectionStrategy utxoStrategy, FeeType? feeType, int fee = 0, required dynamic networkSource, String? metadata}) Future<VTTransaction>
getUtxoInfo({dynamic source}) Future<bool>
To get the UtxoInfo for an address. the source can be NodeClient
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receive(int value, {int timeLock = 0}) ValueTransferOutput
signHash(String hash, WitPrivateKey privateKey) KeyedSignature
toString() String
A string representation of this object.
inherited

Operators

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