UNPKG

@interlinklabs/mdk

Version:

Interlink Labs MDK – universal React/TS SDK

11 lines (10 loc) 378 B
export interface IntentRes { intentId: string; challenge: string; } export interface ClaimRes { rewardType: "coin" | "revive" | "item"; value: number | string; } export declare const createIntent: (token: string, rewardType: string, value?: number) => Promise<IntentRes>; export declare const claimIntent: (token: string, intentId: string) => Promise<ClaimRes>;