hasAllRoles

Calls the "hasAllRoles" function on the contract.

Example

import { hasAllRoles } from "thirdweb/extensions/modular";
const result = await hasAllRoles({
contract,
user: ...,
roles: ...,
});

Parameters

Returns

The parsed result of the function call.