ScpDigestResult class

Data models for SCP (SiaCoin Prime) transactions.

The unsigned transaction structure differs from SC: uses parentID + unlockConditions instead of parent + satisfiedPolicy, and has transactionSignatures, minerFees (array), and arbitraryData fields. Result after computing signing digests for an ScpUnsignedTransaction.

Constructors

ScpDigestResult({required Map<String, dynamic> transaction, required List<String> toSign})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toSign List<String>
Hex-encoded digests to be signed, one per transactionSignatures entry.
final
transaction Map<String, dynamic>
The original unsigned transaction map.
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