Questions tagged [fees]

Questions related to the transactions fees and gas costs in Ethereum

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

When can reorg of FeeHistory API condition be triggered

thanks in advance. I'd like to know when the reorg condition can happen. First please take a look this part of source code. If see the line 294-297, there are comments and a condition like below. ...
0
votes
0answers
16 views

Etherscan and Coinbase transaction amounts do not match

Description The coinbase transaction says it's sending 0.0517031 ETH. The etherscan transactions says it's received 0.0503801 ETH. Transaction fees came to: 0.001717298072028 ETH. The etherscan value ...
1
vote
0answers
27 views

Charge a user a fee based on gas price?

I want to let users mint NFTs and charge them a fee for each NFT that is a percentage of the gas price they are paying to mint. For example, if the total gas cost of minting one token is 0.1 ETH, and ...
0
votes
1answer
13 views

how to tackle block gas limit to send large data file as transaction on ethereum

I want to send ethereum blockchain a file approx 39KB. The file is like array generated by python code. I dont want to use IPFS and oracle. Is this file exceed block gas limit? if yes, then can i ...
0
votes
1answer
110 views

Do you pay gas fees on Open Sea if no one buys your item?

i know you pay gas fees if you cancel a post but what if the time expires on it? do you have to pay the gas fees when that happens as well? ( for Open Sea)
0
votes
0answers
28 views

Transaction Fee of an Auction Smart Contract

I tried to write an auction smart contract recently and found an interesting question: Let's assume there is an auction smart contract already deployed on Ethereum. There should be a bid function in ...
0
votes
0answers
41 views

Transaction underpriced - where to find the minimum fee in GWEI that will be accepted into the mempool?

I have a couple of transactions to make, not time-critical, I'm happy to wait several hours. Back in the day I was using gasnow (no longer in business), right now sticking to https://ethgasstation....
0
votes
1answer
66 views

How to integrate 2.5% sales fee in an NFT Marketplace

I'm currenttly building an NFT marketplace, I am done with all the major functionalities, i.e listing, selling, buying etc. but the problem is, when wiriting the code earlier I used a fixed listing ...
0
votes
0answers
13 views

Incentive for miners to include transaction in block post-EIP-1559

From what I have read the EIP-1559 upgrade impacted miners by eliminating the value of mining blocks regardless of the amount of transactions included because they would receive always receive the gas ...
1
vote
1answer
88 views

Why is my contract so expensive to deploy?

I've tried to deploy a contract based on openzeppelin library (see below). The fee I paid is about $146 and the contract didn't even deploy(i.e it run out of gas ). I find this unbelievable high. It ...
0
votes
0answers
16 views

Staking (and farming yield) with small amount ETH - where to?

I'm a simple hodler with a small amount of ETH (~4) and I wanted to earn some via staking. I did my research and came to the conclusion the most profitable options would be: to stake via Lido (or ...
0
votes
0answers
83 views

Changing fees in smart contract

I am quite beginner to solidity, trying to learn smart contracts. so here in this code: bool autoLiquifyEnabled = true; uint256 liquidityFee = 600; uint256 liquidityFeeAccumulator; uint256 buybackFee ...
0
votes
4answers
24 views

How can I get my fees back when I had the error: "warning error encountered during contract execution"

How can I get my fees back when I had the error: "warning error encountered during contract execution" I mad the transaction with Metamask. And paid 80 dollars. And I want the have the 80 ...
0
votes
0answers
11 views

how to change the code of the Smart contract to solidity?

how to change the “safemoon” or “open zeppelin ERC20” contract so that a total of 777T coins are created, transaction fee is 1%, liquidity fee is 1% and burnout is 1% with each transaction
0
votes
0answers
25 views

Adding an additional 2% fee

I have been struggling for days and I was wondering if I could have some help. I am going to launch this Ethereum Based ERC-20 token and I am going to list it on Uniswap, and I want to add an ...
0
votes
0answers
6 views

