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
| Field | Type | Description |
|---|---|---|
contract | String! non-null scalar | The address of the contract managing the tokenId associated with this metadata. |
tokenId | UInt256! non-null scalar | The unique identifier of the token associated with this metadata within its contract. |
uri | String scalar | The URI endpoint from where the metadata was retrieved. |
name | String scalar | The display name of the NFT. |
description | String scalar | A human-readable description of the NFT. |
image | String scalar | The URL or IPFS hash pointing to the original location of the token's primary image or other media. |
attributes | [Attribute] list object | An array of Attribute objects representing the NFT's individual metadata properties. |
externalUrl | String scalar | URL pointing to an external website or resource related to the NFT. |
animationUrl | String scalar | URL pointing to an animation, video, or interactive content for the NFT. |
youtubeUrl | String scalar | URL pointing to a YouTube video associated with the NFT. |
raw | JSON scalar | The complete raw JSON metadata as retrieved from the token URI. |
size | Int scalar | Size of the metadata payload in bytes. |
createdAt | Time! non-null scalar | Timestamp of when this metadata record was first created. |
updatedAt | Time! non-null scalar | Timestamp of the last update to this metadata record. |
Returned By
metadata query
Member Of
ContractToken object ● MetadataList object ● Token object