Questions tagged [gas-price]

Questions dealing with the gas price of a transaction.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Transactions that paid 0 fees

I took a sample of transactions from 2021-07-03 till 2021-07-05 and there seems to be a lot of transactions that paid 0 ETH in fees: `as.Date(dt)` count `min(dt)` `max(dt)` <...
0
votes
0answers
19 views

Is it possible to pay low gas price for low computation transaction?

I'm trying to update storage variable in my deployed smart contract every 5 minutes. Though this needs low computation power and therefore requires low gas amount, it is hardly payable as gas price ...
0
votes
0answers
16 views

Nested contracts gas fee implication

Let’s say I have a contract calling another contract calling another contract. Does this also impact the fee for executing the first contract?
0
votes
1answer
22 views

How to get Low / High gas price with ethers.js?

On etherscan gas tracker there are three gas prices: Low / Avg / High. The code var gasPrice = await provider.getGasPrice() only returns the Avg price. Sometimes I need the Low/High price, how to get ...
4
votes
1answer
53 views

How does EIP-1559 make Ethereum fees better?

I have a few questions that are mostly related to each other. I don't understand how EIP-1559 makes it a better way than the current one about fees. Since EIP-1559 brings priority fees and miners ...
0
votes
0answers
19 views

Does it cost more gas to call a function more than once in another function?

