Prepares a transaction to call the "setOwner" function on the contract.
import { setOwner } from "thirdweb/extensions/uniswap"; const transaction = setOwner({ contract, newOwner: ..., overrides: { ... }}); // Send the transaction...
function setOwner( options: BaseTransactionOptions< SetOwnerParams | { asyncParams: () => Promise<SetOwnerParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "setOwner" function.
let options: BaseTransactionOptions< SetOwnerParams | { asyncParams: () => Promise<SetOwnerParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.