Linked Questions

2 votes
2 answers

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

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

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
1 answer

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? ...
  • 1,444
0 votes
0 answers

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

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 ...
  • 1
180 votes
2 answers

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 ...
  • 7,226
115 votes
2 answers

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 ...
  • 21.1k
14 votes
3 answers

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")....
  • 567
25 votes
2 answers

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?
  • 8,311
14 votes
3 answers

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 ...
  • 3,137
8 votes
2 answers

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:{gas: ...
14 votes
3 answers

Why does Ethereum have gas?

Why does Ethereum have gas? What other approaches could Ethereum have used to work around the Halting Problem?
  • 79.7k
3 votes
3 answers

What is the point of variable transaction fees in Ethereum (and Bitcoin as well)?

After reading through the docs and through this post, I understand the concept and need for gas, but I do not understand why each transaction can have a variable fee associated with it. It seems to be ...
's user avatar
8 votes
1 answer

What is the cost of using a Chainlink Oracle?

I use the to check available jobs and each job has its own price in terms of link. My question is how many times this fee will be paid? For example: Let's say the API GET request costs 0....
  • 1,154

15 30 50 per page