Retrieves a specific member of a specific role.
import { getRoleMember } from "thirdweb/extensions/permissions"; const address = await getRoleMember({ contract, role: "admin", index: 0n,});
function getRoleMember( options: BaseTransactionOptions<GetRoleMemberParams>,): Promise<string>;
The options for retrieving the role member.
let options: BaseTransactionOptions<GetRoleMemberParams>;
let returnType: Promise<string>;
A promise that resolves to the address of the role member.