mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Track total, performance and fee savings (and median metamask fee data) in metrics (#9833)
This commit is contained in:
parent
8443c3bdde
commit
d094d2c227
@ -650,7 +650,10 @@ export const signAndSendTransactions = (history, metaMetricsEvent) => {
|
||||
estimated_gas: estimatedGasLimit.toString(10),
|
||||
suggested_gas_price: fastGasEstimate,
|
||||
used_gas_price: hexWEIToDecGWEI(usedGasPrice),
|
||||
average_savings: usedQuote.savings?.performance,
|
||||
average_savings: usedQuote.savings?.total,
|
||||
performance_savings: usedQuote.savings?.performance,
|
||||
fee_savings: usedQuote.savings?.fee,
|
||||
median_metamask_fee: usedQuote.savings?.medianMetaMaskFee,
|
||||
}
|
||||
|
||||
const metaMetricsConfig = {
|
||||
|
Loading…
Reference in New Issue
Block a user