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

# IB20.eip712Domain

> Generated B20 reference for eip712Domain().

[Related concept](/base-chain/specs/upgrades/beryl/b20)

## Signature

```solidity theme={null}
function eip712Domain() external view returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions );
```

| Field               | Value            |
| ------------------- | ---------------- |
| Selector            | `0x84b0196e`     |
| Canonical signature | `eip712Domain()` |

## Description

ERC-5267 EIP-712 domain introspection.
Return: fields            Bitmap of populated domain fields (`0x0f`: `name`, `version`, `chainId`, `verifyingContract`).
Return: name              Live `name()` value.
Return: version           Constant `"1"`.
Return: chainId           Current `block.chainid`.
Return: verifyingContract This token's address.
Return: salt              Unused (zero).
Return: extensions        Empty.

## 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).eip712Domain();
```

## Related

* [IB20 reference](/base-chain/specs/upgrades/beryl/b20/specification/reference/interfaces/IB20)
* [Constants & addresses](/base-chain/specs/upgrades/beryl/b20/specification/reference/constants-and-addresses)
