Retrieves all members of a specific role.
import { getAllRoleMembers } from "thirdweb/extensions/permissions"; const result = await getAllRoleMembers({ contract, role: "admin",});
function getAllRoleMembers( options: BaseTransactionOptions<GetAllRoleMembersParams>,): Promise<Array<string>>;
The options for retrieving role members.
let options: BaseTransactionOptions<GetAllRoleMembersParams>;
let returnType: Promise<Array<string>>;
A promise that resolves to an array of strings representing the role members.