WaasDelegateKeySharesPayload class

delegateKeyShares' payload: mints a new, server-managed share set and delegates signing authority to it, optionally seeding its policy layer.

Constructors

WaasDelegateKeySharesPayload({required String chainName, required String signedSessionId, required String authToken, required String accountAddress, List<WaasPolicyRule>? initialSignerRules, String? password})
const

Properties

accountAddress → String
final
authToken → String
final
chainName → String
final
hashCode → int
The hash code for this object.
no setterinherited
initialSignerRules → List<WaasPolicyRule>?
Rules to seed the delegated signer's own policy layer with, at delegation time.
final
password → 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) → WaasDelegateKeySharesPayload