The Fungibility of Non-Fungible Tokens: A Quantitative Analysis of ERC-721 Metadata

Sarah Barrington, Nick MerrillarXiv 2022

TL;DR

This paper investigates the fundamental properties of Non-Fungible Tokens (NFTs) by analyzing the permanence and immutability of their metadata on the Ethereum blockchain. The study reveals that a significant portion of NFTs (45%) store their associated data in non-permanent, centralized locations, raising concerns about their long-term value and authenticity.

What Problem Does This Paper Address?

The NFT market has experienced explosive growth, attracting significant investment. However, this rapid expansion has been accompanied by misconceptions about what gives NFTs their value. The authors argue that for an NFT to hold fundamental value, it must possess permanence, immutability, and uniqueness. This paper focuses on quantifying the permanence and immutability of NFTs by examining their metadata storage. The core problem addressed is the potential for NFTs to lose their associated digital assets due to reliance on fragile, off-chain storage solutions, which undermines the very concept of a permanent digital certificate of ownership.

Methods

The researchers developed a quantitative approach to assess the permanence of NFT metadata. They collected data on ERC-721 token transfers on the Ethereum blockchain over a six-month period. A key methodological innovation was the development of a framework to extract the TokenURI for each NFT. This involved querying the Ethereum blockchain for contract ABIs (Application Binary Interfaces) and then using these ABIs to retrieve the TokenURI for individual tokens. They categorized the storage locations of this metadata into "Permanent: Decentralized" (e.g., IPFS), "Non-Permanent" (cloud storage, private domains), and "On-Chain" (data embedded directly in the blockchain).

Datasets

The primary dataset used was a transaction record of on-chain ERC721 NFT activity for a six-month period in 2021, sourced from moonstream.to and available on Kaggle. This dataset comprised 9,292 unique addresses and 7,020,950 unique tokens. The authors also explored other sources like Etherscan.io and academic datasets but found them constrained by API or computational limits.

Key Insights and Ideas

  • The "Broken Link Problem" is Real: A substantial percentage of NFTs rely on off-chain storage, making them vulnerable to the same issues as traditional web content – broken links, server downtime, or data deletion.
  • Smart Contracts vs. Asset Storage: While the NFT's smart contract itself is permanently stored on the blockchain, the actual digital asset (image, video, etc.) it points to is often stored elsewhere, creating a disconnect.
  • Centralized Storage Dominates: A significant portion of NFT metadata is hosted on centralized cloud providers (like AWS, Google Cloud) or private domains, which are inherently less permanent and immutable than decentralized solutions.
  • "On-Chain" is Rare: True on-chain storage, where the asset data is embedded directly into the blockchain, is a minority of cases, despite being the most permanent solution.

Key Results

  • 45.07% of NFTs are stored in non-permanent, centralized storage. This includes cloud storage providers and private domains.
  • Only 40.18% of NFTs are stored permanently. This category includes decentralized storage like IPFS and true on-chain storage.
  • 72.43% of ERC721 contracts have human-readable source code (via ABI). The remaining contracts are either bytecode-only or have invalid ABIs/TokenIDs.
  • 6.78% of contracts failed to return a valid TokenURI, often due to invalid TokenIDs or the absence of the TokenURI method.
  • 2.82% of successful queries returned an empty string for the TokenURI, indicating intentional omission of asset data.

Limitations and Future Work

Limitations: * The dataset is assumed to be comprehensive for the 6-month period in 2021. Changes in NFT circulation since then and the potential for the dataset to be incomplete are acknowledged. * The analysis of "private domain or other" storage could be more granular. * The study did not explicitly measure uniqueness, which is identified as a crucial property. * The TokenURI method doesn't always directly return the image URL; additional steps are needed to access the asset, and "click depths" were not analyzed.

Future Work: * Revalidate findings with updated, comprehensive datasets. * Extend the technical pipeline to include bytecode decompilation. * Further investigate "private domain or other" storage to understand their reliance on third-party hosting. * Analyze "click depths" to understand how deeply one must navigate to reach the final asset. * Develop a formal validation system for NFTs that considers storage mechanism, TokenURI click depth, and image hash scarcity to assess uniqueness. * Explore the three levels of uniqueness: token ledger entry, token metadata, and the underlying asset itself.

Summary updated

BibTeX
@misc{barrington2022fungibility,
  author = {Sarah Barrington and Nick Merrill},
  title = {{The Fungibility of Non-Fungible Tokens: A Quantitative Analysis of ERC-721 Metadata}},
  year = {2022},
  eprint = {2209.14517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.14517},
}
Figure