0

Lets say there are 2 smart contracts A and B. A contracts approves B contract for some allowance, as B has approval to withdraw from A contract. Lets say contract B withdraw some X coins from A contract, Does A contract pay fees for this transaction (Sending X coins from A to B)?

1 Answer 1

1

Whoever initiates the transaction pays for the transaction fees. This is usually the end user interacting with the smart contract, but could be the smart contract in some cases of on-chain automation like Acala EVM+ Schedule predeploy.

1
  • Do you know of any EIP to allow normal EVM contracts to pay for their own gas?
    – Ryan Sea
    Commented Sep 3, 2022 at 20:26

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.