@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
1 lines • 687 B
Source Map (JSON)
{"version":3,"file":"clear-state.mjs","sourceRoot":"","sources":["../../../src/types/methods/clear-state.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * The request parameters for the `snap_clearState` method.\n *\n * @property encrypted - Whether to use the separate encrypted state, or the\n * unencrypted state. Defaults to the encrypted state. Encrypted state can only\n * be used if the extension is unlocked, while unencrypted state can be used\n * whether the extension is locked or unlocked.\n */\nexport type ClearStateParams = {\n encrypted?: boolean;\n};\n\n/**\n * The result returned by the `snap_clearState` method.\n */\nexport type ClearStateResult = null;\n"]}