ProvisionedTransaction class

A single transaction in a funding provision batch.

Provisioning produces a tree: a split TX (level 1) fans out into earmark TXs (level 2). Each earmark places the target funding amount at vout=1 (satisfying PP1/PP3 hardcoded constraints).

Results are ordered for sequential broadcast (split TX first).

Constructors

ProvisionedTransaction({required String txid, required String rawHex, required int feeSats, required String role, String? purpose, required int fundingVout, required int fundingSats})
const

Properties

feeSats → int
Fee paid by this transaction in satoshis.
final
fundingSats → int
Satoshis at fundingVout. -1 for split.
final
fundingVout → int
Output index where earmarked sats sit. Always 1 for earmarks (protocol constraint), -1 for split.
final
hashCode → int
The hash code for this object.
no setterinherited
purpose → String?
Earmark purpose. Null for split TX. Values: "issuance-witness", "transfer", "transfer-witness".
final
rawHex → String
Raw transaction hex.
final
role → String
Role in the provision tree: "split" (level 1) or "earmark" (level 2).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
txid → String
Transaction ID (hex).
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