Data-chain Base URI
This is used as the base URI for the contract when using the data chain.
Base URI
The URI below is the NFT Collection's baseURI generated from the data chain. The {schemaCode} is the code from the schema that was created.
Testnet endpoint
# Base URI for testnet
https://six-data-chain-backend-api-gateway-7kl45r91.ts.gateway.dev/api/nft/metadata/schema_code}/{tokenId}
#for example
# https://six-data-chain-backend-api-gateway-7kl45r91.ts.gateway.dev/api/nft/metadata/six_rocket_ticket/1Mainnet endpoint
# Base URI for mainnet
https://six-data-chain-backend-backend-api-sixnet-gateway-3hi29er0.an.gateway.dev/api/nft/metadata/{schema_code}/{tokenId}
#for example
#https://six-data-chain-backend-backend-api-sixnet-gateway-3hi29er0.an.gateway.dev/api/nft/metadata/six_rocket_ticket/1OpenSea Metadata Standard (example)
{
image: "https://ipfs.io/ipfs/QmWzf4885QfDquiPra4CdWz15Wys761jfPrfNNNaQTXtmw/1.png",
name: "NFT #01",
description: "This is a description for this NFT series.",
attributes: [
{
trait_type: "Background",
value: "Red"
},
{
trait_type: "Moon",
value: "Moon 2"
},
{
trait_type: "Plate",
value: "Plate 1"
},
{
trait_type: "Tail",
value: "Tail 2"
},
{
trait_type: "Whale",
value: "Whale 2"
}
]
}
Error Codes
Last updated