Retrieve an NFT
This endpoint allows you to create a new NFT.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
transferablestringRequired
Value must be either 't' for transferable or 'n' for non-transferable
projectIdintegerRequired
nftIdintegerRequired
NFT ID
Responses
200Success
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
/v2/projects/:transferable/:projectId/nfts/:nftIdExample
curl --location --request GET 'https://dev.underdogprotocol.com/v2/projects/n/4/nfts/1' \
--header 'Authorization: Bearer {token}'const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/projects/n/4/nfts/1',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Last updated