Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Gas is a 'sub-currency' which enables the EVM and Ethereum's decentralised computer to run -- with each operation, an amount of gas (proportional to the computational effort required to perform the operation) is consumed.
1
vote
Accepted
Ethereum without Gas Fees for Transactions
It is possible in that situation that your network could have a gas-price of zero, and still function well. …
4
votes
Accepted
Price of 1 gas in dollars?
Thus if 1 gas = 2 Gwei, then 1 gas = 0.000104 cents.
Not sure why your calculation involved a square root. …
0
votes
How to deploy Ethereum smart contract that requires more than 4.7M of gas on Ropsten network?
Ultimately, you will need to reduce the size of your contract as there is no way to bypass the gas limit for a single transaction. … solidity optimizer
Use existing, battle tested libraries where possible
Break apart your contract into multiple smaller contracts or libraries which reference one another to create transactions below the gas …
13
votes
If view or pure function doesn't cost any gas, would they be abused/free ride?
However, if you use a view or pure function within an internal function which DOES cost gas, you will be charged for those calculations like normal. …
2
votes
How to caculate/estimate Gas Limit and Gas Price based on current state of the ether network?
Web3 also has a gas price oracle as documented here:
https://web3js.readthedocs.io/en/1.0/web3-eth.html#getgasprice
Returns the current gas price oracle. … The gas price is determined by
the last few blocks median gas price. …
2
votes
Accepted
send() or transfer() functions always fail
Try this for your contract:
pragma solidity ^0.4.24;
contract SendAndTransferExample {
constructor() public payable { }
function SimpleSendToAccount() public returns(bool) {
return …