{"version":3,"file":"get-preferences.mjs","sourceRoot":"","sources":["../../../src/types/methods/get-preferences.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * The request parameters for the `snap_getPreferences` method.\n *\n * This method does not accept any parameters.\n */\nexport type GetPreferencesParams = never;\n\n/**\n * The result returned by the `snap_getPreferences` method.\n *\n * It is the user selected preferences from the MetaMask client.\n *\n * @property locale - The user's selected locale.\n * @property currency - The user's selected currency.\n * @property hideBalances - Whether the user has chosen to hide balances.\n * @property useSecurityAlerts - Whether to run transactions and signatures through security providers.\n * @property simulateOnChainActions - Whether to simulate transactions and signatures.\n * @property useTokenDetection - Whether to auto-detect tokens.\n * @property batchCheckBalances - Whether to fetch balances in an aggregated manner.\n * @property displayNftMedia - Whether to display NFT media.\n * @property useNftDetection - Whether to auto-detect NFTs.\n * @property useExternalPricingData - Whether to get token price data from an external source.\n */\nexport type GetPreferencesResult = {\n  locale: string;\n  currency: string;\n  hideBalances: boolean;\n  useSecurityAlerts: boolean;\n  simulateOnChainActions: boolean;\n  useTokenDetection: boolean;\n  batchCheckBalances: boolean;\n  displayNftMedia: boolean;\n  useNftDetection: boolean;\n  useExternalPricingData: boolean;\n};\n"]}