SignInputCommand class
Command to sign one input of a transaction with the wallet key at an explicit derivation path, against a caller-supplied subscript and amount.
The aggregate replies InputSignedResponse carrying the signature (DER
plus sighash byte) and the signing key's public key; nothing is journaled.
For WIF wallets the path is ignored (single key); watch-only wallets are
refused.
- Inheritance
-
- Object
- WalletCommand
- SignInputCommand
Constructors
Properties
- commandId → String
-
Unique identifier for this command
Used for deduplication and tracing
no setterinherited
- commandType → String
-
Command type identifier for logging and debugging
no setteroverride
- correlationId → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputIndex → int
-
Index of the input to sign.
final
- keyPath → KeyPath
-
Where the signing key comes from: an HD path, or a type-42 derivation
the wallet recorded.
final
-
metadata
→ Map<
String, dynamic> -
finalinherited
- payload → dynamic
-
Override payload to return the command itself for LocalMessage compatibility
no setterinherited
-
persistableMetadata
→ Map<
String, dynamic> -
metadataas it is persisted: transientActorRefentries removed.no setterinherited - rawTransaction → String
-
Transaction whose input is signed (hex). Unlocking scripts are ignored:
the signature hash does not cover them.
final
- replyTo → ActorRef?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satoshis → BigInt
-
Value of the output being spent, in satoshis.
final
- sender → ActorRef?
-
finalinherited
- sighashType → int
-
SIGHASH flags; SIGHASH_ALL | SIGHASH_FORKID by default.
final
- subscriptHex → String
-
Script the signature commits to: the locking script of the output
being spent (or the part of it after the last executed OP_CODESEPARATOR).
final
- timestamp → DateTime
-
finalinherited
- typeName → String
-
Stable identity of this command type in storage.
no setterinherited
- walletId → String
-
finalinherited
Methods
-
getValidationErrors(
) → List< String> -
Get validation errors
Override in subclasses to provide specific error messages
inherited
-
isValid(
) → bool -
Validate the command
Override in subclasses for custom validation
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCbor(
) → List< int> -
Serialize command to CBOR bytes
inherited
-
toMap(
) → Map< String, dynamic> -
Convert command to a map for serialization.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited