ScV2TransactionSemantics class

Canonical, key-free SC V2 transaction semantics and its signing digest.

The first profile contains only siacoin input parent IDs, siacoin outputs, and the miner fee. Witness data (Merkle proofs, leaf indices, parent outputs, policies, and signatures) is intentionally absent.

Constructors

ScV2TransactionSemantics({required String profile, required Uint8List bytes, required String inputSigHash, required int inputCount, required List<String> parentIds, required List<ScV2SemanticOutput> outputs, required BigInt minerFee})
ScV2TransactionSemantics.fromJson(Map<String, dynamic> json)
factory

Properties

bytes → Uint8List
final
changeOutputs → List<ScV2SemanticOutput>
no setter
externalOutputs → List<ScV2SemanticOutput>
no setter
hashCode → int
The hash code for this object.
no setterinherited
inputCount → int
final
inputSigHash → String
final
minerFee → BigInt
final
outputs → List<ScV2SemanticOutput>
final
parentIds → List<String>
final
profile → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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