setContractURI

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

Example

import { setContractURI } from "thirdweb/extensions/common";
const transaction = setContractURI({
contract,
uri: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.