GenerateAddressCommand class

Asks wallet walletId for a fresh address of its own: a key no payment has named yet, derived on its receive chain (purpose 'receive', the default) or its change chain ('change'), with an optional label. With includePublicKey the answer carries the key's public key, which a counterparty needs to name the wallet's coin by key (a swap's funding, a P2PK output) or to build a multisig with it. Answered with AddressGeneratedEvent once the read model holds the address, so a payment to it validates at once (SPV attributes outputs by the read model's address rows).

Constructors

GenerateAddressCommand({required String walletId, String? label, String? purpose, bool includePublicKey = false, String? requestId})

Properties

correlationId → String
The correlation ID of the message.
no setter
hashCode → int
The hash code for this object.
no setterinherited
includePublicKey → bool
final
label → String?
final
metadata → Map<String, dynamic>
The metadata of the message.
no setter
purpose → String?
final
replyTo → ActorRef?
The actor to reply to.
no setter
requestId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The timestamp of the message.
no setter
walletId → String
final

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