RecordOutgoingCommand class
Record an outgoing transaction in the wallet
- Inheritance
-
- Object
- CoordinatorRequest<
TransactionRecordedEvent> - RecordOutgoingCommand
Constructors
-
RecordOutgoingCommand({required String walletId, required String txid, required String rawHex, required int totalInputSats, required int totalOutputSats, required int fee, required int numInputs, required int numOutputs, required int txVersion, required int txLockTime, required List<
String> spentUtxoKeys, required List<String> recipientAddresses, required int paymentAmount, String? changeAddress, int? changeAmount, String? counterpartyMarker, String? memo, String? requestId})
Properties
- changeAddress → String?
-
final
- changeAmount → int?
-
final
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- counterpartyMarker → String?
-
The app's opaque marker for the counterparty of this payment (bead
libspiffy-cq16, spv-understanding.md "Core Data Management"
requirement 5): an Ed25519 identity key, an email address, a peer id,
an internal account id — whatever the app uses for identity. It is
stored with the payment and returned by the transaction queries;
libspiffy never interprets, validates or parses it, and the identity
record itself stays with the app. Null when none is supplied.
final
- fee → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- memo → String?
-
The payment's note, written by the payer for the payee. libspiffy
journals it and returns it and never interprets it. Null when none.
final
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- numInputs → int
-
final
- numOutputs → int
-
final
- paymentAmount → int
-
final
- rawHex → String
-
final
-
recipientAddresses
→ List<
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
-
spentUtxoKeys
→ List<
String> -
final
- timestamp → DateTime
-
The timestamp of the message.
finalinherited
- totalInputSats → int
-
final
- totalOutputSats → int
-
final
- txid → String
-
final
- txLockTime → int
-
final
- txVersion → int
-
final
- 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