UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

1 lines 740 B
{"version":3,"file":"manage-accounts.mjs","sourceRoot":"","sources":["../../../src/types/methods/manage-accounts.ts"],"names":[],"mappings":"","sourcesContent":["import type { Json } from '@metamask/utils';\n\n/**\n * The request parameters for the `snap_manageAccounts` method.\n *\n * @property method - The method to call on the Snap.\n * @property params - The optional parameters to pass to the Snap method.\n */\nexport type ManageAccountsParams =\n | {\n method: string;\n }\n | {\n method: string;\n params: Json[] | Record<string, Json>;\n };\n\n/**\n * The result returned by the `snap_manageAccounts` method, which is the result\n * returned by the Snap.\n */\nexport type ManageAccountsResult = Json;\n"]}