@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
16 lines • 492 B
text/typescript
import type { InterfaceContext } from "../interface.cjs";
/**
* An object containing the parameters for the `snap_getInterfaceContext`
* method.
*
* @property id - The interface ID.
*/
export type GetInterfaceContextParams = {
id: string;
};
/**
* The context for the given interface. May be `null` if no context was provided
* when the interface was created.
*/
export type GetInterfaceContextResult = InterfaceContext | null;
//# sourceMappingURL=get-interface-context.d.cts.map