web3wagmi
← All standards

ERC-7962 Key Hash Based Tokens

DraftERCcreated 2025-05-16requires ERC-20, EIP-712, ERC-721, ERC-2612, ERC-5564

Extends privacy to ERC-721 and ERC-20 tokens.

Authors: Alex Tian (@dugubuyan), Zhixiong Pan (@nake13), Geoffrey (@stbrahms), liyingxuan (@LiYingxuan)

ERC-165 interface ids

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

IERCKeyHash7210xf2a95423
IERCKeyHash200xf45a8391

Functions this standard introduces (9)

0x6c7f1542balanceOf(bytes32)view
0x313ce567decimals()view
0x06fdde03name()view
0x6352211eownerOf(uint256)view
0x95d89b41symbol()view
0xc87b56ddtokenURI(uint256)view
0x18160dddtotalSupply()view
0x222a3b2btransfer(bytes32,bytes32,uint256,bytes,bytes,uint256,bytes32)
0xd2b36b7ftransfer(uint256,bytes32,bytes,bytes,uint256)

Events (2)

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

0x90450a3ea0b69a02dd04cdbb8e70114f7d22ab5eae8f3e3ba430cf323279bb43KeyHashTransfer721(uint256,bytes32,bytes32)
0x08997093ea1002d2d9e69f9f8a4a39056b5bf4ca78e0bca8f0e8f7b97f4fd1b4KeyHashTransfer20(bytes32,bytes32,uint256)

Depends on (5)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion