AddressGeneratedEvent class
Result of GenerateAddressCommand: the wallet's fresh address, where it sits on the wallet's keys (chain, derivationIndex) and, when asked for, its publicKeyHex.
- Inheritance
-
- Object
- CoordinatorEvent
- CoordinatorReply
- AddressGeneratedEvent
Constructors
- AddressGeneratedEvent({required String walletId, String? requestId, required bool success, String? address, int? derivationIndex, AddressChain? chain, String? publicKeyHex, String? error})
Properties
- address → String?
-
final
- chain → AddressChain?
-
final
- derivationIndex → int?
-
final
- error → String?
-
final
- eventTimestamp → DateTime
-
When the event was made.
finalinherited
- failure → String?
-
Why the request failed, or null when it succeeded.
WalletCoordinator.askthrows a CoordinatorFailure carrying this reply when it is not null.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- publicKeyHex → String?
-
final
- requestId → String?
-
The CoordinatorRequest.requestId of the request this answers; null
when no request caused it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
final
- walletId → String
-
Optional wallet ID for filtering events by wallet
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