This feature is currently in beta and may change based on feedback that we receive.
Use this to check if a WalletAddress is a member of a role on a
} = useIsAddressRole(SmartContract, "admin", "0x123");
export declare function useIsAddressRole<TContract extends ContractWithRoles>(
|contract||RequiredParam<TContract>||an instance of a|
|role||RolesForContract<TContract>||the role to check the member against, see|
|walletAddress||RequiredParam<WalletAddress>||the address to check|
true if the address is a member of the role, or false if not