1

Hi is it possible to send token XYZQ to two addresses in one transaction. here is example. 100 XYZQ ===> 99.9999 to XYZQ 1 address and 0.0001 XYZQ to second XYZQ address? For same amount of gas

1
  • It seems like you want to batch an Ethereum transaction, but at what level are you looking to do the batching? Are you trying to make a single transaction go to two addresses? Or are you trying to set up a Web3 client call which will generate two transactions? or something else? Commented Apr 23, 2018 at 22:07

1 Answer 1

0

For same amount of gas

This doesn't work. The gas price will be higher, as you are doing one transaction more.

That being said, it shouldn't be a problem to write a simple solidity contract to execute two transactions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.