snap_getPreferences
Description
Gets the user's preferences.
Returns
locale
stringThe user's locale setting as a language code.
currency
stringThe user's preferred fiat currency code.
hideBalances
booleanWhether the user has chosen to hide balances.
useSecurityAlerts
booleanWhether to run transactions and signatures through security providers.
simulateOnChainActions
booleanWhether to simulate transactions and signatures.
useTokenDetection
booleanWhether to auto-detect tokens.
batchCheckBalances
booleanWhether to fetch balances in an aggregated manner.
displayNftMedia
booleanWhether to display NFT media.
useNftDetection
booleanWhether to auto-detect NFTs.
useExternalPricingData
booleanWhether to get token price data from an external source.
showTestnets
booleanWhether to show testnets.