1

If I call my contract and ask it to send x amount of ether to another account y, I know i have to pay a transaction cost.

Will the contract also have to pay any amount while sending the ether to the account y?

1 Answer 1

1

Yes, the gas will be paid for by you, the sender of the transaction. The gas will not be taken from the contract.

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.