WaasSignRawMessagePayload class

Raw digest signing payload used for an EIP-7702 authorization.

Constructors

WaasSignRawMessagePayload({required String chainName, required String signedSessionId, required String authToken, required String accountAddress, required String message, required WaasSignMessageContext context, String? elevatedAccessToken})
const

Properties

accountAddress → String
final
authToken → String
final
chainName → String
final
context → WaasSignMessageContext
final
elevatedAccessToken → String?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signedSessionId → 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) → WaasSignRawMessagePayload