UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

1 lines 617 B
{"version":3,"file":"get-session.mjs","sourceRoot":"","sources":["../../../../src/types/methods/multichain/get-session.ts"],"names":[],"mappings":"","sourcesContent":["import type { CreateSessionResult } from './create-session';\n\n/**\n * The request parameters for the `wallet_getSession` method.\n *\n * This method does not accept any parameters.\n */\nexport type GetSessionParams = never;\n\n/**\n * The result returned for the `wallet_getSession` method.\n *\n * @property sessionScopes - The scopes granted for the session.\n */\nexport type GetSessionResult = Pick<CreateSessionResult, 'sessionScopes'>;\n"]}