web3wagmi
← All standards

ERC-8048 Onchain Metadata for Token Registries

DraftERCcreated 2025-09-301 later proposal build on itrequires ERC-165, ERC-7930, ERC-8119

A key-value store interface that allows registries to store and retrieve arbitrary bytes as metadata directly onchain.

Authors: Prem Makeig (@nxt3d), Rafael Abuawad (@rafael-abuawad)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC8048Metadata0xdf670be1
IERC8048MetadataAuthority0xf9cb127d
IERC1650x01ffc9a7

Functions this standard introduces (3)

0xdf670be1metadata(uint256,string)view
0xf9cb127dmetadataAuthority(uint256)view
0x01ffc9a7supportsInterface(bytes4)view

Events (2)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x2c149ed548c6d2993cd73efe187df6eccabe4538091b33adbd25fafdb8a1468bMetadataSet(uint256,string,string,bytes)
0x9405d539fbb5ece6513a9f004e423cf341f46bbfc873333cea2cbcc2a05d930eMetadataAuthoritySet(uint256,address)

Depends on (3)

Proposals this one names in its requires field.

Built on by (1)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion