rolesOf

Calls the "rolesOf" function on the contract.

Example

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

Parameters

The options for the rolesOf function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.