Skip to main content

IERC1155Metadata

Note: The ERC-165 identifier for this interface is 0x0e89341c.

Methods

uri

function uri(uint256 _id) external view returns (string)

A distinct Uniform Resource Identifier (URI) for a given token.

URIs are defined in RFC 3986. The URI may point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".

Parameters

NameTypeDescription
_iduint256undefined

Returns

NameTypeDescription
_0stringURI string