Questions tagged [gas-price]

Questions dealing with the gas price of a transaction.

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

How can the transactions to this address always adapt to have higher gas price than all the rest?

Looking at the transactions from: https://explorer-mainnet.maticvigil.com/address/0xfD0E9d3f4Eee056B49DF062B70f766cFB13fEb01/transactions Looking at every block that a transactions is sent to this ...
0
votes
0answers
18 views

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 ...
0
votes
1answer
18 views

Remove ether from PoA private network

I try to setup a private network containing three nodes (bootnode, sealer, transaction node with rpc) and PoA. So far so good. The thing is I don't want to have any ether nor do I want to pay any gas ...
1
vote
0answers
9 views

How do I find the average gas price of a given block?

How do I find the average gas price of a given block? This doesn't appear to be an easily accessible thing in ethers.js or Web3.js, but hopefully I'm just missing something.
0
votes
1answer
10 views

How do I find the gasPrice of a confirmed transaction with ethers js?

How do I find the gas price of a confirmed transaction with ethers js?
0
votes
0answers
12 views

Set gas fee to a fixed value permanently in Metamask

At present, I can go to the advanced settings and specify the gas fee (in gwei) and gas limit manually. I'd like to make sure that this value is saved and re-used later on for the next few ...
0
votes
0answers
19 views

Consolidating “dust transactions” in account-based coins like Ethereum?

Suppose I have a marketplace where 100 buyers deposit 1 ETH each into 100 unique addresses and I know I will end up sending all 100 ETH to 1 vendor. Since the coins are originating from 100 ETH ...
1
vote
1answer
19 views

Maximum GAS price

When I launch an Ethereum transaction, I have to choose how much WEI I am able to pay for one GAS. This is a "bid" concept: If my transaction is very important and if I want to run it ...
0
votes
0answers
14 views

Multi transaction GAS

Let's suppose i have 5 customer. Each customer must give me 1 Ether. I have 2 solutions: I generate a single Ethereum Address and i give the same address to all my customers. I do not want to give ...
0
votes
0answers
15 views

If you accidently set a very HIGH gas limit to purchase a smart contract for ETH can it be changed?

Ex. Gas limit was accidentally set to 5,000,000 & now when Trying to customize it keeps auto-populating to that causing me an INSANE gas fee of over $400. I don't want to cancel because I don't ...
0
votes
1answer
33 views

Is it normal for a DAI vault to cost between $80 - $160 in gas fees?

I am trying to open a Vault for the first time with ETH-A as collateral. Do the below fees make sense? They seem quite expensive to me ... Additionally I see this:
0
votes
1answer
16 views

Deciding Gas Pricing

Anyone know how curve fi and metamask fetch the average gas price for the transaction and how they provide the slow and fast option? I just want to know which third party they use to get these info.
0
votes
1answer
22 views

Best way to conver ETH to a layer 2 ETH or Wrapped ETH to convert to USDC or USDT?

I have a small amount of ETH ($100) and I want to use uniswap to convert it to USDC or USDT, but the fees of $20-$50 is a bit ridiculous. Is there a layer 2 solution that is WORKING that can convert ...
0
votes
0answers
12 views

Too many request to node to get gas limit

