Voted Coins
follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here

Author Topic: What is Gas on Ethereum blockchain  (Read 1601 times)

Offline tsakf

  • Hero Member
  • *
  • Activity: 835
  • points:
    7657
  • Karma: 7
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: April 30, 2025, 10:19:46 PM
    • View Profile

  • Total Badges: 20
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Fourth year Anniversary
What is Gas on Ethereum blockchain
« on: January 09, 2019, 01:07:13 PM »
Gwei is just a smaller denomination of Ether, at 1X10^-9 ETH. A wei is the smallest unit of Ethereum you can have, at 1x10^-18 ETH. Ether is used to purchase Gas, which is required to run smart contracts and submit transactions to Ethereum. Gas is the primary method through which miners processing smart contracts get paid. Gas is used to ensure that even though the price of Ether may fluctuate, miners will always have a standard from which to measure the processing work they do. When you prepare a transaction, you also send a "bid" on how much Ether you are willing to pay for the Gas costs to process your smart contract or transaction. Your Ethereum account is charged directly for the gas used in processing your request at the rate that you bid (same as a traditional 'transaction fee', so, for example, sending 5 ETH might cost a total of 5.0001 ETH). So your 200,000 gas limit really doesn't have a constant ETH value, it depends on your bid.

A tx will have a fixed cost in gas, gas_cost. The cost in ether = gas_cost * gas_price. Gas_limit is the maximum amount of gas you'll provide. Gas_price is the ether you'd pay for each unit of gas. Gas limit is there to protect you from buggy code running until your funds are depleted. The product of gasPrice and gas represents the maximum amount of Wei that you are willing to pay for executing the transaction. What you specify as gasPrice is used by miners to rank transactions for inclusion in the blockchain. It is the price in Wei of one unit of gas, in which VM operations are priced.

Altcoins Talks - Cryptocurrency Forum

What is Gas on Ethereum blockchain
« on: January 09, 2019, 01:07:13 PM »

This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here


 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod