CrossmintDelegationSignatureService class

Fetches a Lit Protocol capacity delegation signature from the Crossmint API.

This is used to authorize decryption of credentials encrypted with DECENTRALIZED_LIT. The delegation signature grants the caller capacity on the Lit network without requiring their own Lit tokens.

Note: Lit Protocol decryption itself is not supported on mobile (no @lit-protocol/lit-node-client equivalent for Dart). This service is provided for future integration when a mobile-compatible Lit client becomes available.

Constructors

CrossmintDelegationSignatureService({required String baseUrl, required String apiKey, Client? httpClient})

Properties

apiKey String
final
baseUrl 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

Methods

getDelegationSignature() Future<CrossmintJsonMap>
Fetches the delegation signature from Crossmint.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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