revokeRoles

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

Example

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

Parameters

Returns

A prepared transaction object.