@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
14 lines • 441 B
text/typescript
import type { InterfaceState } from "../interface.mjs";
/**
* The request parameters for the `snap_getInterfaceState` method.
*
* @property id - The interface id.
*/
export type GetInterfaceStateParams = {
id: string;
};
/**
* The result returned by the `snap_getInterfaceState` method, which is the state of the interface.
*/
export type GetInterfaceStateResult = InterfaceState;
//# sourceMappingURL=get-interface-state.d.mts.map