Does it cost more gas to call a function more than once in another function? For example: function getValue() public returns(uint){ return 5; } function getOtherValue() public returns(uint){ ...
0
votes
0answers
7 views

Hardhat config not working

I have defined from gas price gas limit in the config file but it picking up the default one not what I have defined.
0
votes
1answer
28 views

Ethereum gas fees

I am attempting to deploy a simple erc 20 token on the ethereum mainnet. I have tried twice now to deploy the contract each time paying around $20 in gas fees for contracts that would run out of gas ...
0
votes
1answer
16 views

very expensive remix NFT deployment

I'm testing a hello world NFT deploying with remix but the transaction without anything, says is $100?? why is this so expensive? what am I doing wrong? here the import is the only code on the .sol ...
0
votes
0answers
21 views

Lifecycle of transaction when sent via web3

I'm trying to optimize the speed between the time the tx is sent and the tx is mind on polygon (matic) blockchain via web3. I tried to raise significantly the gasPrice but it still takes a lot of time....
0
votes
0answers
12 views

Calculate estimated transaction time using web3.getGasPrice?

I am trying to estimate the time a smart contract will take to execute a particular function, based on a user-selected gas price. I have seen time estimates in various explorers - like so, on ...
0
votes
0answers
12 views

What is the gas cost when manipulating on-chain variable multiple times within one transaction?

Changing variables that are stored on the blockchain is expensive. How are gas costs calculated if I change one variable multiple times within the same transaction? For the sake of having a simple ...
0
votes
0answers
111 views

Transaction Underpriced at gas price less than 10Gwei on Binance Testnet

I am working on BEP20 token which I eventually want to deploy on the Mainnet. I have currently deployed the token on the Testnet. I am using metamask as my wallet. When I interact with the contract ...
0
votes
0answers
5 views

Bypass pending contracts in contract deployment?

I have 1 contract pending, and 1 contract queued for deployment due to low gas fees. I wish to deploy a 3rd contract that will bypass these two. The first contract has nonce 0. Sufficient gas fees ...
0
votes
0answers
21 views

Difference in Gascost between buying on Uniswap through UI and interacting with Uniswap Router contract on Etherscan

Why is the gas cost of going to uniswap.exchange and making a trade (significantly!) lower than the gas cost of going to https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d#...
2
votes
1answer
43 views

Why does smart contract successfully deploying to Rinkeby fail to deploy to mainnet?

truffle.js: var HDWalletProvider = require("truffle-hdwallet-provider"); var mnemonic = ""; module.exports = { networks: { development: { host: "localhost", ...
0
votes
1answer
10 views

Editing gas price to limite contract deployment cost?

My smart contract costs 3.65 USD to deploy from truffle-cli. I wish to accomplish this in 2.5 USD. Is it possible to limit the gas price in gwei in truffle-config.js to accomplish this? I don't mind ...
1
vote
1answer
24 views

Why is my transaction with a really high gasPrice pending?

I have created a transaction on the Polygon mainnet with a gasPrice of 496 GWEI (this is 496 times more than the normal gasPrice) and a gasLimit of 2,000,000. The transaction is a simple ERC20 ...
1
vote
1answer
17 views

Does copying mappings variables that are large such as balances cosume a lot of gas?

In erc20 contracts, conventionally balances mapping saves the current balance the users are holding. mapping (address => uint256) private balances; If this contract has a lot of users( which means ...
1
vote
1answer
117 views

Getting “ValueError: intrinsic gas too low” when trying to make a basic swap on Quickswap (polygon/matic)

I'm using Brownie to try and make a basic swap on Quickswap: from brownie import accounts, config, network, interface def main(): """ Runs the make_swap function on the Uniswap ...
0
votes
0answers
8 views

Re-send Transaction With Higher Gas Price In Web3js

I've seen that the geth client has functions to re-send transactions with a higher gas price but I'm not seeing that functionality anywhere in the web3js client. Does it exist? If not, is it ...
0
votes
0answers
19 views

Traded like 12$ of ethereum for husky at like 6 GWEI how long do those trades usually take?

I tried using "UniSwap" but 40$ prices for a 12$ trade seemed ridiculously high so I just went on a random site which allowed me to change "gwei" and I put it to 6 I think, I also ...
0
votes
0answers
26 views

Web3.eth.getGasPrice() returns incorrect result

Web3.eth.getGasPrice() returns incorrect result (just two results 6 gwei and 10 gwei) at which time gasTracker showed about 58 gwei. I am confused why just two fixed value (6 and 10) when this happens ...
4
votes
1answer
87 views

How cheap will ethereum gas fees become after eth2?

How cheap will ethereum gas fees become after eth2? I am asking for the technical explanation that would help understand how the fees will go down and to what level they might reach.
0
votes
0answers
12 views

Two machines' gasPrice values are different. Why?

I read many pages and decided to run two machines. Machine A: full node, mine Geth --mine --miner.threads 8 --syncmode full --http --http.port 8945 --http.addr 192.168.1.166 --miner.etherbase "...
3
votes
1answer
17 views

Why did this transaction, with many contract self destructs, include such a large (34ETH) transaction fee?

The transaction 0xd0820f45ddc180231076a9b28f73f8d124ab296ad7cc7c87c745e0d44a461595 in block #124627591 paid a ~34ETH transaction fee. Why? Does this have to do with the number of contract self ...
4
votes
1answer
29 views

Why does zero to non-zero in storage take higher gas?

According to EIP-1087 https://eips.ethereum.org/EIPS/eip-1087 , it take 20,000 gas to set a slot from 0 to non-zero with SSTORE while it takes only 5000 gas for any other change. Why does 0 to non-0 ...
0
votes
0answers
23 views

How Ethereum dev team/ENS team is anticipating to solve the rise in price for ENS domains and gas prices

I am just looking for the prices for the ENS. Can anyone help me understand the economics of ENS domain, their price depends on the fluctuations of Ethereum and if we assume that it'll always go up ...
1
vote
2answers
372 views

Coinbase wallet 12 word seed used on metamask?

I have a couple of issues. I have a Coinbase acct. I have a number of coins on there. And, of course I have the 12 word seed. If I use this 12 word seed and import it on metamask will all my coins ...
1
vote
0answers
67 views

How does ENS pricing works [closed]

I am just looking for the prices for the ENS. Can anyone help me understand the economics of ENS domain, their price depends on the fluctuations of Ethereum and if we assume that it'll always go up ...
1
vote
0answers
145 views

ALERT: Transaction Error. Exception thrown in contract code. Metamask while interacting with contract

When I try to interact with my contract (.vue, Web3) via Metamask browser extension, I get the warning "ALERT: Transaction Error. Exception thrown in contract code." when I attempt to buy. ...
0
votes
1answer
32 views

How mining pools send transactions with 1gwei gas price?

Check this transaction, it is sent by a mining pool with 0.08$ fee, and it is almost mined with in minutes. How is this possible? Current average gas price is 150, that is almost 10$
0
votes
0answers
37 views

MEW & Binance Gas fees

Can I somehow connect the Binance ETH wallet to MEW and set customs gas fees for my transactions? Thank you!
2
votes
1answer
175 views

Understanding Gas Fees for NFTs

I am going to mint a collection of 10,000 NFTs. However, I've become very concerned over the gas costs associated with such an endeavor. I was wondering if someone could help me understand the ...
1
vote
0answers
372 views

Fail with error 'Min return not reached'

I am trying to make trades on 1inch and frequently get an error that reads Fail with error 'Min return not reached'. My gas prices are set very high because I need these trades to be as fast as ...
1
vote
1answer
27 views

Paying the gas cost with the ether stored in the SC

Let's suppose that an entity deploys an SC and wants to perform an allocation (which computationally speaking has a high gas cost). The participants of this delivery (registered persons) must be the ...
0
votes
1answer
19 views

Trying to send some ETH to a Wallet

I have an Exodus Wallet with some USDC in it. When I try to exchange them or send them to another wallet, it says that I need to add some ETH to make it possible (0.0043 ETH). I check on Binance and ...
0
votes
0answers
23 views

Is it possible to do transactions in Ethereum without gas fee?

I have developed a DApp to store various asset details. Obviously, for storing each asset detail we have to pay some amount of transaction fee for it. One of my teachers said to me that Since ...
0
votes
0answers
21 views

Paying for gas (when the SC is executed) with money stored in a SC

I am starting to program my first real contract and would like to ask if it is possible to do this (something like an auction): Someone deploys a contract. Participants pay for that auction to run (...
1
vote
1answer
1k views

What is Lazy Minting in Ethereum?

I am trying to create NFTs in various digital/crypto marketplaces like OpenSea, Rarible, etc for the past few weeks. In most of the sites, we need to pay some gas fees for adding an asset and creating ...
0
votes
1answer
144 views

What chain is better about gas costs? Ethereum or Binance Smart Chain?

I am developing an smart contract and i want to know what chain is better about gas costs. Ethereum or Binance Smart Chain? Thank you
2
votes
1answer
188 views

What does all those transactions with 0 mining fee corresponds to?

There have been many transactions with apparently 0 mining fees (gas price set to 0) lately. Including from F2Pool BabelPool and SparkPool. While miners had always been free to include any ...
1
vote
1answer
87 views

Accidentally set gas price too low?

I’m fairly new to Crypto and have just made a recent transaction but I accidentally set my gas price and transaction fee too low therefore the amount needed to be mined is incredibly high, here is the ...
2
votes
1answer
27 views

Can I Specify gas fees in the smart contract?

Deploying my contract on rinkeby cost ~12 USD in gas fees (using truffle cli). Is it possible for me to specify gas fees/set a limit in the smart contract so it costs me 0.5 USD, but takes longer to ...
0
votes
0answers
71 views

Gas estimation failed AmazinBEP20 contract

Im trying to deploy the contract AmazingBEP20, i use: http://remix.ethereum.org/#optimize=true&runs=200&evmVersion=null&version=soljson-v0.8.3+commit.8d00100c.js Contract i want to deploy ...
1
vote
1answer
126 views

How do I identify the right gas to set in web3 send?

This is my send code: window.videoContract.methods .mint(account, 'https://ipfs.io/ipfs/QmRQC1...') .send({ from: account, gas: 20100000 }); If I set it too high, I get ...
1
vote
0answers
157 views

How to optimize (lower gas) random ERC721 NFT mint?

I am creating an NFT that on-chain generates random body parts which off-chain is being combined and made into images and such. I am doing it on-chain to keep it true to the purpose of NFTs, but also ...
0
votes
1answer
185 views

Why are PoS (e.g. BSC) transactions costly?

How much may cost PoS transactions in such networks as future Ethereum mainnet or already existing BSC? Why do BSC transfers cost $0.05? Why doesn't gas cost about the cost of electricity used for the ...
0
votes
0answers
76 views

What time of day is ETH gas the lowest?

What time of the day is eth gas fees the lowest to do a smart contract transaction that doesn't cost an arm and a leg? Is there a chart to see this gas fee time zone?
0
votes
1answer
39 views

Is Ownable.sol transferOwnership() an expensive function to run, or am I running it wrong?

I have a simple ERC20 token, and I would like to transfer the ownership of this contract onto a new address using the Ownable.sol transferOwnership() function When I run this contract, it seems that ...

1
2 3 4 5
7