hasAllRoles

Calls the "hasAllRoles" function on the contract.

Example

import { hasAllRoles } from "thirdweb/extensions/modules";
const result = await hasAllRoles({
contract,
user: ...,
roles: ...,
});
function hasAllRoles(
): Promise<boolean>;

Parameters

The options for the hasAllRoles function.

Type

Returns

let returnType: Promise<boolean>;

The parsed result of the function call.