Docs

setOwner

Calls the "setOwner" function on the contract.

Example

import { setOwner } from "thirdweb/extensions/uniswap";
const transaction = setOwner({
contract,
newOwner: ...,
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.