Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ Ensure you use the correct casing when defining attributes to avoid errors.
"type": "image/jpeg"
},
{
"url": "https://platform.production.enjinusercontent.com/enterprise/enjin/assets/media/2024-multiverse.banner.jpg",
"url": "https://cdn.enjin.io/mint/image/15.jpg",
"type": "image/jpg"
}
},

],
"fallback_image": "https://cdn.enjinx.io/assets/images/ethereum/platform/0/apps/8/2b728df41fadef568e4410fb823999d14473ef1e.jpeg",
"banner_image": "https://platform.production.enjinusercontent.com/enterprise/enjin/assets/media/2024-multiverse.banner.jpg",
"fallback_image": "https://cdn.enjin.io/mint/image/15.jpg",
"external_url": "https://enjin.io/multiverse"
}
```
Expand All @@ -39,7 +41,8 @@ Ensure you use the correct casing when defining attributes to avoid errors.
- `name`: The collection's display name.
- `description`: The collection's description.
- `media`: A list of links to media files (images, GIFs, videos, etc.) to be displayed as the collection media.
- The NFT.io marketplace uses the first provided media file as the collection's featured media, and the second provided media file as a banner image.
- The NFT.io marketplace uses the first provided media file as the collection's featured media.
- `banner_image`: A link to an image file to be displayed as the collection banner. (Recommended ratio: 4:1)
- `fallback_image`: A link to an alternative image file to be used when the media provided in the `media` list fails to load.
- `external_url`: A link to the collection's website.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ For a complete example of Collection & Token metadata, check out the [Metadata E
Ensure you use the correct casing when defining attributes to avoid errors.
:::

There are two ways to create metadata for your tokens:
There are two ways to set metadata for your tokens:

1. **Off-chain - Hosted JSON File:** Set the collection or token attribute with the key `uri` and the value as a URL to a off-chain hosted JSON file. This file can be hosted either in a centralized manner or on IPFS.
The JSON file should contain metadata that follows the structure defined in the metadata standard.
The JSON file should contain metadata that follows the structure defined in the metadata standard.
Example:
```graphql
mutation SetMetadataUsingJSON {
Expand All @@ -50,7 +50,7 @@ There are two ways to create metadata for your tokens:
}
```

2. **On-chain - Directly Setting Metadata:** Set the metadata directly on-chain using a structure that follows the metadata standard.
2. **On-chain - Directly Setting Metadata:** Set the metadata directly on-chain using a structure that follows the metadata standard.
Example:
```graphql
mutation SetMetadataDirectly {
Expand Down