Gas Fees of Selling One-of-a-kind collectible or Multiple times of one collectible on Rarible

I assume the gas fees of selling multiple times of one collectible on Rarible would be much higher than selling one-of-a-kind collectible?
0
votes
0answers
11 views

What mainnet activities contribute to gas fees being and staying so high on Ethereum?

Gas above 100 gwei has been the norm for the past several weeks. This is a very expensive transaction cost when translated to dollars. What contributes to such a high gas fee, and how come it's been ...
0
votes
1answer
143 views

What does feeReceiver in the Shiba Inu source code do?

This question isn't really about Shiba Inu. More about how Ethereum works. In the Shiba Inu source code (see here), there is an argument feeReceiver in the constructor (line 455) which then gets ...
0
votes
0answers
10 views

Defi trading fees

I've just gotten started with metamask and I'm looking to interact with defi exchanges. I have a couple questions: What defi exchange should I use for the lowest fees? Does the fee depends on the ...
0
votes
0answers
26 views

Would new type2 transactions be prioritised over legacy type0 transactions?

regarding ethereum eip 1559 upgrade, i see it still supports type0 legacy transactions. Is there any benefit for using new type2 transactions except for reducing fees if i just want fast uniswap ...
1
vote
1answer
25 views

Voting without paying fees

I'm Alex and currently exploring the governance smart contracts. I would like to create an ERC20 token where holders are able to vote/sign multiple propositions made by the owners account. Is there a ...
1
vote
0answers
24 views

How to read the excess (non-burned) tip fee for a transaction after EIP-1559?

I'm trying to understand the programming capabilities of Solidity with the new model of base fee and tip. Pls correct me if I'm wrong, from my understanding, the base fee is setup by the network based ...
0
votes
0answers
21 views

Where to get value and transaction fee associated with a transaction?

On Etherscan, there are two data points that I'm not sure where/how to get, whether it's through the Etherscan API or some other method. Specifically looking for "Value" and "...
3
votes
1answer
227 views

How can I add a safeTransferFrom royalty/fee to the Contract Owner?

I have created a contract implementing ERC2981 and ERC1155, however I am not being able to understand how can I take a, eg. 5%, fee each time tokens change owners. I am using openzeppelin ...
1
vote
1answer
101 views

EIP-1559 fee structure terminology

Looking at the fee structure of the EIP - 1559, I noticed we have such terms as maxPriorityFeePerGas and maxFeePerGas. I think maxPriorityFeePerGas is basically tip you pay the miner and ...
0
votes
1answer
22 views

What is the most gas-efficient way to hard-code a bytes array?

