The EVM uses gas to assess complexity smart contract operations and so corresponding fees. In Ethereum , gas costs for an operation are converted into ETH through the gas price parameter that an Ethereum user stipulates for a transaction. Similarly, in Hedera, gas costs for a Solidity smart contract operation (such as running the constructor, storing runtime bytecode, and subsequent contracts calls) are converted into a fee component via a coefficient in the published fee schedule. Unlike in Ethereum, clients need not specify higher or lower ‘gas price’ in order to encourage processing of a transaction into consensus – all clients use the same equivalent ‘gas price’.
Articles in this section
- What fees does Hedera charge to use the network?
- Why do users need to pay for network services and why must they do so in hbars?
- How are the transfers and fees associated with a transaction published?
- How does the exchange rate impact transaction fees?
- What does a COST_ANSWER query return?
- Are there any free operations?
- How is Solidity gas accounted for in determing the fee for a smart contract operation?
- Who pays for threshold records?
- How many accounts are associated with an hbar transfer?
- How is the fee for a query paid?