DeveloperDocs
(opens in a new tab)
  • Sound Docs
  • Sound Protocol
    • Overview
      • Features
      • Design
      • Deployments
    • Core Contracts
      • SoundCreatorV2
      • SoundEditionV2
      • IMetadataModule
    • Module Contracts
      • Metadata
        • GoldenEgg Metadata
      • Minters
        • EditionMaxMinter
        • RangeEditionMinter
        • FixedPriceSignatureMinter
        • MerkleDropMinter
    • Libraries
      • Erc721a Burnable Upgradeable
      • Erc721a Queryable Upgradeable
      • Erc721a Upgradeable
      • Ownable Roles
  • Sound SDK
    • Getting Started
    • Interacting with editions
    • Creating editions
    • Helpers
  • Sound API
    • Getting Started
    • Making Requests
    • Changelog
  • API Explorer
  • Sound Docs
  • Sound Protocol
    • Overview
      • Features
      • Design
      • Deployments
    • Core Contracts
      • SoundCreatorV2
      • SoundEditionV2
      • IMetadataModule
    • Module Contracts
      • Metadata
        • GoldenEgg Metadata
      • Minters
        • EditionMaxMinter
        • RangeEditionMinter
        • FixedPriceSignatureMinter
        • MerkleDropMinter
    • Libraries
      • Erc721a Burnable Upgradeable
      • Erc721a Queryable Upgradeable
      • Erc721a Upgradeable
      • Ownable Roles
  • Sound SDK
    • Getting Started
    • Interacting with editions
    • Creating editions
    • Helpers
  • Sound API
    • Getting Started
    • Making Requests
    • Changelog
  • API Explorer

On This Page

  • tokenURI
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
Sound Protocol
Core Contracts
IMetadataModule

IMetadataModule

contracts/core/interfaces/IMetadataModule.sol (opens in a new tab)

Interface for the metadata module.

tokenURI

function tokenURI(uint256 tokenId) external view returns (string memory)

When implemented, the SoundEdition's tokenURI redirects execution to this tokenURI.

Params:
tokenIdThe token ID to retrieve the token URI for.

Returns the token URI string.

SoundEditionV2GoldenEgg Metadata

© Copyright 2022 Sound.xyz
All rights reserved.

    Company
  • Market
  • Trending
  • Careers
  • Terms Of Service
  • Privacy Policy
    Resources
  • About
  • Blog
  • FAQ
    Docs
  • Sound Protocol
  • Sound SDK
  • Sound API
    Follow Us