WaasSignTransactionPayload class

signTransaction's payload. Note senderAddress: this one call names the signing address differently from every other, and that is the page's own spelling.

Constructors

WaasSignTransactionPayload({required String chainName, required String signedSessionId, required String authToken, required String senderAddress, required String transaction, String? chainId, List<int>? signingIndexes, List<int>? allowedSighash, String? elevatedAccessToken})
const

Properties

allowedSighash → List<int>?
Sighash types the signer may use (BTC PSBT).
final
authToken → String
final
chainId → String?
Numeric chain id as a string, for EVM — the page assembles the signed transaction for it.
final
chainName → String
final
elevatedAccessToken → String?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderAddress → String
final
signedSessionId → String
final
signingIndexes → List<int>?
Which inputs to sign (BTC PSBT); absent means every input.
final
transaction → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payloadJson() → String
This payload as the JSON the waas-v1 page expects. A caller puts it in a bridge envelope's args array. An absent optional is omitted, not sent as null — the page tells those apart.
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → WaasSignTransactionPayload