When I need get gaslimit I call to node by web3j(java) by function ethEstimateGas to get gas amount used and I have cronjob to get ```gasPrice```` from etherscan. Follow by number of request can ...
1
vote
2answers
24 views

Can a smartcontract offer free gas

I have wrote a smartcontract which will be called by a mobile device. This device will be outside. It embbed a software wallet (private key). But this wallet will own 0 ether because the device can be ...
1
vote
2answers
41 views

Unable to Deploy/Migrate to Mainnet via Truffle/Infura

On 12/26/2020 I successfully compiled, migrated and tested on Ropsten via Truffle the following contract https://github.com/estudios-amazonia/FilmVault/blob/main/contracts/FVP_Token.sol. See Ropsten ...
1
vote
0answers
13 views

Will the tx fees of old contracts be greater or smaller than those of new contracts in ETH 2.0?

Will contracts that currently exist cost more or less to interact with after the ETH 2.0 upgrade? What about old contracts that call a new contract, or new contracts that call an old contract? Will ...
2
votes
1answer
118 views

SLOAD costs 800 gas - how is it possible?

I've got a very simple contract. It narrows down and measures cost of loading a storage variable: pragma solidity ^0.7.6; contract Bench { uint256 public data; function increment() ...
0
votes
1answer
116 views

How long can I expect to wait for a 20 gwei ERC20 launch? [duplicate]

Here's the transaction: https://etherscan.io/tx/0x9e34257bbb18e565a2154eb522085a30720e327b065342b5708c089d23e190cb I'm spending 20 gwei per unit of gas. This is all I could afford, I only have 10 ...
0
votes
1answer
191 views

5 gwei in gas, how long will this take?

I'm creating an erc20 contract and deploying with metamask. I only have 3 dollars in ether, so I could only afford 5 gwei for gas. It's been 3 hours, how long will it take? It looks like 40 gwei would ...
1
vote
1answer
41 views

Best Practices for Recommendation regarding Gas Price & Limit in a Dapp

I am developing a Dapp. I was wondering what are the best practices for user recommendation regarding gas price and limit in such a Dapp? Should I be using the following methods in my contract, or ...
1
vote
0answers
16 views

Reading gas limit inside solidity smart contract? [duplicate]

As we can read the gas left and the gas price inside solidity smart contract, is there any way that I can read the gas limit set for the transaction inside the solidity ?
0
votes
1answer
65 views

Transaction out of gas despite much higher gas price than almost identical transaction at same time that is fully mined

Two Uniswap txns calling swapExactETHForTokens that are almost identical (even same timestamp) except for the value and gas price, but the one with higher value and gas price runs out of gas and uses ...
1
vote
0answers
45 views

Understanding eth_estimateGas with regards to gas price, and current mempool

Does anyone have a detailed understanding of how eth_estimateGas works with regards to gasPrice and the current mempool state? I have historically seen some really odd behavior when using ...
0
votes
1answer
80 views

Gas price and limit with Truffle deployment in Ethereum

I am developing a smart contract in truffle. I'm having some trouble understanding how GAS works in Ethereum. I used the following parameters in my Rinkeby test net: gas limit: 4600000 gas price: ...
0
votes
1answer
37 views

About calculating gas' cost

I was reading an old post: How to get the actual Gas price? If the gas price currently is, for instance, 14 gwei and I have a transaction cost of 80000, does it mean the price of my transaction is 14*...
0
votes
1answer
21 views

Need to execute several transactions as fast as possible

In the case of an emergency (e.g. theft), it may be necessary to disable several accounts as fast as possible. I am writing the smart contract. Should each of several accounts be disabled in a ...
0
votes
1answer
29 views

Is it possible to get the gas fee before sending an ETH?

Is there a way or api endpoint to calculate the gas fee before sending the ETH? My client requirements is to calculate the gas fee before sending an ETH to other user. I can only get the gas price ...
1
vote
1answer
25 views

Divide or not to divide in a smart contract?

I need my contract to create a ratio of two big integers (prices) output in an event. Which of two variants is better: divide in the contract using a math library; output two integers and let the ...
2
votes
0answers
78 views

Understanding gas tokens and create2

I am going through a sample gas token code on Ethereum. The token mints some dummy smart contracts using CREATE2 and then calculates the address. Later on it destroys them to get the gas refund. ...
0
votes
0answers
16 views

gasprice mechanism of ethereum gas station api (ethgasstation)

i try to understand the gas price mechanism of ethgasstation but i cannot understand the varibale used in the dataset like block_posted and block_mined in line 29 in the picture can someone help me
0
votes
0answers
23 views

How to add specific transaction in block using geth?

How to include own pending transaction in block will be mined? Some mining pools using this for payouts with low gas price to their miners.
1
vote
1answer
36 views

Can queue of pending transactions will be confirmed if send last transaction with high gas price?

I have several pending transactions from the same account with a low gas price. What if I send one more transaction with next nonce but high gas price? Can it help to mine all pending transactions ...
0
votes
1answer
190 views

Transaction shows up on etherscan and metamask said it was sent, but my token balance is still the same

I made USDC transaction and metamask said it was sent and etherscan also say there was a transaction made as seen below. But my USDC balance is still the same as if it never left my account. And ...
0
votes
1answer
22 views

Could someone explain Ethgasstation.info headers?

in TXN pool vision of https://ethgasstation.info/txPoolReport.php I am getting confused with the meaning of headers. What does the following headers mean? % of Last 200 Blocks Accepting % of total ...
2
votes
1answer
2k views

Fees are too Damn High to send $20 worth of USDC. How can one minimize these fees?

It's 2020 September 3. Fees to send 20 USDC to someone is about $10-15 worth of gas fees. How can I minimize the gas fees when using metamask? And is it true that if I set the gas fee too low, I would ...
1
vote
2answers
107 views

Will gas be free in ETH 2.0?

Will gas be free in ETH 2.0? More generally, will gas ever be free? Is it feasible in near decades?
4
votes
1answer
391 views

Will Ethereum 2.0 gas cost decrease?

I want to generate large number of transaction probably in thousands per day to store document hashes of certificates from Universities so that I can verify the integrity of documents through time ...
0
votes
2answers
86 views

Sending a transaction with minimum gas; will it ever complete?

About one day ago I sent a transaction with an average gas limit, but a set a price of 15 Gwei. The transaction is still pending nearly 24 hours later and is still pending; will it ever complete?
0
votes
1answer
28 views

What is the cost of inter-contract calls?

I have a contract with methods to create items and add them to categories. I want to create a wrapper contract that would combine several calls into one: create an item and add it to several ...
0
votes
0answers
18 views

How can I get the gas limit specified for a past transaction from web3?

I'd like to know the difference between gas limit specified and gas actually used by a confirmed transactions from previous blocks. For each transaction on Etherscan, you can see both the actual gas ...
0
votes
0answers
22 views

Warning Message: Gas Requirement: Compiling Multiple contracts Remix IDE

I am getting following warning message while compiling the test contract on Remix IDE : Gas requirement of function Test.send(address) high: infinite. If the gas requirement of a function is higher ...
0
votes
1answer
40 views

Does variables inside Event gets stored in blockchain?

Hey I have following event event Submitted(bytes32 indexed docHash); The event is called by a function function submitHash(bytes32 docHash) public onlyOwner() { Submitted(docHash); } It ...
0
votes
0answers
60 views

Dropped transaction can be automatically broadcasted on network by specified condition?

I have a transaction with nonce #30, because of low gas price this tx is dropped while I checked on Etherscan (case #1 dropped transaction not dropped and replaced #2 ref). Before this transaction is ...
1
vote
1answer
136 views

How to send signed transaction to blockchain from different account

I have user's private key to sign a erc20-token transfer transaction in my DAPP. Now I want to send this transaction from different account so that 2nd account pay the gas fee. Is it possible through ...
0
votes
0answers
47 views

Web3j 5.0.0 and event listener

I'm using Web3j 5.0.0. I would listen to events of a smart contract. So, I write this.getContract().tokenMintedEventFlowable(DefaultBlockParameterName.EARLIEST, ...
0
votes
0answers
23 views

Ethereum token transaction taking too much time to confirm [duplicate]

I was transacting an ethereum token CRO crypto coin out of wallet. There was 3 fees options. I chose fees for slow transaction time. And it told the transaction should confirm in 30 minutes. But now ...
0
votes
0answers
25 views

Why are these high fee transactions not being mined?

Looking at the state of pending transactions on Etherscan I noticed two transactions that have a gas price much higher than that of the average network fee, yet they are not being mined. The ...
7
votes
1answer
759 views

How to retrieve ERC20 from a hacked address monitored by a bot?

Check it out: https://discordapp.com/channels/554623348622098432/633092550407749652/714325610050355260 The address that was hacked: https://etherscan.io/address/...
0
votes
2answers
351 views

how to upgrade or cancel a pending low gas transaction

I sent a transfer of an ERC20 token from my wallet to an exchange wallet with the lowest gas (5 Gwei). It's now been 1 day 6hrs and still shows as pending. Is there a way I can upgrade or cancel this ...

1
2 3 4 5 6