BchTxInput class

One UTXO the transaction spends. P2PKH only — that is what the device signs.

Constructors

BchTxInput({required String txid, required int index, required Object value, required Object publicKey, required String path})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Output index of the UTXO.
final
path String
Full derivation path of that key, e.g. m/44'/145'/0'/0/0.
final
publicKey Object
The compressed (33-byte) public key that owns the UTXO (Uint8List or hex String).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
txid String
Display-order (big-endian) txid of the UTXO, 64 hex chars.
final
value Object
UTXO value in satoshis (int or BigInt) — part of the BIP-143 sighash, so it MUST be exact.
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