Content
@
0 reply
0 recast
0 reaction
SonOfMosiah
@sonofmosiah.eth
Is there an equivalent call to ethers callStatic in ethers-rs to simulate a transaction? https://docs.ethers.org/v5/api/contract/contract/#contract-callStatic
1 reply
0 recast
2 reactions
zerosnacks.eth
@zerosnacks
Under the hood it will use the eth_call RPC method which means you can just .call() https://github.com/gakonst/ethers-rs/blob/88095ba47eb6a3507f0db1767353b387b27a6e98/ethers-contract/src/call.rs#L280
0 reply
0 recast
1 reaction