mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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),
|
estimated_gas: estimatedGasLimit.toString(10),
|
||||||
suggested_gas_price: fastGasEstimate,
|
suggested_gas_price: fastGasEstimate,
|
||||||
used_gas_price: hexWEIToDecGWEI(usedGasPrice),
|
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 = {
|
const metaMetricsConfig = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user