How to retrieve SRR metadata
Last updated
Last updated
©2023 Startbahn, Inc.
The following is the method to retrieve the SRR metadata using the Subgraph.
For querying to subgraph, please check this doc.
Open the following page in your browser.
Paste the following query into the left pane of the screen and press the execute button.
The result of execution is here.
This metadataDigest is an IPFS CID. Please refer to this page for an explanation of IPFS. You can request the IPFS CID using an IPFS gateway as follows.
For example. Using Cloudflare's gateway
For example. NFT.Storage's gateway
You can find more IPFS gateways in here.
For SRRs issued before 2023, the metadataDigest may contain a string starting with 0x
. This can be verified with a tokenId like the one below:
In this case, the metadata is not be uploaded to IPFS. To retrieve the metadata, use the Startrail API endpoint via Get Metadata by Token ID.