Get a hex value of a smart contract role You need the hex value to interact with the smart contracts.
const adminRoleHash = getRoleHash("admin"); // 0x0000000...000000
function getRoleHash(role: RoleInput): `0x${string}`;
string
let role: RoleInput;
let returnType: `0x${string}`;
hex value of the contract role