ScpTxData class

Holds the assembled SCP transaction plus the signing digests.

Unlike ScTxData, SCP does not use WASM — digests are computed in pure Dart via ScpSigHash, and signatures are stored in transactionSignatures[*].signature (base64-encoded Ed25519).

Inheritance

Constructors

ScpTxData({required Map<String, dynamic> transaction, required List<String> toSign, List<ScpTransactionSignature> transactionSignatures = const []})
ScpTxData.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 transactionSignatures entry.
final
transaction Map<String, dynamic>
The full signed transaction map (API shape with transactionSignatures).
final
transactionSignatures List<ScpTransactionSignature>
The transaction signature entries (parallel to toSign).
final

Methods

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

Operators

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