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?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityYes, the gas will be paid for by you, the sender of the transaction. The gas will not be taken from the contract.