> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-mux-docs-claude-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20.getRoleAdmin

> Generated B20 reference for getRoleAdmin(bytes32).

## Signature

```solidity theme={null}
function getRoleAdmin(bytes32 role) external view returns (bytes32);
```

| Field               | Value                   |
| ------------------- | ----------------------- |
| Selector            | `0x248a9ca3`            |
| Canonical signature | `getRoleAdmin(bytes32)` |

## Description

The role required to grant or revoke `role`. Defaults to `DEFAULT_ADMIN_ROLE` if not explicitly set via `setRoleAdmin`.

## Parameters

| Parameter | Description                        |
| --------- | ---------------------------------- |
| `role`    | Role whose admin is being queried. |

## Returns

Admin role.

## Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

## Policy interaction

No direct policy interaction.

## Example

```solidity theme={null}
IB20(target).getRoleAdmin(role);
```
