Linked Questions
58 questions linked to/from What is meant by the term "gas"?
2 votes
2 answers
20k views
How much is 1 gas in ether? [duplicate]
On Etherscan the daily GasUsed chart shows current usage of 10-15 bill. How do I convert this correctly to ether (ETH)?.
0 votes
1 answer
227 views
How does gas in Ethereum works? [duplicate]
Let say I have a code that print "Hello World". I deploy it to the blockchain and pay 1000 gas for it. Will my code keep running for every subsequent block till it runs out of gas? Or will it only run ...
1 vote
0 answers
234 views
What's the point in the 'gas' parameter passed to function 'signTransaction'? [duplicate]
I am using web3.js v1 in order to sign and send transactions: async function signAndSend(transaction) { let options = { to : transaction._parent._address, data: transaction....
1 vote
2 answers
84 views
Can I say that gas cost is generated due to the EVM Read/Write of opcodes? [duplicate]
I checked the official document of ETH and found that there is a gas cost on each opcode. I want to know why the Gas cost is generated. Can I say that gas cost is generated due to the EVM read/write ...
1 vote
1 answer
103 views
If gas is refunded, is it required to call? [duplicate]
Suppose a smart contract external function uses very much gas, but refunds (with .transfer()) the used gas to the caller. Question: Can it be called with a small amount of gas despite it uses much? ...
0 votes
0 answers
43 views
Etherscan Show Fail out of gas. Eth deducted. But transaction not completed [duplicate]
I have enough ETH to pay the gas fee. After I click accept the transaction fail and it show out of gas on etherscan. Now the gas have been deducted but no transaction happen. Can someone help? The gas ...
0 votes
0 answers
30 views
Pending Transaction. How long may it take? [duplicate]
I have a question about this specific transaction: 0xd0dfbefc699ba79c2ddd86b0f7176e3e6491534db0a57597ec7aab9ce3e71726 the transaction is pending for some days now. I offered 5 gwei as fee. Max Amount ...
196 votes
2 answers
61k views
What is the difference between a transaction and a call?
What is the difference between a transaction and a call? In some interfaces, I can interact with contracts via calls or via transactions. What is the difference between the two, and can contracts also ...
128 votes
3 answers
91k views
Which cryptographic hash function does Ethereum use?
Many sources refer to the use of the "SHA3" cryptographic hash function within Ethereum, but the Ethereum project began before the SHA3 standard was finalised, and there was some confusion/controversy ...
17 votes
4 answers
50k views
How to calculate transaction fee?
For calculating the transaction fee using web3js I am using it's gas price: eth.getTransaction("txhash").gasPrice multiplied by how much gas was actually used: eth.getTransactionReceipt("txhash")....
28 votes
2 answers
22k views
How do I know how much gas to use when calling a contract?
When I am calling (sending a transaction to) a contract how do I determine how much gas to use? Is there a way to calculate this upfront & what happens if I send too much / too few gas?
14 votes
3 answers
12k views
Is it possible to build a private (permissioned) blockchain with Ethereum?
Ethereum is a great blockchain, but for some services the transaction fee is prohibitively too expensive. Is there any project and/or guideline on making Ethereum so it works on permissioned ...
9 votes
2 answers
4k views
Who gets the fee from contract call?
Basically you don't need to pay fee for contract call, but if a contract method does lots of work, you need to add gas in contract call to prevent DoS attack like this: contract.method.call({gas: ...
15 votes
3 answers
894 views
Why does Ethereum have gas?
Why does Ethereum have gas? What other approaches could Ethereum have used to work around the Halting Problem?
2 votes
3 answers
13k views
Calculate The Gas Fee Of A Smart Contract Function Call And Convert The Result to USD Value
How Does One Estimate The Gas Fee Of Particular Smart Contract Function Call? I Am Aware Of Using web3.eth.estimateGas How Can One Take This Estimated Gas Result and Depending on Network Connected ...