Retrieve an NFT
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
mintAddressstringRequiredExample:
Base-58 encoded string representing an on-chain address
EBeLw5jEdrEgDe17BdKGW2MizzGxtxigEuAGvYC7VzDpPattern: ^[A-HJ-NP-Za-km-z1-9]*$Responses
200Success
application/json
404
Not Found
application/json
get
/v2/nfts/:mintAddressExample
curl --location --request GET 'https://dev.underdogprotocol.com/v2/nfts/Dic1tC9yBhaDerQpV8ZBAsruBUKQsRWtCWysG965ADWi' \
--header 'Authorization: Bearer {token}'const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/nfts/Dic1tC9yBhaDerQpV8ZBAsruBUKQsRWtCWysG965ADWi',
headers: {
'Authorization': 'Bearer d098077945e454.c76459c2fa07476788b3cbf7d60273fd'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Last updated