Beta
an instance of a SmartContract
the role to check the member against, see Role
the address to check
true if the address is a member of the role, or false if not
const { data: isMember, isLoading, error } = useIsAddressRole(contract, "admin", "{{wallet_address}}");
PermissionsEnumerable
Generated using TypeDoc
Check if an address is a member of a specific role