import { sendTransaction } from "thirdweb";
import { quoteExactInputSingle } from "thirdweb/extensions/uniswap";
const transaction = quoteExactInputSingle({
contract,
tokenIn: ...,
tokenOut: ...,
fee: ...,
amountIn: ...,
sqrtPriceLimitX96: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });