@plutoxyz/frame-js
Version:
SDK for integrating with Pluto Frame
9 lines (8 loc) • 741 B
TypeScript
export declare const sendMetadata: (hostOrigin: string, fingerprint: string, sessionId: string, notaryEndpoint?: string) => Promise<any>;
export declare const runScript: (script: string, sessionId: string, notaryEndpoint?: string) => Promise<any>;
export declare const closeSession: (sessionId: string, notaryEndpoint?: string) => Promise<any>;
export declare const submitPrompts: (requestId: string, promptValues: Array<{
value: any;
}>, sessionId: string, notaryEndpoint?: string) => Promise<any>;
export declare const getProof: (sessionId: string, notaryEndpoint?: string) => Promise<any>;
export declare const submitOauth: (requestId: string, code: string, state: string, sessionId: string, notaryEndpoint?: string) => Promise<any>;