Skip to main content

Metadata

The Metadata object represents an NFT's metadata.

Schema Definition

type Metadata {
contract: String!
tokenId: UInt256!
uri: String
name: String
description: String
image: String
attributes: [Attribute]
externalUrl: String
animationUrl: String
youtubeUrl: String
raw: JSON
size: Int
createdAt: Time!
updatedAt: Time!
}

Fields

FieldTypeDescription
contractString! non-null scalarThe address of the contract managing the tokenId associated with this metadata.
tokenIdUInt256! non-null scalarThe unique identifier of the token associated with this metadata within its contract.
uriString scalarThe URI endpoint from where the metadata was retrieved.
nameString scalarThe display name of the NFT.
descriptionString scalarA human-readable description of the NFT.
imageString scalarThe URL or IPFS hash pointing to the original location of the token's primary image or other media.
attributes[Attribute] list objectAn array of Attribute objects representing the NFT's individual metadata properties.
externalUrlString scalarURL pointing to an external website or resource related to the NFT.
animationUrlString scalarURL pointing to an animation, video, or interactive content for the NFT.
youtubeUrlString scalarURL pointing to a YouTube video associated with the NFT.
rawJSON scalarThe complete raw JSON metadata as retrieved from the token URI.
sizeInt scalarSize of the metadata payload in bytes.
createdAtTime! non-null scalarTimestamp of when this metadata record was first created.
updatedAtTime! non-null scalarTimestamp of the last update to this metadata record.

Returned By

metadata query

Member Of

ContractToken object ● MetadataList object ● Token object