diff --git a/src/components/Molecules/Transaction/TransactionDetails/TransactionDetails.tsx b/src/components/Molecules/Transaction/TransactionDetails/TransactionDetails.tsx index 77352599..07a50790 100644 --- a/src/components/Molecules/Transaction/TransactionDetails/TransactionDetails.tsx +++ b/src/components/Molecules/Transaction/TransactionDetails/TransactionDetails.tsx @@ -157,10 +157,10 @@ export const TransactionDetails: React.FC = ({ heading: "GAS PRICE", content: `${calculatePrettyBalance( BigInt(result.gas_price || 0), - result.gas_metadata?.contract_decimals, + 9, true, 10, - )} ${result.gas_metadata?.contract_ticker_symbol}`, + )} GWEI`, }, ] as CardDetailProps[] ).map((props) => ( diff --git a/src/components/Molecules/Transaction/TransactionReceipt/TransactionReceipt.tsx b/src/components/Molecules/Transaction/TransactionReceipt/TransactionReceipt.tsx index ebc88011..a24737d5 100644 --- a/src/components/Molecules/Transaction/TransactionReceipt/TransactionReceipt.tsx +++ b/src/components/Molecules/Transaction/TransactionReceipt/TransactionReceipt.tsx @@ -533,7 +533,18 @@ export const TransactionReceipt: React.FC = ({ .gas_metadata ?.contract_ticker_symbol } - + {" "} + ( + {calculatePrettyBalance( + BigInt( + result.tx_metadata + ?.gas_price ?? 0, + ), + 9, + true, + 4, + )}{" "} + GWEI)