rust-web3 icon indicating copy to clipboard operation
rust-web3 copied to clipboard

is there a way to callStatic func like in ethers.js?

Open YeautyYE opened this issue 1 year ago • 1 comments

I tried to get the price in UniswapV3 by using the method "quoteExactInput". In ethers.js, I can use callStatic directly to avoid sending requests and wasting gas.

YeautyYE avatar Feb 17 '23 09:02 YeautyYE

would need the same

philipp1992 avatar Sep 07 '23 12:09 philipp1992