renounceRoles

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

Example

import { renounceRoles } from "thirdweb/extensions/modular";
const transaction = renounceRoles({
contract,
roles: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.