@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
1 lines • 575 B
Source Map (JSON)
{"version":3,"file":"get-interface-state.mjs","sourceRoot":"","sources":["../../../src/types/methods/get-interface-state.ts"],"names":[],"mappings":"","sourcesContent":["import type { InterfaceState } from '../interface';\n\n/**\n * The request parameters for the `snap_getInterfaceState` method.\n *\n * @property id - The interface id.\n */\nexport type GetInterfaceStateParams = {\n id: string;\n};\n\n/**\n * The result returned by the `snap_getInterfaceState` method, which is the state of the interface.\n */\nexport type GetInterfaceStateResult = InterfaceState;\n"]}