Is there a way to simulate the output of a smart-contract call?

Viewed 1019

I want to know the exact effect of submitting a smart-contract call. For example, if I swap USDC to ETH on uniswap.

For transactions, we have eth_call, is there something similar for contracts? This needs to work for arbitrary complicated interactions, basically anything I can sign and submit.

I have a fully synced node, so everything can be done locally.

1 Answers
Related