UnknownContract
Get Role Admin
(getRoleAdmin)
view
Use this function in your app
import { readContract } from "thirdweb";
const data = await readContract({ contract, method: "function getRoleAdmin(bytes32 role) view returns (bytes32)", params: [role]})