Type alias ClaimRequest<T>

ClaimRequest<T>: {
    authMethod: AuthMethod;
    mintCallback?: MintCallback<T>;
} & (T extends "relay" ? LitRelayConfig : {
    signer: Signer;
})

Model for requesting a PKP to be claimed based on an AuthMethod identifier the MintCallback may be defined for custom processing of the ClaimResult which requires registering on chain, by default chain registering will be done by an external relay.

Property

to derive the key id from for claiming

Property

optional callback for custom on chain registration behavior

Type Parameters

Generated using TypeDoc