---
eip: 4671
label: ERC-4671
title: Non-Tradable Tokens Standard
status: Stagnant
type: Standards Track
category: ERC
created: 2022-01-13
requires: 165
official: https://eips.ethereum.org/EIPS/eip-4671
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-4671.md
canonical: https://eips.huatuo.xyz/eip-4671/
lang: en
tldr: An interface for non-tradable tokens (badges, diplomas, certificates) that an issuer can mint and revoke but holders cannot transfer, with optional extensions for metadata, enumeration, delegation and a per-user store.
tags: [soulbound, badge, nft, credentials]
---

# ERC-4671: Non-Tradable Tokens Standard

> A standard interface for non-tradable tokens, aka badges or souldbound NFTs.

**TL;DR:** An interface for non-tradable tokens (badges, diplomas, certificates) that an issuer can mint and revoke but holders cannot transfer, with optional extensions for metadata, enumeration, delegation and a per-user store.

## What problem does it solve?

Many on-chain records are personal and should not be sold: a university diploma, a course certificate, an event attendance proof, a license. Projects issuing them each wrote their own contracts, so a verifier had to learn every format.

ERC-4671 defines a common interface for these **non-tradable tokens (NTTs)**. One contract represents one kind of certificate from one authority. The token proves possession or achievement; it is not meant to have market value.

## How it works

The core `IERC4671` interface (with [ERC-165](/eip-165/) detection):

| Function / event | Purpose |
| --- | --- |
| `balanceOf(owner)` | Number of tokens an address holds (valid or revoked) |
| `ownerOf(tokenId)` | Holder of a token |
| `isValid(tokenId)` | `false` if the issuer revoked it |
| `hasValid(owner)` | Does this address hold at least one valid token? |
| `Minted`, `Revoked` | Events for issuance and revocation |

There is no transfer function. The issuer can **revoke** a token, but cannot erase it, so the record that someone once held it remains.

Optional extensions:

- **Metadata**: `name`, `symbol`, `tokenURI` (data kept off-chain, possibly encrypted).
- **Enumerable**: count and list tokens and holders.
- **Delegation**: grant one-time minting rights to operators.
- **Consensus**: mint or revoke by votes of a fixed set of addresses.
- **Pull**: the owner signs `(tokenId, owner, recipient)` so the token can be moved to another of their own wallets.

A separate **Store** contract (`add`, `remove`, `get`) lets a user list the NTT contracts they want to expose to third parties.

## Sample code

Gating access on a valid certificate:

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface IERC4671 {
    function hasValid(address owner) external view returns (bool);
}

contract AlumniLounge {
    IERC4671 public immutable diploma;

    constructor(IERC4671 _diploma) {
        diploma = _diploma;
    }

    function enter() external view returns (string memory) {
        require(diploma.hasValid(msg.sender), "no valid diploma");
        return "welcome";
    }
}
```

## Things to know

- Status is **Stagnant**. Other soulbound proposals include [ERC-4973](/eip-4973/), [ERC-5114](/eip-5114/) and the minimal, Final [ERC-5192](/eip-5192/), which adds a `locked` flag to ordinary [ERC-721](/eip-721/) tokens.
- If a holder loses their wallet, the only recovery is for the issuer to issue the token again (or the optional Pull extension, if implemented).
- Metadata often concerns personal data. Do not put it on-chain or in public storage in clear text; the spec leaves encryption to implementers.
- The issuer must keep `tokenURI` content available; the standard does not guarantee it.


---

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