Questions tagged [gas-price]

Questions dealing with the gas price of a transaction.

So as to encourage miners' continued participation in the network, each transaction incurs a transaction fee denominated in gas units. The more complex a transaction, the higher the number of gas units incurred.

gas price is the amount the payer of the transaction fee is willing to pay for each gas unit. Higher gas price encourages more miners to include the transaction in a block, thereby increasing the likelihood that the transaction will be processed quickly.

If you were in line at a gas station, and you let the owner of the gas station know that you were willing to pay $100.00 US for a gallon of gas if they moved you to the front of the line, they would move you to the front of the line. Higher gas price equals faster service.

492 questions
16
votes
5 answers

How to get the actual Gas price?

Is there a way to get the lowest and average price miners are asking for gas? Some statistics sites seem to have prices but they are outdated.
Roland Kofler
  • 11,638
  • 3
  • 44
  • 83
5
votes
2 answers

With the rising Ether price to $9, doesn't this mean gas costs more?

With the increase in the ether price, doesn't gas cost more, hence higher price to execute a contract? What is the current gas price today to execute a typical contract or send a transaction?
Patoshi パトシ
  • 4,800
  • 7
  • 45
  • 93
4
votes
1 answer

Setting gasPrice not working on private network

I'm running geth with the following option: --gasprice 21000 But if I execute the following command: > eth.gasPrice It gives me 20000000000.
Henrique Barcelos
  • 2,481
  • 4
  • 20
  • 38
4
votes
3 answers

Are smart contracts expensive?

I have a Python program using stack operations and string concatenations. It runs in less than a minute on a particular input, doing about 100 million string operations. Doing this number of operations in Ethereum will today cost about $2 million in…
Guest
  • 41
  • 1
  • 3
4
votes
1 answer

How does gas price / deployment cost scale with network size?

Holding ether/usd price constant, how does the amount of gas for a transaction scale as more ethereum nodes are added? Does it become more expensive to execute the same transaction, since there are many more miners trying to do the same thing -- or…
3
votes
1 answer

How to calculate total cost of a transaction

I've a transaction that consumed 276798 of gas, paid 900000000 (wei I think) Is the total cost gasUsed x gasPrice, right? Total = 249,118,200,000,000‬ (wei I think) So how many ether is ? 0.0002491182 Confirm?
realtebo
  • 333
  • 5
  • 15
3
votes
1 answer

Can gas price be fixed under 2 gwei?

I see that 20 gwei is the default gas price. A simple token exchange fee is around 0.5$ at the current price (230$). Reducing gas to 2 gwei takes more time to confirm transaction but reduce the fee. What if ETH reach 1000$ soon? Will it be possible…
ilmistra
  • 31
  • 1
  • 1
  • 2
2
votes
3 answers

How can I get proper gas price for fast transaction?

How can I get proper and optimized gas price for fast transaction in around 10sec? I want to make my transactions to be included stably and fast in blocks. Recently I using value of "fast" returned from API of ethgasstation, but i am not sure it is…
ikaop
  • 153
  • 7
2
votes
1 answer

Most precise website to estimate gas price for volatile days

I am trying to understand which website is the best way to estimate the gasprice for volatile days. There are some sites but they do not work out so well on a volatile day like today. I compared and tested today: Metamask browser…
user54512
  • 121
  • 1
2
votes
4 answers

Is there a gas price limit?

Every transaction on the Ethereum blockchain must consume less gas than the block gas limit, which can fluctuate depending on the weighted average sentiment of miners. To help incentivize inclusion of transactions when the gas limit is low, relative…
lungj
  • 6,680
  • 2
  • 17
  • 45
2
votes
2 answers

Does more tps = lower gas price?

Lets say that Ethereum is running at 95-100% of max tps, wich means gas price will rise. And then lets say we update the blockhain and dobble the tps. Would that lead to a halving of gas price?
Feynman
  • 21
  • 2
2
votes
2 answers

Should I set an extremely high gas price while participating in a popular token crowdsale?

Am I right that Gas amount in this case is constant or at least predictable How to figure it out? Using this answer? - How do I know how much gas to use when calling a contract? Or maybe there is some average 'recommended' gas amout for this…
formeter
  • 21
  • 1
2
votes
1 answer

How is the gasPrice generated in ethereum

while I execute eth.gasPrice via the geth console,it returns the current default gasPrice 20322509741, so how is this default value generated will it changes now and then according to the market transaction creators hope the lower gasPrice while…
user2781581
  • 501
  • 3
  • 12
1
vote
1 answer

What's the best way to get gas price in next block

our wallet project is requried some update about gas price 1 not set gasprice by user 2 auto choose the best gas price Current, I am using rpc method eth_gasPrice in my wallet's code to get gas price. My boss requried me not use eth_gasPrice , so…
1
vote
0 answers

Post Merge transaction selection time

I was wondering if anyone has some historical data on how long the delay is from broadcasting a transaction to the Ethereum network before it is being picked up by a miner after The Merge? Preferably with a high priority fee such that miners would…
JanseManse
  • 11
  • 1
1
2