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).

Inheritance

Constructors

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

Properties

correlationId → String
The correlation ID of the message.
no setterinherited
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
replyTimeout → Duration
How long WalletCoordinator.ask waits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.
no setterinherited
replyTo → ActorRef?
The actor to reply to.
no setterinherited
requestId → String
Identifies this request; its reply carries it back.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The timestamp of the message.
finalinherited
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