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