This API endpoint allows users to fetch detailed information about a specific NFT token type, also referred to as an NFT template, from one of the NFT contracts. Additionally, you can also retrieve all NFT token types associated with an NFT contract.
1. Get NFT template (token-type) by tokenTypeId
Request Endpoint:
HTTP
GET /api/v2/contracts/{secretType}/{contractAddress}/token-types/{tokenTypeId}
Parameter
Param Type
Description
Data Type
Mandatory
{secretType}
Path
The blockchain of the contract.
String
✅
{contractAddress}
Path
The contract address whose token-type you want to fetch.
String
✅
{tokenTypeId}
Path
This is the id of the token-type.
String
✅
Example Request:
HTTP
GET /api/v2/contracts/MATIC/0x30d6cff9cb268c59c75a94755b2c60e118d65657/token-types/1