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 explains ERC-5409, a proposal for identifying the owner of an ERC-1155 token.
The following specification is the basis for this explanation.
For other Ethereum improvement proposals, see the following page.
Overview
ERC-5409 extends ERC-1155 with an ownerOf function for querying ownership of non-fungible tokens.
ERC-721 is a common standard for NFTs, but it offers less flexibility than ERC-1155 in certain scenarios. ERC-5409 retains the efficiency and flexibility of ERC-1155 while allowing applications to query who owns a unique token, similarly to ERC-721.
Motivation
The base ERC-1155 interface does not provide a direct way for external applications to distinguish a token with a supply of exactly one from a fungible token held by multiple accounts.
It provides no standard function for querying whether the token's supply is one or directly identifying its sole owner.
The ERC-1155 specification describes approaches such as encoding non-fungible token information in token IDs, but it does not standardize an owner lookup comparable to ERC-721's ownerOf.
Adding ownerOf allows applications to determine the owner of a particular unique token through the contract. This can support new use cases, such as associating owner-specific metadata with a token or using its ownership information in other applications.
Specification
ERC-5409 introduces an ownerOf function to retrieve the token owner's address.
interface IERC1155OwnerOf {
/// @notice Retrieves the owner of an NFT
/// @dev The zero address (0x0) indicates that the token does not exist
/// or its supply exceeds one (it is not an NFT)
/// @param tokenId The NFT's ID
/// @return The owner's address
function ownerOf(uint256 tokenId) external view returns (address);
}The contract must also return true when supportsInterface is called with interface ID 0x6352211e.
Additional Considerations
The ownerOf function returns the zero address (0x0) instead of reverting when the token does not exist or is not non-fungible, for example, when its supply exceeds one.
This allows a calling contract or application to check a token's owner without relying on exception handling for these cases.
The proposal deliberately specifies a return value instead of an exception, in contrast to ERC-721 owner lookups for nonexistent tokens. It provides an ERC-721-like interface with defined handling for ERC-1155 tokens that do not have exactly one owner.
Citation
Ronan Sandford (@wighawag), "ERC-5409: EIP-1155 Non-Fungible Token extension [DRAFT]," Ethereum Improvement Proposals, no. 5409, July 2022. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-5409.
Conclusion
ERC-5409 adds an ownerOf interface to ERC-1155 so applications can directly query the owner of a non-fungible token.

