diff --git a/pages/advance/extra-features/opensea_animation_url.mdx b/pages/advance/extra-features/opensea_animation_url.mdx index 8edefba..1116e21 100644 --- a/pages/advance/extra-features/opensea_animation_url.mdx +++ b/pages/advance/extra-features/opensea_animation_url.mdx @@ -84,6 +84,39 @@ For each token.json, edit it to add the animation_url property with the followin "animation_url": "https://viewer.tokenscript.org/?viewType=opensea&chain=137&contract=0xD5cA946AC1c1F24Eb26dae9e1A53ba6a02bd97Fe&tokenId=3803829543" } ``` + +#### Example usage + +Smart Cats Collection + +``` +{ + "image":"https://resources.smartlayer.network/smartcat/reources/images/5464593329ab831b4872365e1f1a2bbc.png", + "attributes":[ + {"trait_type":"Collection","value":"SmartCats"}, + {"trait_type":"TokenId","value":"2741836701"}, + {"trait_type":"Background","value":"USA - Flag (Common)"}, + {"trait_type":"Hat","value":"Vietnam - Wig (Common)"}, + {"trait_type":"Outfit","value":"SL Grey Hoodie (Common)"}, + {"trait_type":"Level","value":0} + ], + "description":"SmartCat#2426-2741836701", + "name":"SmartCat#2426-2741836701", + "animation_url":"https://viewer.tokenscript.org/?viewType=opensea&chain=137&contract=0xd5ca946ac1c1f24eb26dae9e1a53ba6a02bd97fe&tokenId=2741836701" +} +``` + +AutographNFT Collection +``` + "image":"https://alchemynft.io/1/remix/0xd093f5b810e486039ee6e4852533a04b8679a4d6a1fcc60a58cb81447a6f732d.svg", + "attributes":[ + {"trait_type":"Autograph","value":"@GridsAndDots"}, + ], + "description":"https://open.spotify.com/artist/7ba827SJSUU4l3AORy4Doy", + "name":"Grids & Dots - Hazey Jane", + "animation_url":"https://viewer.tokenscript.org/?viewType=opensea&chain=1&contract=0x222222222291749de47895c0c0a9b17e4fca8268&tokenId=27" +``` + Note that the tokenId in the URL matches the token ID for this metadata. Once you have edited all the metadata files, you can upload/replace them in their original location.