Encode-Club-Solidity-Foundations / Lesson-01

21 stars 14 forks source link

How are gas fees calculated? #12

Closed 0xSulpiride closed 1 year ago

MatheusDaros commented 2 years ago

Hello @marie-fourier Gas fees are calculated multiplying the gas cost of a transaction (that depends only on the OPCODES being executed there) and the gas price you select (that fluctuates according to the network usage conditions). You could find an overall explanation on this subject on the pre-work link here and a more detailed explanation on the solidity docs here