Questions tagged [fees]

Questions related to the transactions fees and gas costs in Ethereum

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

What can be expected in terms of gas prices for the next Ethereum iterations?

Starting Ethereum dev here full of dApp projects. My concern is fees. Most of my applications are unfeasible at the current gas prices. How could I sell a digital product that costs 10 dollars with a ...
0
votes
0answers
19 views

How to force uniswap to use swapExactTokensForEthSupportingFeeOnTransferTokens

Im coding an erc20 token for a client of mine and it uses dynamic taxes on buys and sells These values are calculated in memory with _tmpFee and then assigned to the value _fee in storage Then ...
0
votes
0answers
24 views

Fee on transfer causing error “Uniswap invariant not satisfied”

I am working on building an ERC20 token with the help of the OpenZeppelin project. I wanted to add a burn fee on transfer, so I overrode my transfer function as follows: function transfer(address _to, ...
0
votes
0answers
9 views

How to implement gasless transfers of ERC777 tokens?

I'm trying to make a contract (erc777TransferPayer) that pays for user transactions of any ERC777 token. For example, in this erc777TransferPayer contract, a user could call something like: freeSend(...
4
votes
1answer
61 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
1answer
32 views

Is there a way to lower BEP20 smart contract function gas fee costs?

A BEP20 smart contract needs to have a function called periodically (At least once a day) to process some data. The gas fee required to do so is quite high (>0.1 BNB every call). What are some ways ...
4
votes
1answer
95 views

Will I have to change how I set raw transaction gas price for eip-1559?

I have a question about setting gas prices after the new hardfork. Currently the software I'm working with uses the ethgasstation.info api to select a gas price and then publishes a raw transaction ...
0
votes
0answers
13 views

Max gaz transaction for one function

I have problem with my contract on BSC network: 0x28592BAc439c3d358EDC52c20667D29b0a90a5DE *Submitted for verification at BscScan.com on 2021-06-22 */ // SPDX-License-Identifier: GPL-3.0 pragma ...
1
vote
1answer
53 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
12 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
16 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
9 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
34 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
14 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
34 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
11 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
24 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
262 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
0answers
23 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
46 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 ...
0
votes
1answer
20 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 ...
2
votes
1answer
191 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
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
16 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
35 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
478 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
90 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
226 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
61 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
52 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 ...
1
vote
1answer
59 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 ...
1
vote
1answer
2k 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 | ...
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
686 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 ...
0
votes
1answer
267 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 $...
3
votes
2answers
490 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
27 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
396 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
1answer
97 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 ...
1
vote
2answers
505 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?
0
votes
1answer
58 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?...
0
votes
1answer
18 views

Can increasing a tx gas fee slow down a transcation because it'll be put into the end of a queu in a pool?

I send a transction, then, every 1-2 hours, I keep increasing the gas fee. I've done it a few times. I've noticied that after several hours that my gas fees isn't still high enough. However, at some ...
1
vote
1answer
87 views

Other ways of paying gas different than Ether?

I've been trying to transfer my BATs from my ledger to the exchange address, only to discover that I haven't enough coins in the ETH parent wallet to pay the gas .. I had some ETHER until a couple of ...
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
308 views

Manually setting transaction fee when transacting using geth

I am using geth to transfer some ether to another account. After geth attach to my node, I just do is the following personal.unlockAccount(eth.accounts[0]) eth.sendTransaction({from:eth.accounts[0], ...
0
votes
1answer
2k views

Does coinbase charge for gas fees?

I'm reading this article which says coinbase could charge you for gas fees. However, when Ethereum gets congested, Coinbase will charge you for gas fees too. When it comes to gas, Uniswap and ...
0
votes
1answer
102 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 ...
7
votes
1answer
56k 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 ...