rolesOf

Calls the "rolesOf" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.