import { sendTransaction } from "thirdweb";
import { quoteExactOutput } from "thirdweb/extensions/uniswap";
const transaction = quoteExactOutput({
contract,
path: ...,
amountOut: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });