Questions tagged [fees]

Questions related to the transactions fees and gas costs in Ethereum

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Max gaz transaction for one function

I have problem with my contract on BSC network: 0x28592BAc439c3d358EDC52c20667D29b0a90a5DE After one transaction on add messagefunction the transaction fees for this function become exorbitant. I don'...
13
votes
6answers
14k views

How to create a temporary account for testnet with funds?

I'm a newbie in using the ethereum wallet. After I completely installed and downloaded data for the testnet I create a new account but my new account has nothing (0.00 Eth). It lead to I can't do ...
1
vote
2answers
808 views

Ethereum TX Fees/Gas Gambling Calculation

I'm wondering if there's a better way of handling the transaction fee limit. As I understand it at the moment, it's basically a gamble. You wager an amount. If it is too low, you lose it all when it ...
1
vote
1answer
26 views

what is math for uniswap calculates the amountout and amountin why 997 and 1000

function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {//the amount of user,amount in pool,output token amount in pool require(amountIn > ...
0
votes
1answer
10 views

Gather funds from multiple wallets

I have many separate wallets thats all holds less or equal amount of ETH than average transaction fee. Is there any way to collect those funds besides hoping a transaction with low fee will be ...
0
votes
1answer
14 views

Is it possible to send a transaction from a 0 balance EOA through a funded Smart Contract, such as the latter pays the tx fees?

I think there is something similar called Meta-transactions, but my understanding is that those are EOA to EOA. I'm more interested in being able to send a transaction from a EOA with zero balance ...
0
votes
0answers
7 views

Can cheaper transactions be created by brute forcing RLP-encoded V,R,S values with leading zeros

When I make a raw txn using RLP-encoding I note that the VRS values are not deterministic. Sometimes the R and S values can have leading zeros, these get omitted, thus making the transaction data ...
0
votes
0answers
24 views

Adding fees to a BEP20 token on solidity

How would I go about adding fees to a BEP20 token I am trying to build? I am new to coding on solidity and this is what I have so far but if I'm honest am struggling with adding more complex functions....
0
votes
1answer
904 views

Etherscan api: how to get transaction fee?

For example: open this https://etherscan.io/tx/0xcb1e3530950cf2c43a307bcb5645ae71a12c76a60831617badd04aea3efe68aa It's a random one I see these infos on webpage: Gas Limit: 136,500 Gas Used by ...
0
votes
1answer
10 views

Insufficent network fees

I get the message, "The ETH balance in your parent account is insufficient for network fees" when I try to send my ECR20 Matic tokens from my Leger to my coinbase account. Instead of sending ...
0
votes
0answers
18 views

Uniswap V3's Position NFTS “positions()” returning irregular results for tokensOwed

I'm messing around with web3py and I ran into something that I haven't been able to understand; when I call positions() on a tokenid, I get odd results for the tokensOwed values. The results don't ...
0
votes
1answer
10 views

Does the act of READING data from a contract during a transaction consume gas?

If I want to read certain state of a contract while performing my transaction (for instance to make sure no other addresses interacted with that contract within the same block as me), do those actions ...
1
vote
1answer
22 views

Can someone explain me this part of White Paper?

I want to know what this para means, more clearly and with more detail. " Theoretically, Ethereum-based token systems acting as sub-currencies can potentially include another important feature ...
0
votes
0answers
185 views

GAS FEES DIVISION WITH swapAndLiquify Function [Solidity]

I community, i'm trying to set the gas fees optimization for the delfationnary token im about to launch asap but quick question to be sure. I set the fees at 10% like so 5% for the pool 5% for rewards ...
0
votes
1answer
98 views

MakerDao defaulting to high gas limit

I'm trying to pay back about 50 DAI and unlock 0.78 ETH but it keeps defaulting to 4 million gas limit (I usually see that amount as 300,000)...for a total of 0.82 ETH....I get the gas fees are high ...
0
votes
0answers
22 views

Problem About Charity Fee

I’ve successfully deployed this contract to BSC-Testnet and I’ve arranged the PancakeSwap testnet router. As you see in line 780, It’s my friend’s testnet wallet address but when I bought my token on ...
0
votes
1answer
39 views

Coinbase network fees

how much are the fees for sending eth from Coinbase? Or what exchange has the lowest fees for sending etherum? Thank you!
0
votes
0answers
10 views

Transfer ether between two EOAs without security breaches

I have this function (is a SC implementing and auction): /// @notice Register a new participant /// @param _preferences agent' preferences function regAgent(uint[] memory _preferences) notOwner ...
2
votes
1answer
162 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 ...
0
votes
1answer
18 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 ...
1
vote
1answer
364 views

Why transaction fees depend on DEX?

Since today ETH transaction fees become so high, I (and possibly many people) want to save money by reducing these fees. I notice that transaction fees are cheeper in some DEXs compared to those of ...
0
votes
1answer
334 views

How to charge a fee in ethereum smart contract transactions

I need help on how to charge a transaction fee in ethereum smart contract using web3? Also which web3 API can be used to check the validation of enough gas on the frontend of smart contract?
0
votes
0answers
10 views

Minting tokens that cover client's Tx fees and can only be used to interact with 1 smart contract [duplicate]

I'm working on a voting application. Is there a way to centrally mint tokens, hand them out to eligible voters/addresses, and only let users with this token vote? If so, can this token cover the ...
0
votes
1answer
15 views

Smart contracts calling each other, costs and atomicity doubt

According to what I know, If you invoke function F on Contract C, you pay the gas fees related to F's operations and if for some reason something goes wrong, all state changes performed by F until ...
0
votes
1answer
32 views

Is that possible to charge a comission fee on the smart contract?

is there some possibility to charge a comission fee on each transaction done on an specific smart contract? For instance, User A swaps 1 ETH by 100k EXAMPLE. At the end of the transaction, User A will ...
1
vote
1answer
399 views

How do gas fees work in UniSwap / other decentralized exchanges?

So, lately i've been doing research about gas fees and how they work. I got the most part but there's something I don't yet understand. The theory of gas fees in ETH is that whenever you do a ...
1
vote
1answer
61 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 ...
0
votes
0answers
157 views

How do decentralized exchanges make money?

I've been wondering how do DEXs make money. I know some of them like uniswap and airswap supposedly don't take any profits from trades. But are all DEXs like this? I read on Kyberswap FAQ that the ...
2
votes
1answer
51 views

How exactly are Ethereum transaction fees and block rewards sent to the miner?

I know that when a miner mines an Ethereum block, they receive both the block reward and the transaction fees from all the transactions included in that block, but how exactly are all of these ...
1
vote
0answers
47 views

ERC-2222 : Funds Distribution Token implementation for a fee contract

My MainCore contract is a contract who sell NFT, and all the sell and buy have a 1% fee for team developper (uint DevelopperCutTotalSupply). I try to implement the ERC-2222 "Funds Distribution ...
0
votes
1answer
228 views

Do NFT bids, and refunds from being outbid, have the same transaction/gas fees?

If I bid on crypto art to the tun of $50 in transaction/gas fees, can I expect the same amount of fees to incur if I am outbid on that item, and the NFT platform refunds me my bid? $50 fee there, and $...
2
votes
1answer
307 views

Ethereum transaction sent from Ledger Nano X stuck because too low tranasction fee used

My ETH are STUCK. 48 hours ago i sent 31 ETH from my Ledger Nano X to my Coinbase account, but i choose the slowest and cheapest method that was diplayed into my ledger ( I don't remember how much gas ...
2
votes
1answer
184 views

How long did a transaction spend in the mempool?

I'm trying to create some statistics on how long a transaction spends in the mempool before being included in a block, so I can reason about future gas prices. It would appear transactions in Ethereum ...
1
vote
3answers
4k views

Is there any decentralized exchange with zero trading fees for ERC-20 tokens at the moment?

Is there any decentralized exchange with zero trading fees for ERC-20 tokens at the moment? All fees except gas fees should be zero. I already tried Bancor and Kyber but, as far as I can tell, they ...
1
vote
1answer
1k views

Understanding Binance withdrawal fees measured in ERC20/transmitted via the ERC20 network

Let's say I'd like to withdraw 1inch from Binance to any sort of crypto wallet. On the Binance fee schedule webpage one finds the following (column names above, screenshot of fees below): Coin/Token | ...
1
vote
1answer
53 views

Simple way to send gasless Transactions

I was wondering if there is a way for a user to pay transaction fees for another user, meaning user A sign the transaction and user B send it to the network and pays the gas fees. I found a solution ...
2
votes
1answer
310 views

I have question about private block chain gas structure

I have a basic question about gas price charged for transaction. Say I have a private ethereum block chain with ten nodes and I don't want to charge any fee for the transaction taking place in this ...
0
votes
0answers
17 views

fees when buying on Coinbase/Gemini for eth and eth DeFi tokens

So when you buy or sell eth on Coinbase/Gemini, i Know there is Coinbase/Gemini(Maker fee). But is there also a eth gas fee in that sell/buy transaction? or is there anyone gas fees if you move the ...
1
vote
1answer
1k views

Apparently some people send transactions with zero gas and positive gas limit, how do they do this? (and I am NOT planning to this but how)

Have a look at this transaction for example: https://etherscan.io/tx/0x11d96986d36240a5e5e7eab78879aa841631705370e707f15f1488a0b9d6704a 0 gas, 0 ether but plenty of tokens transferred. Obviously the ...
1
vote
1answer
566 views

Is ethereum transaction fee supposed to be proportional to the amount sent

I am using the blockchain.info iOS wallet. I am trying to send a small amount of ETH. However, the fee “suggested” by the wallet is a whopping 0.003234 (~ 6 USD). If I changed the amount of ETH i want ...
0
votes
1answer
24 views

How do I calculate the gasfee for a call to a function, which increments an uint globally?

How do I calculate the gasfee for a call to a function, which increments an uint globally? uint index; function addUp () public returns (uint result) { index += 1; // increment value ...
7
votes
1answer
55k views

Why is it so expensive to trade on Uniswap with MetaMask? ($50 fee)

The best quote that the Uniswap fox found for swapping 1 ETH for UNI token right now has a $50+ estimated transaction fee (max $80) inclusive of a 0.875% MetaMask fee. Even if I change the swap to a ...
3
votes
2answers
434 views

Is gas fee paid for this transaction that was dropped?

This is transaction that was supposed to fund a smart contract but because of a low gas fee that I set, it resulted in an error Gas fees were around 10-15 usd, but still it wasn't enough. I can't ...
0
votes
0answers
22 views

Is this transaction fee for contract creation normal?

I am creating erc20 token. Transaction fee for it is about 0.3ETH. Contract size is not big. Is this price normal or am I doing something wrong? Gwei 262. Current Eth price 1917USD. Contract : pragma ...
1
vote
1answer
341 views

How are 0 gas price transactions getting mined?

Here's a transaction with a gas price of 0: https://etherscan.io/tx/0xbdda3e1d4d879590b5d21ce777a91573fb5bbb40fa0f6cbcc8420a6d3d208668 How is it getting mined? Is the miner mining it for free?
1
vote
2answers
427 views

Can transactions with only 1 gwei gas price still succeed (confirmed) in 2021?

https://ethgasstation.info (now https://archive.is/wip/Zemix) showing Lowest gas price (gwei) 0 6 Does that mean it is still possible to have transactions with only 1 gwei gas price confirmed?
1
vote
1answer
83 views

Do my outgoing gas fees of a single transaction increase if my sending wallet contains ETH made up of many small transactions?

I'm still learning about how ethereum calculates fees, and I wondered if I would have to pay more to send ethereum from my wallet if my wallet received smaller transactions as opposed to a single ...
0
votes
1answer
94 views

Why ethereum transaction fee has increased so high?

I'm wondering what has caused this recent spike?
0
votes
1answer
2k views

Are Ether gas fees higher than Cardano fees?

When trading ETH for altcoins on decentralized exchanges, fees right now can be around $60-150$ per trade. A tutorial on Cardano (ADA) smart contracts shows that they will have zero fees (for smart ...
0
votes
1answer
50 views

Is there a way to cancel a transaction without having to pay a gas fee?

Is there a way a cancel a stuck transaction without having a pay a gay fee? Or does any successful transaction, except the ones sent from the same account with the same nonce, requires paying gas fees?...