PsbtTxData class

Inheritance

Constructors

PsbtTxData(PSBT psbt, String unsignedPsbt, bool isTaproot, {String chain = 'btc', bool isTestnet = false})

Properties

chain → String
final
fee → int
gas fee
no setter
hashCode → int
The hash code for this object.
no setterinherited
isSigned ↔ bool
getter/setter pairinherited
isTaproot → bool
final
isTestnet → bool
final
message ↔ String
getter/setter pairinherited
origin → Origin
no setter
payments → List<Map<String, dynamic>>
no setter
psbt → PSBT
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature ↔ String
getter/setter pairinherited
transferAddress → String
get receive address (first non-change output)
no setter
transferAmount → int
get transfer amount (all outputs, not excluding change)
no setter
unsignedPsbt ↔ String
getter/setter pair

Methods

getSignedTxHex() → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBroadcast() → Map<String, dynamic>
override
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromHash(String hash, {bool isTaproot = false, String chain = 'btc', bool isTestnet = false}) → PsbtTxData
getOrigin(String psbtHex, {String chain = 'btc', bool isTestnet = false}) → Origin