snap_getPreferences
Parameters
length
JsonReturns
locale
stringThe user's selected locale.
currency
stringThe user's selected currency.
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.