EC8RawTransaction class

Raw Transaction Implementation for EC8

Inheritance

Constructors

EC8RawTransaction.new({required int version, required List<EC8Input> inputs, required List<EC8Output> outputs, required int validFrom, required int validUntil, Map<ElectrumOutput, Input>? inputMap})
const
EC8RawTransaction.fromHex(String hex)
factory

Properties

asHex → String
no setterinherited
bytes → Uint8List
no setteroverride
bytesForSigning → Uint8List
Doesnt include weight
no setter
bytesForTxId → Uint8List
no setter
fee → BigInt
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
inputMap → Map<ElectrumOutput, Input>?
Mapping of UTXOs to generated inputs Non Null if returned from buildUnsignedTransaction
finalinherited
inputs → List<EC8Input>
final
outputs → List<EC8Output>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
no setterinherited
targetAmount → BigInt
no setterinherited
totalInputValue → BigInt
no setterinherited
totalOutputValue → BigInt
no setterinherited
txid → String
no setteroverride
validFrom → int
final
validUntil → int
final
version → int
finalinherited
weight → BigInt
no setterinherited

Methods

createCopy() → EC8RawTransaction
override
legacySigHash({required int index, required Uint8List prevScriptPubKey, required int hashType}) → Uint8List
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign({required Uint8List seed, required HDWalletPath walletPath, required UTXONetworkType networkType}) → RawTransaction
inherited
toString() → String
A string representation of this object.
inherited

Operators

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