@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
1 lines • 682 B
Source Map (JSON)
{"version":3,"file":"invoke-keyring.cjs","sourceRoot":"","sources":["../../../src/types/methods/invoke-keyring.ts"],"names":[],"mappings":"","sourcesContent":["import type { Json } from '@metamask/utils';\n\nimport type { InvokeSnapParams } from './invoke-snap';\n\n/**\n * The request parameters for the `wallet_invokeKeyring` method.\n *\n * @property snapId - The ID of the snap to invoke.\n * @property request - The JSON-RPC request to send to the snap.\n */\nexport type InvokeKeyringParams = InvokeSnapParams;\n\n/**\n * The result returned by the `wallet_invokeKeyring` method, which is the result\n * returned by the Snap.\n */\nexport type InvokeKeyringResult = Json;\n"]}