PsbtOutputImpl mixin

Superclass constraints
Mixin applications

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOutput(PsbtTransactionOutput output) → void
Adds a new transaction output to the PSBT.
buildUnsignedTransaction() → BtcTransaction
Constructs an unsigned Bitcoin transaction from the PSBT.
inherited
finalizeAll({ONFINALIZEINPUT<PsbtTransactionInput>? onFinalizeInput}) → BtcTransaction
Finalizes all inputs in the PSBT and returns the finalized transaction.
inherited
finalizeAllAndGetTransactionSize({ONFINALIZEINPUT<PsbtTransactionInput>? onFinalizeInput}) → int
Finalizes all inputs and returns the serialized transaction size in bytes.
inherited
getUnSafeTransactionSize({ONFINALIZEINPUT<PsbtTransactionInput>? onFinalizeInput}) → int
Estimates the transaction size before finalization. Optionally accepts a onFinalizeInput callback to customize input finalization.
inherited
indexFinalized(int index) → bool
Checks if the specified input index is finalized.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
psbtInput(int index) → PsbtTransactionInput
Retrieves the PSBT representation of a transaction input at the specified index.
inherited
psbtInputs() → List<PsbtTransactionInput>
Retrieves a list of all PSBT transaction inputs.
inherited
psbtOutput(int index) → PsbtTransactionOutput
Retrieves the PSBT representation of a transaction output at the specified index.
inherited
psbtOutputs() → List<PsbtTransactionOutput>
Retrieves a list of all PSBT transaction outputs.
inherited
removeOutput(int index) → void
Removes a transaction output from the PSBT.
toBase64() → String
Encodes the PSBT as a Base64 string.
inherited
toBytes() → String
Returns the raw PSBT data as a hexadecimal string.
inherited
toHex() → String
Encodes the PSBT as a hexadecimal string.
inherited
toJson() → Map<String, dynamic>
Serializes the PSBT into a JSON-compatible map.
inherited
toString() → String
A string representation of this object.
inherited
txInput(int index) → TxInput
Retrieves the transaction input at the specified index.
inherited
txInputs() → List<TxInput>
Retrieves a list of all transaction inputs.
inherited
txOutput(int index) → TxOutput
Retrieves the transaction output at the specified index.
inherited
txOutputs() → List<TxOutput>
Retrieves a list of all transaction outputs.
inherited
txType() → PsbtTxType
Determines the current transaction type (Legacy, WitnessV0, or WitnessV1). The transaction type can change when inputs are added or removed.
inherited
updateOutput(int index, PsbtTransactionOutput output) → void
Updates an existing transaction output in the PSBT.

Operators

operator ==(Object other) → bool
The equality operator.
inherited