Helper function for calculating gas spent
MattPereira opened this issue · comments
Matt commented
Input
- transaction receipt
Output
- $ amount spent
Steps
- multiply effectiveGasPrice by cumulativeGasUsed to get wei value
- convert to usd value
Collection of scripts for interacting with the Ethereum Virtual Machine
MattPereira opened this issue · comments
Input
Output
Steps