useRoleMembers
Hook for getting all wallet addresses that have a specific role in a smart contract.
Available to use on contracts that implement the Permissions interface.
Example
Parameters
Returns
The hook's data property, once loaded, is an array of wallet addresses that have the specified role