UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

14 lines 469 B
import type { InterfaceContext } from "../interface.mjs"; /** * The request parameters for the `snap_getInterfaceContext` method. * * @property id - The interface id. */ export type GetInterfaceContextParams = { id: string; }; /** * The result returned by the `snap_getInterfaceContext` method, which is the context for a given interface. */ export type GetInterfaceContextResult = InterfaceContext | null; //# sourceMappingURL=get-interface-context.d.mts.map