ScWasmResult class
Result from the SC WASM after processing a ScUnsignedTransaction.
The WASM returns the transaction JSON with signing digests pre-filled in
siacoinInputs[].satisfiedPolicy.signatures[0] (first 64 hex chars = digest).
Constructors
-
ScWasmResult({required Map<
String, dynamic> transaction, required List<String> toSign}) -
ScWasmResult.fromJson(Map<
String, dynamic> json) -
factory
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 siacoinInput.
Extracted from
satisfiedPolicy.signatures[0].substring(0, 64).final -
transaction
→ Map<
String, dynamic> -
The full transaction JSON returned by the WASM.
Same structure as ScUnsignedTransaction with computed digests.
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