quoteExactInput

Prepares a transaction to call the "quoteExactInput" function on the contract.

Example

import { quoteExactInput } from "thirdweb/extensions/uniswap";
const transaction = quoteExactInput({
contract,
path: ...,
amountIn: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.