Stack Exchange Network

Stack Exchange network consists of 174 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 related to the transactions fees and gas costs in Ethereum

1
vote
1answer
10 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
42 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 ...
2
votes
1answer
403 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
24 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 ...
0
votes
0answers
60 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 ...
0
votes
2answers
110 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
22 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
1answer
27 views

Is it possible to 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
46 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
446 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
152 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
47 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, ...
0
votes
0answers
22 views

One address pays for another address's transaction costs [duplicate]

Is there contract that can be used to enable one party paying the transaction fees on behalf of another party? Simply transferring ETH from address A to address B could potentially permit the owner ...
1
vote
0answers
17 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
46 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
113 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
176 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
43 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
64 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
488 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
0answers
45 views

Cannot send transaction on the ethereum network even though I have enough balance

In web3 version 1.0.0-beta.29: My account Balance: web3.eth.getBalance(eth.accounts[7]) gives 10029800000000000 So I calculate the transaction fee as web3.eth.gasPrice + web3.eth.estimateGas({ ...
0
votes
1answer
152 views

Gas Requirement for Ethereum Message Signing

Is Gas required to sign a message using ethereum?
3
votes
2answers
906 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 ...
0
votes
0answers
19 views

Are we paying interest?

Based on this answer: How does interest work in casper? Once Casper fully takes over -or even right now- are we paying fees -gas money-? Or interest?
2
votes
2answers
332 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
334 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
246 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
336 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
0answers
134 views

Low fee Ethereum transaction is now stuck in coinomi - .00000002 fee - recommended fee as of 2018 Jan?

I made an ETH transaction and set the fee to .00000002 in the coinomi app on android. The transaction is now stuck for over 6 hours. What is the recommended fee to put in the coinomi android app as of ...
0
votes
1answer
46 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 ...
0
votes
0answers
220 views

Custom ERC20 Tokens, how work the transaction's fees ?

Good morning, I created a custom ERC20 Tokens and I would like to understand properly how work the fees for the custom tokens. When a customer wants to buy my ERC20 Tokens, he send ETH to the token ...
1
vote
1answer
55 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
9k 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
370 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
209 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
143 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
23 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
494 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
118 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
2answers
233 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
562 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?
2
votes
2answers
2k views

What is the size (bytes) of a simple Ethereum transaction versus a Bitcoin transaction?

Alice owns an empty Ethereum wallet. Receives 1 ETH then sends 1 ETH to Bob. Alice owns an empty Bitcoin wallet. Receives 1 BTC then sends 1 BTC to Bob. What are the transaction sizes in bytes (...
3
votes
2answers
3k views

How is Ethereum Wallet's transaction cost calculated?

Lately, I've seen wildly varying transaction costs when using Ethereum Wallet. How is the fee range computed? Current range:
2
votes
0answers
461 views

Remix Testrpc “base fee exceeds gas limit”

I am following this great tutorial from Ed Zynda. I started testrpc and tried to deploy the FuncToken.sol to a Web3 Provider. I managed to connect to the local RPC (have to change protocol from https ...
2
votes
1answer
75 views

Why is the cost of memory non-linear, while the cost of storage is linear?

Why is the cost of memory non-linear, while the cost of storage is linear? I wonder why the cost function of memory vs. storage differ? While storage is associated with a constant cost, this is not ...
4
votes
1answer
5k views

What is the relationship between Gwei and gas?

I know that a Gwei means 1000000000 wei, but when we send a transaction with 21000 gas, is that mean we send 21000 Gwei? please explain Gwei for me
0
votes
2answers
725 views

Fee for sending 4.3 ether with gasprice set to 200000

I'm about to buy some ICO and I want to maximize my purchase. What is the fee on 4.3eth with the gasprice set to 200000?
1
vote
1answer
539 views

Why failed transactions have higher fees?

Liquidating some tokens on EtherDelta. Some of the transactions are not successful - they have higher fees than transactions that are successful. What is the reason for that?
6
votes
2answers
1k views

Who pays gas for smart contracts?

I'm currently writing my first smart contract and I'm trying to figure out how to inject gas into the contract, of course, if it's possible. I'm not sure If I got it correctly. With every transaction ...