Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fees]

Questions related to the transactions fees and gas costs in Ethereum

1
vote
1answer
18 views

Return fees - is it save?

I would like to return partially fees to users of my dApp. Once they have reached X amount in fees, I want to make a function that will pay them ethereum automatically. Now my question: Is that secure?...
1
vote
0answers
32 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 ...
2
votes
1answer
16 views

Second price auctions for more stable transaction fees

Why does Ethereum not use a second price auction for setting transaction fees? This would protect users from paying too much by mistake and lead to more stable and predictable fees for everyone. ...
0
votes
0answers
13 views

Sending an extra percentage of a token someone is trading to a cold wallet storage address

I have an erc20 token I want to start trading. In the smart contract, can you make it send 1% of the transaction amount in the token being sent to a "company wallet" storage along with the wallet it ...
0
votes
1answer
18 views

Why we use 1000 to divide our fees?

function transferToAddress(address _to, uint _value, bytes memory _data) internal returns (bool success) { require (_to != msg.sender && _to != address(0)); uint fee = ...
0
votes
0answers
35 views

Setting Fees/Prices for Items

I have a question on setting prices for the cards in the card game I'm working on. Right now, I have 2 cards available but there will be more (maybe a couple dozen). I store each card as a struct ...
5
votes
2answers
435 views

How is it possible to pay 2,100 Ether ($309,267) for a transaction fee?

Here is the transaction details that has transaction fee for 2,100 Ether ($309,267.00) only for sending 0.1 Ether. There is no fairness for users, hence accidentally adding a zero might cause them ...
0
votes
1answer
32 views

How do miners claim gas from an invalid transaction?

Suppose a transaction T changes the state from S to an invalid state S'. For example, say, it ran an long loop of no operations (no_op), and attempted a double spend. Since this T transforms the state ...
0
votes
1answer
64 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 ...
3
votes
1answer
126 views

Gas costs of the following contract

I'm calculating the gas costs of the following contract: 0x6001600190016007026005016002900460049060016021900560150160030260059007600303600960110a60005260086000f3. Disassembled versions: contract ...
1
vote
0answers
15 views

Ethereum Price - Transaction cost relation [duplicate]

The average transaction cost is around 0.0005ETH which is around 0.06$ right now. Does it mean that the transaction fee decreases whenever the price of Ethereum drops? Isn’t the price closely related ...
1
vote
3answers
119 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 ...
0
votes
0answers
112 views

Achieving ZERO fee ethereum transactions like EOS

How would Ethereum take on the approach of how EOS have ZERO fees when making a transaction? EOS has the concept of resources, but is there anything like this in the works of "shared resources" for ...
1
vote
1answer
13 views

Change contract transaction payer from initiator to contract

I have smartcontract that creates some internal structures in external call. Now, when calling this creator function transaction paid by initiator. Is it possible to make contract paying for this tx?
0
votes
1answer
158 views

“state channel” v.s “micro-payment channel” : are they the same?

We use "micro-payment channels" such as "Bitcoin Lightning Network" or "Duplex Micro-Payment Channels" for saving transaction fee, accelerating payments, supporting better micro-payment and scaling ...
3
votes
1answer
543 views

what is difference between “gas” “gas price” and “fee”?

Can we say that gas is the unit of transaction fee ? And gas price is the same transaction fee ? If so, why we do not use ether and wei instead of gas ?
0
votes
1answer
35 views

Is it clear that for every “ether” transfering using “address.transfer(amount)” how much “fee” must be paid?

Is it clear that for every "ether" transfer using "address.transfer(amount)" how much "fee" must be paid? I mean how much is the cost of transferring ether by address.transfer(amount)? Is it a fix ...
1
vote
0answers
202 views

Dynamic arrays VS mappings when it comes to gas usage?

I'm puzzled what is more efficient to use, from the point of gas consumption (storage and execution), dynamic array or the mapping and element counter. To be more clear, I'm not asking the basic data ...
1
vote
2answers
522 views

Who pays transaction fee ? Payer or Recipient of the ETH?

When we call address.transfer() or address.send() to transfer ETH, who has to pay transaction fee ? Payer or Recipient of the ETH? And is there any option to choose payer of the fee or gas? Updating ...
2
votes
0answers
29 views

It seems like oraclized takes way more than $0.05 [closed]

When a TX for a random number like such: https://ropsten.etherscan.io/tx/0x54fa389796fea546ac6562bec7cfe4b0daca1b744920a38a0e85036b07a1e0ee It says that 0.004 ehter was send to oraclized and it is ...
1
vote
2answers
39 views

Is it possible to batch transactions together?

In bitcoin-land, it's advised to batch transactions to send them to (a) reduce fees and (b) reduce network congestion. Does the same apply to ethereum land? It seems that the to can be only one ...
0
votes
1answer
74 views

Smart contract to buy/sell ETH/ERCToken for backed token and fee on each transaction

I did quite a lot of research to find something like this with no success. I would like to create a smart contract that allows any token to be backed by ETH. The user can buy the token directly by ...
2
votes
2answers
962 views

Why don't private blockchain networks that do not charge for transactions charge a fee when processing ethereum/ proprietary token on the network?

I ask this questions is there seem to be 2 flavors of blockchain: 1. Public think bitcoin and ethereum. 2. Private hyperledger, SAP Leonaro, etc. The public network charges for transactions which make ...
3
votes
2answers
256 views

Can a fee in Ether be added to ERC20 Token transfers

New to Solidity... Is it possible to have a fee for transfers of an ERC20 Token in Ether? The fee would be 0.000001 Ether per transfer. Each time the ERC20 Token is sent to another user, the fee in ...
1
vote
1answer
79 views

Why is gas needed when fees can be derived intrinsically?

If fees are derived based on the equation (startGas - remainingGas) * gasPrice, why is gas even needed to be specified for a transaction? The intrinsic gas can be derived from the contract itself, ...
1
vote
0answers
24 views

Miner incentives in a permission blockchain with a digitally native asset on Ethereum?

Would be very grateful if someone could give me their opinion and ideas on whether this is possible, and if so, how this might be done: If one were to build a permission blockchain on Ethereum with ...
1
vote
1answer
71 views

How to create multiple connected addresses?

I didn't see anything on here so I figured the community would benefit as well, plus I really am curious. Lots of exchanges (or online wallets) have no fees when transferring BTC or ETH or etc ...
0
votes
2answers
250 views

If every node executes the transaction, who collects the transaction fees? [duplicate]

I read here -- On which node smart contract get executed taht once your smart contract gets incorporated into the Ethereum network, every node on the network will execute that contract (done to ...
0
votes
1answer
204 views

Ethereum Transaction for ERC20

If I want to airdrop the token to 10,000 addresses can we do it all under 1 transaction rather than 10,000 separate transactions all incurring separate fees. Thanks Amit M
1
vote
1answer
53 views

How to calculate exchange fee in ETH in transaction?

Let's say I have the following decoded transaction input data: [ "0x0000000000000000000000000000000000000000", "690000000000000000", "0xac709fcb44a43c35f0da4e3163b117a17f3770f5", "...
2
votes
1answer
2k views

why are Ethereum transaction fees so high?

I transferred some ETH earlier on today (see txn info here) - as you can see it was for $18 dollars. The transaction fee was $0.41 I did another transfer few days so (see txn info here), this time ...
0
votes
1answer
83 views

How to properly calculate amount of fee in this smart contract?

I'm exploring tradeBalances method of this smart contract and trying to investigate how does fee actually calculate for this transaction with the following decoded input data: ‌[ "...
1
vote
1answer
627 views

What's a normal price for deploying a smart contract? How to make sure I don't overpay it?

I deployed a contract on the testnet and it costed about $1. I tried in on the mainnet, it required about $50. Is this normal? Gas Limit: 1719577 Gas Price: 40 Fee: 0.068 ether How can I make ...
0
votes
1answer
271 views

Gas Requirement for Ethereum Message Signing

Is Gas required to sign a message using ethereum?
3
votes
2answers
1k views

Unaffordable gas limit for my Ethereum based crypto-coin

The gas limit for single send transaction is about 21000 gas. Now I am creating my own Ethereum based crypto-coin, and I want to keep its conversion rate as 1 coin = 1 US$ and about 0.02 US$ as ...
2
votes
2answers
440 views

ERC20 Transaction Fee - setFeeCurrency

Hi i now read everywhere that a transaction fee has to be paid in ETH. But I also found via the ethereum page the following page: https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs#...
3
votes
5answers
359 views

Smart Contract public chains, other than Ethereum mainnet

As a DApp developer I am concern about the costs of transaction on Ethereum mainnet. Every DApp interaction with the Smart Contract is having a cost between 1$ and 50$ depending on the data size and ...
0
votes
1answer
345 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 ...
2
votes
1answer
380 views

How to calculate storage costs?

How would I calculate how much it would cost to store the string "hello world" on an Ethereum block? Would this be more or less than a transaction fee?
0
votes
1answer
54 views

Transaction Fee without Transaction

Today I wanted to buy me a cryptokittie. Because I wanted to buy the cat, I downloaded Metamask and put some Ether in it. My transaction to buy some kittes were not realized at the end, but still I ...
1
vote
1answer
58 views

I want to setup an Ethereum Trading website. How should I handle the ETH network transaction fees (miner's fee)? [closed]

Let's say Person A wants to sell 1 ETH, and Person B wants to buy 1 ETH. They agreed upon a rate. But if I transfer 1 ETH from A to B, Person B will get less than 1 ETH because of gas. But if I ...
4
votes
1answer
11k views

Costs for sending ERC20 token

I want to move a small amount of OMG tokens to a different address. I have no ether at this address, so I guess I have to transfer some to this address in order to pay the transaction fee. If I want ...
1
vote
0answers
414 views

How do I find the fees and payout info for mining pools? [closed]

I would like to start mining Etherium. But I just realized that it would probably take me years to find anything with my low hashing power. So I would like to join a pool. Most pools only seem to do ...
1
vote
1answer
263 views

Child Pays for Parent in Ethereum?

In bitcoin, when a transaction is under-priced and stuck unconfirmed on the blockchain, it is possible to bump it by setting up a CPFP transaction. Is there a similar way to achieve this in Ethereum? ...
1
vote
0answers
160 views

Is there a solution to fees scaling with the size of the network?

I just read the whitepaper's section on fees. I like the idea that presenting a reward can avert a tragedy of the commons because miners can roughly predict the cost to them to process the transaction ...
1
vote
0answers
24 views

Does only one miner collect my transaction fee? [duplicate]

I just ran in to the concept of gas and found this community. This question and answer were particularly helpful, but they leave one thing unanswered for me: If I send out a transaction with a given ...
2
votes
1answer
516 views

Why are fees so high, what am I doing wrong

I'm trying to transfer a small amount of ETH from one account to another. However the fees its sugesting are crazy. This can't be normal. Firstly it asks for 1 ether, which is $470. Dragging the ...
6
votes
2answers
128 views

Is the concept of paid prioritization in blockchain against net neutrality?

Since there are so many discussion about net neutrality, this triggered the question, especially since usually the proponents of blockchain and cryptocurrencies are also big proponents of net ...
0
votes
3answers
332 views

Is it possible to get the exact amount of Ethers deducted in a 'simple' send?

I can specify a gas price and a gas limit. These give me the maximum values. I need to be able to compute the exact amount that is going to be deducted when I do a simple send (EOA to EOA transfers). ...
2
votes
2answers
795 views

start gas vs gas limit

To be absolutely sure: start gas and gas limit are the same thing in the context of a transaction, correct?