web3wagmi
← All standards

ERC-7861 ERC-721 Verifiable Credential Extension

DraftERCcreated 2025-01-14requires ERC-165, ERC-721

An extension to ERC-721 that adds collection-wide verifiable credential properties, this allows native support for onchain credentials.

Author: Valerio Massimo Camaiani (@vmc-crossmint)

ERC-165 interface ids

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

IERC78610x74699c4e

Functions this standard introduces (6)

0x2e17b05bcredentialType()view
0x59ad4956credentialURI(uint256)view
0xebe0ba1fencryptionMethod()view
0x5ccc561eisRevoked(uint256)view
0x1d143848issuer()view
0xa9ebb10averificationMethod()view

Inherited (10)

0x095ea7b3approve(address,uint256)ERC-721
0x70a08231balanceOf(address)ERC-721
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Events (2)

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

0xbf94256c91da1335919ad62c5685e1dc105a64235fbbfd7a039ccedec4eb20e4CredentialIssued(uint256,address)
0x0d47d5695004d2a4180ebb40037756439184993a0d1c6d4a8ff3a6aa93256074CredentialRevoked(uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion