0

If I make a bulk transfer with multi sender apps or an array in a smart contract or airdrop apps - will this be one time the gas price only?

Ismael
  • 30,570
  • 21
  • 53
  • 96
  • Depending on the number of recipients a contract could achieve that operation in a single transaction. If the number is quite large you would have to split into several transactions. – Ismael Sep 04 '21 at 23:45
  • Let’s say I want to make 10 transactions – user2459331 Sep 05 '21 at 21:24
  • But will that cost me 10 x 1 transaction gas fee or is it cheaper? – user2459331 Sep 05 '21 at 21:24
  • It depends on the contract, there's a minimum 21000 gas per transaction, and a contract has to pay 9000 to transfer ethers to an existing account. Probably it would be cheaper than sending 10 transactions but it will be more than sending a single transfer. – Ismael Sep 05 '21 at 22:44
  • So it has to pay 9000 for each transaction - so 90,000 in this case – user2459331 Sep 06 '21 at 19:08
  • It is an approximation, it is better to test with the deployed contracts to be sure. – Ismael Sep 06 '21 at 20:42
  • The gas amounts you took from the white paper ? – user2459331 Sep 06 '21 at 21:48
  • Those values are from the Ethereum Yellow paper, I haven't checked if they are the latest ones. – Ismael Sep 06 '21 at 23:40

0 Answers0