hasAnyRole

Calls the "hasAnyRole" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.