ScTxData class

Holds the assembled SC transaction plus the signing digests.

Inheritance

Constructors

ScTxData({required Map<String, dynamic> transaction, required List<String> toSign})
ScTxData.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSigned bool
getter/setter pairinherited
message String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
getter/setter pairinherited
toSign List<String>
Hex-encoded digests, one per siacoinInput.
final
transaction Map<String, dynamic>
The full transaction map (WASM output with satisfiedPolicy.signatures).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBroadcast() Map<String, dynamic>
Build the legacy broadcast payload matching buildLegacyBroadcastPayload in the JS reference.
override
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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