Gets the admin of a role.
import { getRoleAdmin } from "thirdweb/extensions/permissions"; const result = await getRoleAdmin({ contract, role: "admin",});
function getRoleAdmin( options: BaseTransactionOptions<GetRoleAdminParams>,): Promise<string>;
The options for getting the role's admin.
let options: BaseTransactionOptions<GetRoleAdminParams>;
let returnType: Promise<string>;
The address of the role's admin.