SignMessageCommand class
Signs message as a Bitcoin Signed Message with the wallet key whose public key hashes to pubkeyHash (40 hex), to prove the wallet holds the key of that address — the owner of a token at it, say. The wallet adds the message prefix and hashes the message, so a key never signs a digest the caller chose; the message should name its purpose (domain separation). A key the wallet does not hold, or only watches, is refused. Answered with MessageSignedEvent.
- Inheritance
-
- Object
- CoordinatorRequest<
MessageSignedEvent> - SignMessageCommand
Constructors
Properties
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
message
→ List<
int> -
final
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- pubkeyHash → String
-
final
- replyTimeout → Duration
-
How long
WalletCoordinator.askwaits 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