WalletSendTransactionCreated class final
A TRANSACTION EXISTS. This is the decidable fact, and it is deliberately not "the broadcast succeeded".
Every transaction in txids was signed and PERSISTED by the wallet. Some of
them may not have reached the network yet (broadcastCount is how many the
endpoint accepted) — a broadcast failure is DATA, not an error, and the
wallet re-broadcasts on the next sync. A host that treats
broadcastCount < txids.length as "the payment failed" will be wrong about
money that is on its way.
- Inheritance
-
- Object
- WalletSendReport
- WalletSendTransactionCreated
Constructors
-
WalletSendTransactionCreated({required List<
String> txids, required int broadcastCount, required WalletSendMotion motion, int? recipientAmountZat, String? correlationId})
Properties
- broadcastCount → int
-
How many of txids the endpoint accepted (
0..txids.length). The rest are persisted and re-broadcast by the wallet; they are not lost.final - correlationId → String?
-
The opaque token the host put on WalletSendRequest.correlationId, echoed
back verbatim.
nullwhen the host set none.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- motion → WalletSendMotion
-
Whether funds have left the shielded pool onto a wallet-controlled
one-time address without confirming at the recipient — see
WalletSendMotion, and note it is THREE-valued for a reason.
final
- recipientAmountZat → int?
-
FR-46: the TOTAL this payment pays its one recipient, in zatoshis, AS
SIGNED — the fee excluded; two payments to the same address are summed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
txids
→ List<
String> -
The transaction ids, hex, in the order the wallet minted them. NEVER
empty — a report with no txid is not this variant (see
WalletSendUnclassified).
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