---
eip: 7930
label: ERC-7930
title: Interoperable Addresses
status: Review
type: Standards Track
category: ERC
created: 2025-02-02
official: https://eips.ethereum.org/EIPS/eip-7930
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7930.md
canonical: https://eips.huatuo.xyz/eip-7930/
lang: en
tldr: "A compact, versioned binary format that packs a chain identifier and an address together, so contracts and cross-chain protocols can refer to \"this address on that chain\" unambiguously, including non-EVM chains."
tags: [addresses, interoperability, cross-chain, binary-format]
---

# ERC-7930: Interoperable Addresses

> An extensible binary format to refer to an address specific to one chain.

**TL;DR:** A compact, versioned binary format that packs a chain identifier and an address together, so contracts and cross-chain protocols can refer to "this address on that chain" unambiguously, including non-EVM chains.

## What problem does it solve?

A `0x…` address ([ERC-55](/eip-55/)) looks the same on Ethereum, Arbitrum, Base and dozens of other chains, but it says nothing about *which* chain is meant. Every bridge, intent protocol and messaging system has invented its own way to pair a chain ID with an address, which fragments tooling and makes mistakes easy.

Text formats such as CAIP-10 exist, but strings are expensive to handle on-chain, and CAIP-2's 32-character chain reference cannot represent some chains losslessly. ERC-7930 defines one canonical **binary** "Interoperable Address" that works inside smart contracts and covers non-EVM chains too.

## How it works

An Interoperable Address is a byte string with six parts:

| Field | Size | Meaning |
| --- | --- | --- |
| Version | 2 bytes | `0x0001` for this spec |
| ChainType | 2 bytes | Chain namespace (e.g. `0x0000` for EVM `eip155`) |
| ChainReferenceLength | 1 byte | Length of the chain reference, may be 0 |
| ChainReference | variable | Chain ID in binary (e.g. `0x01` for Ethereum mainnet) |
| AddressLength | 1 byte | Length of the address, may be 0 |
| Address | variable | The raw address bytes |

- How each namespace serialises its chain reference and address is defined in the companion CAIP-350 profiles.
- Address length 0 gives a **Chain Identifier** (a chain, no account). Chain reference length 0 gives an address valid "on any compatible chain". Both cannot be zero at once.
- Future versions must stay convertible to version 1. Incompatible ones set the top bit of the version field.
- For display, lowercase hex is recommended, but this is not meant to be user-facing. [ERC-7828](/eip-7828/) defines a human-readable form on top. [ERC-3770](/eip-3770/) is an older text style (`arb:0x…`).

Example from the spec, Ethereum mainnet address `0xd8dA…6045`:

```
0x0001 0000 01 01 14 d8da6bf26964af9d7eed9e03e53415d37aa96045
  ver  type len id len address (20 bytes)
```

## Sample code

Parsing an Interoperable Address in TypeScript (ethers v6 helpers):

```ts
import { getBytes, hexlify } from "ethers";

export function parseInteropAddress(hex: string) {
  const b = getBytes(hex);
  const version = (b[0] << 8) | b[1];
  if (version !== 1) throw new Error("unsupported version");
  const chainType = (b[2] << 8) | b[3];
  const refLen = b[4];
  const chainRef = b.slice(5, 5 + refLen);
  const addrLen = b[5 + refLen];
  const address = b.slice(6 + refLen, 6 + refLen + addrLen);
  if (refLen === 0 && addrLen === 0) throw new Error("empty address");
  return { chainType, chainReference: hexlify(chainRef), address: hexlify(address) };
}

parseInteropAddress("0x00010000010114d8da6bf26964af9d7eed9e03e53415d37aa96045");
// { chainType: 0, chainReference: "0x01", address: "0xd8da6bf2…6045" }
```

## Things to know

- **Status: Review.** The format may still change before it becomes Final.
- The binary layout is defined here, but its meaning per chain family lives in CAIP-350 profiles maintained by the Chain Agnostic Standards Alliance. Check the profile for your namespace.
- Canonicity is not guaranteed for every namespace. If you use these bytes as mapping keys, read the profile's notes on alternative encodings or chains with more than one identifier.
- The chain reference is binary, so EVM chain ID `1` is the single byte `0x01`, not a padded 32-byte integer.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7930
