Calls the "rolesOf" function on the contract.
import { rolesOf } from "thirdweb/extensions/modular"; const result = await rolesOf({ contract, user: ...,});
function rolesOf( options: BaseTransactionOptions<RolesOfParams>,): Promise<bigint>;
The options for the rolesOf function.
let options: BaseTransactionOptions<RolesOfParams>;
let returnType: Promise<bigint>;
The parsed result of the function call.