Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article examines ERC7651, which proposes a way to represent fractional NFT ownership without locking an NFT in a separate fractionalization contract, combining aspects of ERC721 and ERC20 in a single contract.
This article translates, summarizes, and expands on the specification below.
Overview
ERC7651 is a proposed standard for representing and managing non-fungible tokens (NFTs) in fractional units. NFTs in this context are individually identifiable, non-interchangeable tokens, as exemplified by ERC721. Fractional representation means that value can also be expressed as a quantity, as with ERC20.
For an introduction to ERC721, see the following article.
[ERC721] An introduction to ERC721
For an introduction to ERC20, see the following article.
[ERC20] An introduction to ERC20
A major feature of ERC7651 is that fractional representation is handled inside one contract rather than by physically or logically splitting an individual NFT into separate shares. The token model supports uniquely identified NFTs while also expressing value and ownership balances in fungible units.
It allows the following states to coexist.
- A participant holding the equivalent of an entire NFT.
- Multiple participants holding fractional amounts.
- Both forms of ownership balance without an explicit conversion step.
Conventional fractional NFT systems require explicit operations to convert an NFT into fractional tokens and reconstruct it later. ERC7651 maintains NFT and fractional representations together, avoiding the need for users to explicitly perform these conversions.
This does not imply that every fractional balance represents a legally or technically enforceable share in a particular NFT ID. NFT assignments can change as balances cross whole-token thresholds.
ERC7651 standardizes the following operations.
- Transferring fractional token amounts.
- Transferring entire NFTs.
- Approving spending or transfers.
- Emitting corresponding events.
The design draws on both ERC721 and ERC20 but is not fully compatible with either. It is a distinct token model specifically designed to handle both representations.
Motivation
Limitations of conventional fractional NFTs
Fractional NFT ownership has been implemented in various protocols. Many lock an NFT and issue separate fractional tokens in return.
This creates two main problems.
First, liquidity becomes fragmented. For example, fractionalizing NFT A and NFT B separately creates different fractional tokens. The tokens representing A and B have distinct values and meanings and cannot simply be treated as identical assets in the same market. Liquidity is divided among individual NFTs, making active trading more difficult.
Second, unrestricted NFT transfers become difficult. Once an NFT is locked for fractionalization, the original NFT cannot be freely transferred while it remains locked. Transferring it again requires collecting the fractions and reconstructing ownership, which is a significant limitation for users.
The solution proposed by ERC7651
ERC7651 is designed to address these problems.
It does not require locking an NFT or converting it into a separate fractional token contract. Instead, the token model retains a unique NFT representation while also expressing value and balances numerically.
This offers the following benefits.
- Transfers can be expressed either as entire NFTs or fractional amounts.
- Fractional representation does not require a separate locking arrangement.
- NFTs retain their distinctive identifiers while supporting fractional balances.
ERC7651 aims to improve NFT liquidity (ease of trading) and accessibility (participation in higher-value NFT collections) while maintaining flexible transfers and usability.
It seeks to avoid the structural limitations of conventional fractionalization and make NFTs more practical as assets.
Specification
Fractionally represented NFT interface
A compliant ERC7651 contract must implement both the ERC7651 and ERC165 interfaces. ERC165 is the standard for determining which interfaces a contract implements.
For more information about ERC165, see the following article.
[ERC165] How contracts advertise interface support
Because fractional and NFT representations coexist in ERC7651, operations on each representation must emit the corresponding events.
Fractional approvals and transfers must emit the dedicated fractional approval and transfer events. NFT approvals and transfers must emit the corresponding ApprovalForAll, NonFungibleApproval, and NonFungibleTransfer events.
Although the interface draws on ERC721 and ERC20, it is not fully compatible with them. Integrators using tools built around those standards must account for the differences in behavior.
IERC7651 interface
interface IERC7651 is IERC165 {
/// @dev This emits when fractional representation approval for a given spender
/// is changed or reaffirmed.
event FractionalApproval(address indexed owner, address indexed spender, uint256 value);
/// @dev This emits when ownership of fractionally represented tokens changes
/// by any mechanism. This event emits when tokens are both created and destroyed,
/// ie. when from and to are assigned to the zero address respectively.
event FractionalTransfer(address indexed from, address indexed to, uint256 amount);
/// @dev This emits when an operator is enabled or disabled for an owner.
/// The operator can manage all NFTs of the owner.
event ApprovalForAll(
address indexed owner,
address indexed operator,
bool approved
);
/// @dev This emits when the approved spender is changed or reaffirmed for a given NFT.
/// A zero address emitted as spender implies that no addresses are approved for
/// this token.
event NonFungibleApproval(
address indexed owner,
address indexed spender,
uint256 indexed id
);
/// @dev This emits when ownership of any NFT changes by any mechanism.
/// This event emits when NFTs are both created and destroyed, ie. when
/// from and to are assigned to the zero address respectively.
event NonFungibleTransfer(address indexed from, address indexed to, uint256 indexed id);
/// @notice Decimal places in fractional representation
/// @dev Decimals are used as a means of determining when balances or amounts
/// contain whole or purely fractional components
/// @return Number of decimal places used in fractional representation
function decimals() external view returns (uint8 decimals);
/// @notice The total supply of a token in fractional representation
/// @dev The total supply of NFTs may be recovered by computing
/// `totalSupply() / 10 ** decimals()`
/// @return Total supply of the token in fractional representation
function totalSupply() external view returns (uint256 totalSupply);
/// @notice Balance of a given address in fractional representation
/// @dev The total supply of NFTs may be recovered by computing
/// `totalSupply() / 10 ** decimals()`
/// @param owner_ The address that owns the tokens
/// @return Balance of a given address in fractional representation
function balanceOf(address owner_) external view returns (uint256 balance);
/// @notice Query if an address is an authorized operator for another address
/// @param owner_ The address that owns the NFTs
/// @param operator_ The address being checked for approval to act on behalf of the owner
/// @return True if `operator_` is an approved operator for `owner_`, false otherwise
function isApprovedForAll(
address owner_,
address operator_
) external view returns (bool isApproved);
/// @notice Query the allowed amount an address can spend for another address
/// @param owner_ The address that owns tokens in fractional representation
/// @param spender_ The address being checked for allowance to spend on behalf of the owner
/// @return The amount of tokens `spender_` is approved to spend on behalf of `owner_`
function allowance(
address owner_,
address spender_
) external view returns (uint256 allowance);
/// @notice Query the owner of a specific NFT.
/// @dev Tokens owned by the zero address are considered invalid and should revert on
/// ownership query.
/// @param id_ The unique identifier for an NFT.
/// @return The address of the token's owner.
function ownerOf(uint256 id_) external view returns (address owner);
/// @notice Set approval for an address to spend a fractional amount,
/// or to spend a specific NFT.
/// @dev There must be no overlap between valid ids and fractional values.
/// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized
/// operator of the current owner if an id is provided.
/// @dev Throws if the id is not a valid NFT
/// @param spender_ The spender of a given token or value.
/// @param amountOrId_ A fractional value or id to approve.
/// @return Whether the approval operation was successful or not.
function approve(
address spender_,
uint256 amountOrId_
) external returns (bool success);
/// @notice Set approval for a third party to manage all of the callers
/// non-fungible assets
/// @param operator_ Address to add to the callers authorized operator set
/// @param approved_ True if the operator is approved, false if not approved
function setApprovalForAll(address operator_, bool approved_) external;
/// @notice Transfer fractional tokens or an NFT from one address to another
/// @dev There must be no overlap between valid ids and fractional values
/// @dev The operation should revert if the caller is not `from_` or is not approved
/// to spent the tokens or NFT owned by `from_`
/// @dev The operation should revert if value is less than the balance of `from_` or
/// if the NFT is not owned by `from_`
/// @dev Throws if the id is not a valid NFT
/// @param from_ The address to transfer fractional tokens or an NFT from
/// @param to_ The address to transfer fractional tokens or an NFT to
/// @param amountOrId_ The fractional value or a distinct NFT id to transfer
/// @return True if the operation was successful
function transferFrom(
address from_,
address to_,
uint256 amountOrId_
) external returns (bool success);
/// @notice Transfer fractional tokens from one address to another
/// @dev The operation should revert if amount is less than the balance of `from_`
/// @param to_ The address to transfer fractional tokens to
/// @param amount_ The fractional value to transfer
/// @return True if the operation was successful
function transfer(address to_, uint256 amount_) external returns (bool success);
/// @notice Transfers the ownership of an NFT from one address to another address
/// @dev Throws unless `msg.sender` is the current owner, an authorized
/// operator, or the approved address for this NFT
/// @dev Throws if `from_` is not the current owner
/// @dev Throws if `to_` is the zero address
/// @dev Throws if `tokenId_` is not a valid NFT
/// @dev When transfer is complete, this function checks if `to_` is a
/// smart contract (code size > 0). If so, it calls `onERC721Received`
/// on `to_` and throws if the return value is not
/// `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`.
/// @param from_ The address to transfer the NFT from
/// @param to_ The address to transfer the NFT to
/// @param tokenId_ The NFT to transfer
/// @param data_ Additional data with no specified format, sent in call to `to_`
function safeTransferFrom(
address from_,
address to_,
uint256 id_,
bytes calldata data_
) external;
/// @notice Transfers the ownership of an NFT from one address to another address
/// @dev This is identical to the above function safeTransferFrom interface
/// though must pass empty bytes as data to `to_`
/// @param from_ The address to transfer the NFT from
/// @param to_ The address to transfer the NFT to
/// @param tokenId_ The NFT to transfer
function safeTransferFrom(address from_, address to_, uint256 id_) external;
}Events
FractionalApproval
event FractionalApproval(address indexed owner, address indexed spender, uint256 value);Emitted when approval to spend fractional tokens is changed or reaffirmed. It indicates that an address has authorized another address to spend fractional tokens. It resembles ERC20's Approval event but applies to the fractional representation of this token model.
Parameters
owner- The owner of the fractional tokens.
spender- The authorized spender.
value- The approved fractional token amount.
FractionalTransfer
event FractionalTransfer(address indexed from, address indexed to, uint256 amount);Emitted when ownership of fractional token amounts changes.
Details
The event is emitted when fractional tokens are transferred. It also covers minting and burning, with the zero address used as from or to, respectively.
Parameters
from- The sending address.
to- The receiving address.
amount- The fractional amount transferred.
ApprovalForAll
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);Emitted when an operator's authority over an owner's NFTs is granted or revoked. As in ERC721, marketplaces and similar applications can use this mechanism to manage all NFTs owned by an address.
Parameters
owner- The NFT owner.
operator- The address granted operator authority.
approved- Whether the authority is enabled.
NonFungibleApproval
event NonFungibleApproval(address indexed owner, address indexed spender, uint256 indexed id);Emitted when approval for an individual NFT is changed or reaffirmed. It identifies the address approved to manage that NFT. A zero-address spender indicates that no address is approved for the NFT.
Parameters
owner- The NFT owner.
spender- The approved address.
id- The NFT ID.
NonFungibleTransfer
event NonFungibleTransfer(address indexed from, address indexed to, uint256 indexed id);Emitted when NFT ownership changes, including transfers to another address. Minting and burning are also represented by using the zero address as from or to, respectively.
Parameters
from- The sending address.
to- The receiving address.
id- The ID of the transferred NFT.
Functions
decimals
function decimals() external view returns (uint8 decimals);Returns the number of decimal places in the fractional representation. This specifies the precision of fractional amounts. ERC7651 uses decimals to distinguish whole-token units from purely fractional components.
Returns
decimals- The number of decimal places used in the fractional representation.
totalSupply
function totalSupply() external view returns (uint256 totalSupply);Returns the total supply in fractional representation. The number of whole NFT-equivalent units supported by the supply can be calculated as totalSupply / 10 ** decimals.
Returns
totalSupply- The total supply in fractional units.
balanceOf
function balanceOf(address owner_) external view returns (uint256 balance);Returns the fractional token balance of a specified address, expressing how much of the collection's fractional representation it holds.
Arguments
owner_- The address whose balance is queried.
Returns
balance- The fractional token balance.
isApprovedForAll
function isApprovedForAll(address owner_, address operator_) external view returns (bool isApproved);Checks whether operator_ is authorized to manage all NFTs owned by owner_.
Arguments
owner_- The NFT owner.
operator_- The address whose operator approval is checked.
Returns
isApprovedtrueif authorized, otherwisefalse.
allowance
function allowance(address owner_, address spender_) external view returns (uint256 allowance);Returns the allowance for fractional token spending. As in ERC20, it reports how much spender_ can spend on behalf of owner_.
Arguments
owner_- The token owner.
spender_- The address whose spending allowance is checked.
Returns
allowance- The approved fractional token amount.
ownerOf
function ownerOf(uint256 id_) external view returns (address owner);Returns the owner of the specified NFT. If the NFT is associated with the zero address, the NFT is considered invalid and the call reverts.
Arguments
id_- The NFT ID.
Returns
owner- The NFT owner's address.
approve
function approve(address spender_, uint256 amountOrId_) external returns (bool success);Approves an address to spend fractional tokens or an individual NFT. The function accepts both fractional amounts and NFT IDs. If amountOrId_ is a fractional amount, it sets a fractional allowance; if it is an NFT ID, it sets approval for that NFT. The valid ranges must not overlap.
Arguments
spender_- The address to authorize.
amountOrId_- A fractional amount or NFT ID.
Returns
success- Whether the approval succeeded.
setApprovalForAll
function setApprovalForAll(address operator_, bool approved_) external;Grants or revokes an address's operator authority over all NFTs owned by the caller.
Arguments
operator_- The operator address.
approved_- Whether to grant or revoke authority.
transferFrom
function transferFrom(address from_, address to_, uint256 amountOrId_) external returns (bool success);Transfers fractional tokens or an NFT, depending on the interpretation of amountOrId_. The operation fails if the required authorization or balance is insufficient, or if the specified NFT is not owned by the source address.
Arguments
from_- The sending address.
to_- The receiving address.
amountOrId_- A fractional amount or NFT ID.
Returns
success- Whether the transfer succeeded.
transfer
function transfer(address to_, uint256 amount_) external returns (bool success);Transfers fractional tokens. Unlike transferFrom, this function is specifically intended for fractional amounts. It fails if the balance is insufficient. The reproduced interface comments contain an apparent reversal of the balance comparison; the intended insufficient-balance behavior is described here.
Arguments
to_- The receiving address.
amount_- The fractional amount to transfer.
Returns
success- Whether the transfer succeeded.
safeTransferFrom
function safeTransferFrom(address from_, address to_, uint256 id_, bytes calldata data_) external;function safeTransferFrom(address from_, address to_, uint256 id_) external;Safely transfers an NFT. If the recipient is a contract, it calls onERC721Received and reverts unless the expected return value is received. This helps prevent NFTs from being sent to contracts that cannot accept them. The callback signature in the reproduced draft differs from the conventional ERC721 receiver signature; integrators should check the applicable specification and implementation.
Arguments
from_- The sending address.
to_- The receiving address.
id_- The NFT ID.
data_- Optional additional data.
ERC165 interface
interface IERC165 {
/// @notice Query if a contract implements an interface
/// @param interfaceID_ The interface identifier, as specified in ERC-165
/// @dev Interface identification is specified in ERC-165. This function
/// uses less than 30,000 gas.
/// @return `true` if the contract implements `interfaceID` and
/// `interfaceID` is not 0xffffffff, `false` otherwise
function supportsInterface(bytes4 interfaceID_) external view returns (bool);
}Functions
supportsInterface
function supportsInterface(bytes4 interfaceID_) external view returns (bool);Checks whether the specified interface ID is supported. External contracts can use it to determine whether the target implements ERC7651 or its metadata extension with low gas overhead.
Arguments
interfaceID_- The interface ID to check.
Returns
Return valuetrueif the interface is implemented, otherwisefalse.
Fractionally represented NFT metadata interface
This recommended interface provides information such as the NFT collection name and metadata URI. Its function definitions match those of ERC721 Metadata, but it is defined as a separate interface to avoid implying ERC721 inheritance or compliance.
/// @title ERC-7651 Fractional Non-Fungible Token Standard, optional metadata extension
interface IERC7651Metadata {
/// @notice A descriptive, long-form name for a given token collection
function name() external view returns (string memory name);
/// @notice An abbreviated, short-form name for a given token collection
function symbol() external view returns (string memory symbol);
/// @notice A distinct Uniform Resource Identifier (URI) for a given asset.
/// @dev Throws if `tokenId_` is not a valid NFT. URIs are defined in RFC
/// 3986. The URI may point to a JSON file that conforms to the "ERC721
/// Metadata JSON Schema".
/// @param id_ The NFT to fetch a token URI for
/// @return The token's URI as a string
function tokenURI(uint256 id_) external view returns (string memory uri);
}Functions
name
function name() external view returns (string memory name);Returns the formal name of the token collection, using a descriptive human-readable name.
Returns
name- The collection name.
symbol
function symbol() external view returns (string memory symbol);Returns the short identifier for the token collection, typically displayed in wallets and other user interfaces.
Returns
symbol- The collection symbol.
tokenURI
function tokenURI(uint256 id_) external view returns (string memory uri);Returns the metadata URI for a specified NFT. The URI follows RFC3986 and points to JSON metadata. The operation fails if the NFT ID is invalid.
Arguments
id_- The NFT ID.
Returns
uri- The metadata URI.
Fractionally represented NFT banking interface
ERC7651 handles fractional and NFT representations within one contract. An implementation that reuses NFT IDs must track IDs that have already been minted but are not currently owned. This recommended extension handles such unowned, or banked, NFTs.
A bank is a collection of NFT IDs that exist but are not currently assigned to any address because of the relationship between fractional balances and NFT ownership.
interface IERC7651NFTBanking {
/// @notice Get the number of NFTs that have been minted but are not currently owned.
/// @dev This should be the number of unowned NFTs, limited by the total
/// fractional supply.
/// @return The number of NFTs not currently owned.
function getBankedNFTsLength() external view returns (uint256 bankedNFTsLength);
/// @notice Get a paginated list of NFTs that have been minted but are not currently owned.
/// @param start_ Start index in bank.
/// @param count_ Number of tokens to return from start index, inclusive.
/// @return An array of banked NFTs from `start_`, of maximum length `count_`.
function getBankedNFTs(
uint256 start_,
uint256 count_
) external view returns (uint256[] memory bankedNFTs);
/// @notice Query the current supply of NFTs in circulation.
/// @dev Given supply may remain banked or unminted, this function should always be
/// inclusively upper-bounded by `totalSupply() / 10 ** decimals()`.
/// @return The current supply of minted NFTs
function totalNonFungibleSupply() external view returns (unit256);
}Functions
getBankedNFTsLength
function getBankedNFTsLength() external view returns (uint256 bankedNFTsLength);Returns the number of minted NFTs that do not currently have an owner. It counts NFT IDs that have been generated but do not have a valid owner according to ownerOf. The count must be limited by the total fractional supply, expressed in NFT-equivalent units. This prevents more NFTs from existing than the fractional representation can support.
An implementation that reuses NFT IDs can use this count to determine how many NFTs remain available for reassignment.
Returns
bankedNFTsLength- The total number of currently unowned NFTs.
getBankedNFTs
function getBankedNFTs(
uint256 start_,
uint256 count_
) external view returns (uint256[] memory bankedNFTs);Returns a paginated list of unowned NFT IDs. The function returns an array of IDs held in the bank. Pagination using start_ and count_ avoids retrieving every ID at once when many NFTs exist.
The returned array contains at most count_ NFT IDs beginning at the position specified by start_.
Arguments
start_- The starting index within the bank.
count_- The maximum number of IDs to retrieve.
Returns
bankedNFTs- An array of NFT IDs that are currently unowned.
totalNonFungibleSupply
function totalNonFungibleSupply() external view returns (unit256);Returns the current supply of minted NFTs. NFTs may be unminted, banked, or owned, and the reported supply may include banked NFTs. The reproduced interface specifies an inclusive upper bound of totalSupply() / 10 ** decimals(), rather than requiring equality as the original prose suggests. This ensures that the NFT supply does not exceed the number supported by the fractional representation. The original snippet's return type spelling, unit256, is retained unchanged.
Returns
Return value- The current supply of minted NFTs.
Fractionally represented NFT transfer exemption interface
Some ERC7651 implementations automatically transfer or assign NFTs as fractional balances change. However, some users may want to handle only the fractional representation and avoid receiving NFTs themselves.
This recommended extension allows users to choose whether to receive NFT transfers.
interface IERC7651NFTTransferExemptable {
/// @notice Returns whether an address is NFT transfer exempt.
/// @param account_ The address to check.
/// @return Whether the address is NFT transfer exempt.
isNFTTransferExempt(address account_) external view returns (bool);
/// @notice Allows an address to set themselves as NFT transfer exempt.
/// @param isExempt_ The flag, true being exempt and false being non-exempt.
setSelfNFTTransferExempt(bool isExempt_) external;
}Functions
isNFTTransferExempt
isNFTTransferExempt(address account_) external view returns (bool);Checks whether an address is exempt from NFT transfers. The function returns whether the specified address has opted out of receiving NFT transfers. The implementation is expected to avoid automatically transferring or assigning NFTs to exempt addresses. This is not a mandatory part of ERC7651 but an extension supporting more flexible implementations.
Arguments
account_- The address whose state is queried.
Returns
Return valuetrueif NFT transfer exempt, otherwisefalse.
setSelfNFTTransferExempt
setSelfNFTTransferExempt(bool isExempt_) external;Enables or disables NFT transfer exemption for the caller. Users can explicitly choose whether to receive NFTs. Passing true enables the exemption; passing false restores the ordinary behavior. The interface is intended for self-configuration rather than allowing third parties to change another address's preference.
Arguments
isExempt_trueenables the exemption, andfalsedisables it.
Additional considerations
ERC7651 maintains the non-fungible token model while allowing fractional ownership balances to be expressed numerically. Its NFT structure draws on ERC721, while transfers and approvals are intended to feel familiar to ERC20 users.
Combining both characteristics is intended to reduce the integration lift for existing protocols and tools. Even though complete compatibility is not possible, familiar APIs and events can reduce the work required to support the model.
Two strategies are central to this design.
First, the interfaces make it clear whether an operation relates to the ERC721-like or ERC20-like representation.
Second, where function signatures overlap, the specification provides guidance on separating the underlying logic.
Separating IDs from amounts
A critical requirement is that an input must be unambiguously interpreted as either an NFT ID or a fractional amount.
Functions such as approve(amountOrId) and transferFrom(amountOrId) accept the same uint256 type for both cases. The same numeric value must not be valid as both an NFT ID and a fractional amount.
The specification does not prescribe every implementation detail but describes possible approaches.
- When interpreting an input as an ID, verify that it identifies a valid NFT, for example by checking ownership.
- Reserve a range of values for NFT IDs that does not overlap with fractional amounts.
Separating the ranges ensures that overloaded semantics remain unambiguous and reduces the risk of unexpected behavior.
Events
Event compatibility is especially difficult in ERC7651 because ERC20 and ERC721 both define Approval and Transfer events, but their signatures overlap and their indexed parameters differ. Existing indexers and analytics tools depend heavily on the expected event structure.
Several possible approaches were considered.
- Adopt the event format of one of the existing standards.
- Define custom events with different indexed parameters to avoid conflicts.
- Define entirely new events.
ERC7651 prioritizes unambiguous event meanings and distinct representations. It therefore retains the concepts of transfers and approvals but distinguishes them using the Fractional and NonFungible prefixes.
Indexers must support the new event names, increasing integration work. The purpose is to avoid ambiguity and the errors it could cause.
Transfers
ERC7651 allows a transfer to specify either a fractional amount or an NFT ID. However, the underlying behavior differs considerably between the two.
Transfer by NFT ID
When an NFT ID is specified, the NFT itself is transferred together with its corresponding whole fractional value, equal to 10 ** decimals().
Transferring one NFT therefore corresponds to transferring one whole-token unit of the fractional representation.
Transfer by fractional amount
Fractional transfers are more complex because a change in fractional balance may change the number of whole NFT units associated with an address. The whole-token component can be understood as the integer part of balance / 10 ** decimals().
The specification discusses three main scenarios.
| Scenario | What happens | NFT assignment |
|---|---|---|
| Whole-token amounts remain unchanged | Neither party's integer component changes | Keep existing NFT assignments |
| The sender's whole-token amount decreases | The sender's integer component decreases | Remove the required number of NFTs from the sender |
| The recipient's whole-token amount increases | The recipient's integer component increases | Assign the required number of NFTs to the recipient |
ERC7651 provides the framework but does not prescribe a specific implementation of these behaviors.
Possible approaches include the following.
- Mint or burn NFTs as the required number changes.
- Track NFT ownership using structures such as stacks (last in, first out) or queues (first in, first out), assigning NFTs as necessary when fractional amounts are transferred.
Stacks and queues are data structures that define the order in which stored items are retrieved. A stack retrieves the most recently inserted item first; a queue retrieves the earliest inserted item first.
NFT transfer exemption
Large fractional transfers may cause many NFTs to move simultaneously as whole-token components increase or decrease. Such operations can consume substantial gas.
ERC7651 therefore recommends an optional mechanism allowing addresses that do not need the NFT representation to opt out of receiving NFT transfers. It is intended for both externally owned accounts (EOAs) and contracts.
An important detail is that changing exemption status requires NFTs and fractional balances to be directionally rebalanced. The implementation adjusts NFT ownership according to the direction of the exemption change to keep the state consistent.
The intended behavior is as follows.
- When an address opts out of receiving NFT transfers, the NFTs it holds are moved into the bank, leaving it with zero NFTs.
- When an address opts in, NFTs are withdrawn from the bank and assigned to it until its NFT count matches the whole-token component of its fractional balance.
This allows users who want to avoid moving large numbers of NFTs to operate using only fractional balances.
NFT Banking
When transferring fractional amounts, the recipient may gain a new whole-token unit and therefore need an additional NFT. Conversely, the sender may lose a whole-token unit and need to relinquish an NFT.
A mechanism is needed to track surplus NFTs and NFTs available for future assignment. This is the bank.
The bank tracks NFTs supported by the supply that are not currently owned. ERC7651 does not require one particular implementation and describes several possible approaches.
Maintaining consistency with mint and burn
The first approach mints an NFT when it enters circulation and burns it when it returns to the bank.
However, minting can be expensive in terms of gas, and gas refunds for deleting storage during burning may not offset that cost. IDs also disappear, making this approach unsuitable for collections that want to maintain a fixed, finite ID space.
Storing and reusing IDs
The second approach stores NFT IDs in the bank instead of burning them and reuses them later.
This can substantially reduce gas costs and provides a predictable sequence of IDs that is easier for external systems to track.
The internal bank can use a queue, stack, or another structure; the specification leaves that decision to the implementation.
ERC165 interface
ERC7651 includes ERC165 for two reasons.
First, it follows the design philosophy of ERC721, which uses ERC165 to advertise interface support.
Second, advertising the implemented interfaces allows integrations to identify the applicable specification.
However, an ERC7651 contract must not claim ERC721 or ERC20 support through supportsInterface. Although the model aims to provide familiar behavior, it cannot fully conform to both existing specifications. Claiming support could cause integrations to incorrectly assume full ERC721 or ERC20 compatibility.
Metadata
Like ERC721, ERC7651 defines metadata functionality (name, symbol, and tokenURI) in a separate interface.
This avoids incorrectly implying that ERC7651 inherits ERC721. Although the functions provide equivalent metadata functionality, their interface is defined separately because the underlying model differs.
The proposal also considers visibility into the NFT bank and transfer logic, beyond ordinary name and URI resolution. The operational goal is to make the location and treatment of unowned NFTs observable to external systems.
Compatibility
ERC7651 aims to achieve near-backward compatibility with ERC721 and ERC20, but it does not claim to satisfy both specifications completely.
It is proposed as a separate interface that remains familiar to existing integrations while explicitly distinguishing behavior that cannot be made fully compatible.
Events
Events are one of the areas where ERC7651 deliberately breaks backward compatibility because ERC721 and ERC20 Approval and Transfer events have colliding signatures.
Here, an event signature describes the event name and the types and order of its parameters. A collision prevents a hybrid implementation from unambiguously conforming to both event formats.
ERC7651 defines separate events with the Fractional or NonFungible prefix. They retain familiar approval and transfer concepts while avoiding conflicts and clearly identifying the corresponding representation.
This requires changes to indexers, which read events and store them in databases. Although it increases integration work, explicitly distinguishing the events is safer than relying on ambiguous compatibility.
balanceOf
The meaning of balanceOf differs between ERC20 and ERC721.
- In ERC20, balanceOf returns a balance expressed as divisible token units.
- In ERC721, balanceOf returns the integer number of NFTs owned by an address.
Because fractional representation is central to ERC7651, balanceOf returns the fractional balance, following ERC20-like semantics.
It therefore does not conform to the ERC721 requirement that balanceOf return the number of NFTs.
Boolean success return values
ERC7651's transfer and approve functions return a boolean (true or false) indicating success or failure.
This is familiar in ERC20 but not standard for ERC721. Many ERC721 functions return nothing on success and revert on failure.
ERC7651 retains boolean return values because integrations handling fractional amounts may expect ERC20-style behavior. The decision prioritizes practical integration over complete compatibility with ERC721.
Security
Incorrect interface assumptions
The specification discusses the security implications of misidentifying an ERC7651 contract as ERC20 or ERC721.
If applications or external contracts integrate it assuming ordinary ERC20 or ERC721 semantics, several problems may arise.
- Different event names can cause monitoring, accounting, and indexing systems to miss activity.
- The different meaning of balanceOf can lead to incorrect NFT counts.
- Because approve and transferFrom accept both amounts and IDs through the same argument, calls written for ERC20 or ERC721 may be interpreted unexpectedly.
Citation
Acme (@0xacme), Calder (@caldereth), "ERC-7651: Fractionally Represented Non-Fungible Token [DRAFT]," Ethereum Improvement Proposals, no. 7651, March 2024. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-7651.
Conclusion
This article examined ERC7651 and its model for combining NFT ownership with fractional token balances without requiring a separate locking contract.
If you have questions, feel free to contact me on Twitter.

