> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base.org/llms.txt
> Use this file to discover all available pages before exploring further.

# IPolicyRegistry.pendingPolicyAdmin

> Returns the staged pending admin for a policy, or address(0) if no transfer is in flight.

## Signature

```solidity IPolicyRegistry.sol theme={null}
function pendingPolicyAdmin(uint64 policyId) external view returns (address);
```

| Field               | Value                        |
| ------------------- | ---------------------------- |
| Selector            | `0x017548b7`                 |
| Canonical signature | `pendingPolicyAdmin(uint64)` |

## Description

Returns the currently-staged pending admin for `policyId`, or `address(0)` when no transfer is in flight or for built-in sentinels, unknown IDs, and malformed IDs. Never reverts.

The pending admin is set by `stageUpdateAdmin(policyId, newAdmin)` and cleared when `finalizeUpdateAdmin(policyId)` succeeds or when the current admin calls `stageUpdateAdmin` with `address(0)`. Until `finalizeUpdateAdmin` is called, `policyAdmin` still returns the current admin, the pending admin has no privileges yet.

## Parameters

| Name       | Type     | Description      |
| ---------- | -------- | ---------------- |
| `policyId` | `uint64` | Policy to query. |

## Returns

| Type      | Description                                           |
| --------- | ----------------------------------------------------- |
| `address` | Staged pending admin, or `address(0)` if none is set. |

## Reverts

Never reverts.

## Access Control

Read-only. No role required.
