diff --git a/src/screens/SignTransactionSheet.tsx b/src/screens/SignTransactionSheet.tsx index d5294f2ac1c..256eb2262eb 100644 --- a/src/screens/SignTransactionSheet.tsx +++ b/src/screens/SignTransactionSheet.tsx @@ -46,6 +46,7 @@ import { import { Network } from '@/networks/types'; import { ETH_ADDRESS } from '@/references'; import { + convertAmountToNativeDisplay, convertHexToString, convertRawAmountToBalance, delay, @@ -143,7 +144,7 @@ export const SignTransactionSheet = () => { const { goBack, navigate } = useNavigation(); const { colors, isDarkMode } = useTheme(); const { width: deviceWidth } = useDimensions(); - const { accountAddress } = useAccountSettings(); + const { accountAddress, nativeCurrency } = useAccountSettings(); const [simulationData, setSimulationData] = useState(); const [simulationError, setSimulationError] = useState(undefined); const [simulationScanResult, setSimulationScanResult] = useState(undefined); @@ -407,6 +408,7 @@ export const SignTransactionSheet = () => { // TX Signing simulationData = await metadataPOSTClient.simulateTransactions({ chainId: chainId, + currency: nativeCurrency?.toLowerCase(), transactions: [ { from: req?.from, @@ -1495,9 +1497,9 @@ const SimulatedEventRow = ({ assetCode = ETH_ADDRESS; } const showUSD = (eventType === 'send' || eventType === 'receive') && !!price; - const formattedPrice = `$${price?.toLocaleString?.('en-US', { - maximumFractionDigits: 2, - })}`; + + const formattedPrice = price && convertAmountToNativeDisplay(price, nativeCurrency); + return (