I have a solidity contract that contains a logic to approve and transfer balance, swap and flashloan. But when i use eth_call
to call my function that perform swap, it reverts.
I tried by eth_sendRawTransaction
, and it gives me the correct result. so My question is, Can eth_call
simulate transaction that contain safeapprove
and transfer
or do I miss something?