I need to hardcode some multi-Kb bytes into my smart contract. So far, the best way I have found to do this is to use abi.encodePacked... return abi.encodePacked( abi.encodePacked( ...
0
votes
1answer
20 views

Can I somehow create a fee that i will receive?

I want to charge the user a fee evertime he does something with my smart contract, can I do this? Would be nice if someone can explain it to me with this example: Everytime someone calls a function(in ...
0
votes
0answers
14 views

Can a smart contract store the transaction info from a transaction it just executed?

The scenario is as follows: a transaction is executed from a Smart Contract. Can said contract store transaction info like the transaction hash and gas fees into itself? I want this information ...
0
votes
1answer
48 views

I want to add fees in my token contract such that when someone buys my token he needs to pay some fees? any idea how to do it? below is the code:

this is the GitHub link to sol file feel free to check it out: https://github.com/Haris-Shaukat/Token/blob/main/Token.sol
1
vote
0answers
113 views

What would be the safest way to prevent paying unnecessary high gas fees for transferring USDT?

Bitfinex paid a seismic $23.7 million dollars in a gas fee for a comparatively nominal $100K transaction, link. At 11:10 UTC on the 27th September a deposit transaction was made using a hardware ...
1
vote
0answers
214 views

Trying to get buy and sell fee for any BEP20/ERC20

I'm trying to understand how https://honeypot.is/?address=0x317a214777a04576b0287fc8abc98738b27815c8 works. I'll link all info from the BSC checker but is almost the same for ETH They are using a ...
0
votes
1answer
20 views

Breaking down contract transaction fees from logs

Looking at random transaction like this one how can one tell home much fee each of the involved participants paid? There is transaction fee that you pay from your wallet but here the fee is shared ...
0
votes
0answers
9 views

transfer token from an account that doesn't have ETH

I have a centralized ERC20-token exchange. I have millions of customers each has some tokens in his account. For privacy reasons, I want to transfer their tokens to my hot wallet. But none of my ...
1
vote
0answers
45 views

How can exchanges afford to offer free deposits for ETH and ERC-20 tokens?

The question has been asked previously but the accepted answer does not hold a candle to reality: In both cases, the exchange pays the gas fee to send the tokens to the hot wallet. That's why the ...
1
vote
1answer
48 views

Can the same ETH be used to pay for gas for multiple ERC-20 token transfers?

Suppose I deposit two ERC-20 tokens (let's say USDC and USDT) into a single ETH address with $10 worth of Ether and I now want to transfer both of these tokens to another address. Suppose the current ...
1
vote
0answers
17 views

Paying for ERC-20 Transfer using Automatic Gas Station Fillers?

I'm building a cryptocurrency service which allows users to deposit and transfer ETH and ECR-20 based tokens (such as USDC and USDT). When a user deposits an ERC-20 token, the user must have ...
0
votes
1answer
55 views

How Do I Minimize ETH Transfer Fees?

I sent some ETH yesterday from a coin exchange to my ETH wallet. The gas limit was 21000, gas used was 21000 and the gas price was 111.608. The fee charged was approx. 0.00234 ETH, which was approx. 8%...
0
votes
0answers
180 views

Allocate tax fee to all holders

I am trying to create a simple coin and want to allocate tax fees equally to all existing holders. I was able to write the code below, but this contract gives all tax fees to just the owner/admin. Can ...
2
votes
1answer
689 views

gas fee on OpenSea

First, I'm brand new to the Ethereum platform, so I do apologise if any of the following is considered stupid questions. Now, I will ask my question anyway I am setting up the first sale of one of my ...
1
vote
1answer
187 views

Send transaction with all ether (fees) - EIP 1559

I'm not sure I right understand structure of fees (EIP 1559). Because I cannot guess what will be base fee for my transaction, 'cause I will not know how much transactions will be in block (base fee ...
1
vote
1answer
79 views

If blocks aren't full, why can't I set a gas fee of 1-10 gwei? Who dictates that it needs to be 20-30 gwei when blocks aren't even full?

If blocks aren't full, why can't I set a gas fee of 1-10 gwei? Who dictates that it needs to be 20-30 gwei when blocks aren't even full? And where is the best place to adjust my gas fee if I don't ...
0
votes
0answers
11 views

Fees per MB for Ethereum since 2015

Is there a chart for "Fees per MB" in Ethereum? What is the equivalent of MB in Ethereum gas limit?
0
votes
1answer
20 views

Why do some transaction on BSC not have a [Txn Fee] of 0?

One transaction every block has a [Txn Fee] of zero. Relevant call to produce: webThree.eth.getTransaction('0x17247521041a79b7cbad3fc19d04f02ff1dd58488b85aaf6df514c31c2c03143').then(console.log) ...
0
votes
0answers
31 views

REST API to get burned ETH by block?

I've been looking for a while and I can't find a way to get burned ETH per block programatically. Can someone help? I could also compute it using Web3 (python or js), but I don't see a way to get that ...
0
votes
0answers
480 views

How to sell NFT on opensea's main net without paying gas

I have just started studying solidity and NFTs etc and I was wondering how to people mint 1000s of NFTs on opensea, are they paying all that gas fees or is there a work around it? So far I have read ...
1
vote
1answer
56 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
119 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
423 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
29 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(...
7
votes
1answer
222 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 ...

1
2 3 4 5