Get Metadata By tokenid
tokenid of ERC721 specification.
Last updated
Was this helpful?
tokenid of ERC721 specification.
Last updated
Was this helpful?
The following URL points to the test environment. Replace it with the production's url (https://api.startrail.io/startrail
) as necessary.
Please note that there are two endpoints here:
If the tokenid belongs to a collection contract you should use the following endpoint that gets the contractAddress
as well, otherwise use the above endpoint.
Swagger to Get metadata JSON for a given token.
Swagger to Get collection metadata JSON for a given token.
No required permission. This endpoint is public as the information is also public.
Get metadata JSON for a given token.<br/>This is the ERC721 tokenURI().
/api/v1/srr/metadata/{tokenFile}
Name of file which should be in the form <ERC721 token id>.json
20469176713323657527.json
No body
Get collection metadata JSON for a given token.<br/>This is the ERC721 tokenURI().
/api/v1/srr/metadata/{contractAddress}//{tokenFile}
Name of file which should be in the form <ERC721 token id>.json
20469176713323657527.json
No body