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 ERC-3754, a proposal focusing on the use of ERC-721-style NFTs to represent rights such as executing a particular function or accessing a subscription.
This article translates, summarizes, and supplements the material linked below.
I have also covered other EIPs.
Overview
ERC-3754 proposes treating NFTs as atomic units and layering abstract functionality on top of them.
Rather than representing only ownership of digital assets, NFTs can serve as a vehicle for representing rights or abstract ownership.
Examples include NFT options (the right to purchase a particular NFT), oracle access rights, and virtual coupons such as discount vouchers or tickets. Tokenizing these rights as NFTs can make them transferable and potentially liquid.
Motivation
NFTs based on ERC-721 have become widely used to represent ownership of digital or physical assets. Prominent NFT projects primarily focus on crypto assets and digital collectibles.
In contrast, ERC-3754 focuses on NFTs representing abstract ownership rather than a specific asset. Examples include:
- The right to call a particular function on a smart contract.
- An option NFT granting the right to purchase a particular ERC-721 NFT.
- A prepaid membership providing access to an oracle's data feed for a fixed period without paying a token for each request.
Tokenizing such abstract rights can enable on-chain subscription business models.
Specification
The interface is based on ERC-721. This proposal primarily focuses on how NFTs are used.
Interface
interface IERC3754 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
function balanceOf(address owner) external view returns (uint256);
function ownerOf(uint256 tokenId) external view returns (address);
function approve(address to, uint256 tokenId) external;
function getApproved(uint256 tokenId) external view returns (address);
function setApprovalForAll(address operator, bool approved) external;
function isApprovedForAll(address owner, address operator) external view returns (bool);
function transferFrom(address from, address to, uint256 tokenId) external;
function safeTransferFrom(address from, address to, uint256 tokenId) external;
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) external;
}Events
Transfer
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);Emitted when ownership of an NFT changes. Transfers through transferFrom and safeTransferFrom emit this event.
Parameters
from- Sender address.
to- Recipient address.
tokenId- Unique identifier of the NFT transferred.
Approval
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);Emitted when approval for a specific NFT changes, including when its owner authorizes another address to manage that tokenId.
Parameters
owner- Token owner.
approved- Approved address.
tokenId- Identifier of the NFT covered by the approval.
ApprovalForAll
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);Emitted when an operator's approval covering all NFTs owned by an account is granted or revoked.
Parameters
owner- NFT owner granting the approval.
operator- Address receiving permission to operate the NFTs.
approved- Whether approval is granted (
truemeans approved).
- Whether approval is granted (
Functions
balanceOf
function balanceOf(address owner) external view returns (uint256);Returns the number of NFTs held by an address. If it owns no NFTs, the result is zero for a valid owner address.
Arguments
owner- Address whose balance is queried.
Return value
uint256- Number of NFTs held.
ownerOf
function ownerOf(uint256 tokenId) external view returns (address);Returns the current owner of the NFT identified by tokenId. A nonexistent token ID results in an error.
Arguments
tokenId- Identifier of the NFT whose owner is being queried.
Return value
address- Owner address of the specified NFT.
approve
function approve(address to, uint256 tokenId) external;Allows the owner or an authorized operator to grant another address permission to manage a specific NFT. Only one individually approved address can be assigned to a token at a time.
Arguments
to- Address being granted permission.
tokenId- Identifier of the relevant NFT.
getApproved
function getApproved(uint256 tokenId) external view returns (address);Retrieves the approved address for the specified NFT. It returns the zero address when no individual address is approved.
Arguments
tokenId- Identifier of the NFT whose approval is queried.
Return value
address- Currently approved address.
setApprovalForAll
function setApprovalForAll(address operator, bool approved) external;Grants or revokes comprehensive permission to operate all NFTs belonging to the owner. The owner can choose whether an operator is authorized to manage their NFTs.
Arguments
operator- Address whose operating permission is being configured.
approvedtruegrants approval;falserevokes it.
isApprovedForAll
function isApprovedForAll(address owner, address operator) external view returns (bool);Checks whether operator is authorized to operate all NFTs belonging to owner.
Arguments
owner- NFT owner.
operator- Address whose permission is being checked.
Return value
bool- Whether the operator is approved.
transferFrom
function transferFrom(address from, address to, uint256 tokenId) external;Transfers the specified NFT from from to to. The caller must be the owner or an approved address.
Arguments
from- Current NFT owner.
to- Destination address.
tokenId- Identifier of the NFT to transfer.
safeTransferFrom
function safeTransferFrom(address from, address to, uint256 tokenId) external;Safely transfers an NFT. When the recipient is a contract, the operation checks whether the contract can correctly receive the token. If the check fails, the operation reverts.
Arguments
from- Current owner.
to- Recipient address.
tokenId- Identifier of the NFT to transfer.
safeTransferFrom
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) external;Safely transfers an NFT with additional data. This overload accepts a _data parameter that can be passed to the recipient.
Arguments
from- Current owner.
to- Recipient address.
tokenId- Identifier of the NFT to transfer.
_data- Arbitrary byte data.
Additional Notes
Unlike the familiar use of ERC-721 NFTs to represent digital asset ownership, ERC-3754 focuses on representing abstract ownership: rights or access to functions rather than a particular physical or digital asset.
The proposal recommends layering abstract utility on top of NFTs. A token owner holds the right to execute the associated function, and transferring the token can also transfer the associated right, provided that the application implements the corresponding authorization logic.
To distinguish its focus from asset-oriented NFTs, this proposal excludes URI-related metadata fields and functions. Its emphasis is on managing and transferring abstract rights such as execution and access permissions rather than describing assets or collectibles.
Security
The proposal does not require a URI when minting a token, which avoids errors associated with URI handling. This does not imply that an implementation is inherently more secure in every respect than ERC-721.
Citation
Simon Tian (@simontianx), "ERC-3754: A Vanilla Non-Fungible Token Standard [DRAFT]," Ethereum Improvement Proposals, no. 3754, August 2021. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-3754.
Conclusion
ERC-3754 focuses on using ERC-721-style NFTs to represent rights such as function execution and subscription access.
If you have questions, feel free to contact me on Twitter.
I also publish articles on the following platforms.



