Get a NFT collection details created by a user
Last updated
Last updated
Details of a created NFT collection by a user can be found using this method. The weightage for this API is 5.
POST
https://api.krypcore.com/api/v0/easy-nft/nft-collection
Created NFT collection details can be found under the given instance.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"Data": {
"_id": "650ac47da42a151ae936d7ee",
"apiKey": "34bc1382-33aa-4306-a331-db5029e8dcee",
"collectionChainID": "80001",
"collectionContractAddress": "0x06Da2002a7E29fDd0cef326BC0febd36f48962aA",
"collectionDescription": "This is NFT collection description",
"collectionImage": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHsAaQMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAABQYDBAcBAv/EADoQAAEDAwIDBgIHBwUAAAAAAAECAwQABRESIQYxQRNRYXGBkRQiByMyQlKhsRUWksHR4fBDVILC0v/EABkBAAMBAQEAAAAAAAAAAAAAAAADBAIFAf/EACoRAAICAQMCBQMFAAAAAAAAAAABAgMRBBJBITETFCJRgTLB0SNxobHh/9oADAMBAAIRAxEAPwDuNKUoAUpSgBSlatyVogyFYdV9WrZn7Z2+74143hZAxOXm2tvFlc1hKwcEFwbHuPdVSjPJi/SWog/VTG1ISeisoSr9UKqny2S+4pBT2baSAQFnfJ5Y8Bn8qk5i3Yke1XUpWPg3+zORvpQQrT7KWPSuKtc7Wsrs8/b7k7sz8HWaVTuKuLk29bcSAtBecQF6yM4B5Yzt6mvrhXiYzViLLcXIeWo6HENjSB4kfriuj5yrxfC5G71nBb6UHKlVGxSlKAFKUoAUpVU4t4nctryLfbW+1nOAE5GQjPIY6qPdWZ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FEVlxLroX2itBzpABHMdd+VV2+Q12q4youCoMrUBvuU52PtUpBsz9qu1gmXUMOQpjySlLaioZONBUcAc1JONxtXNjCTePYve1epHR+EbG3YbM1GHzPuDtJCyN1OEb+3L0qbryva7UUksI5LbbyxXikhQIIBB55r2lenhUrtwkUSP2hw++YUtP3UnCT4DuHgcjyrU+K45/2kf8AhR/7q8V5gd1TPTRzmLcf2MbFx0PaUpVJsUpSgBSlKAOZ/Sbby1cWJ6E/I+jQsgfeT/Yj2qOuN0jv8D2aIl1Px0Z04RzKEIKkgnu20GumX20sXq3OQ5Hyg/MhYG6FDkR/nLNcrvPCj8C5QLc7JaeXNdCdDQIOnUAVHPLYk435HeufdXKEnKPZl1M4zioy7os1hm3i7Fy4XUuJjugfCJHyJ8VJHPuwo7nyq3WuemU2EOK+uSN9sah3j+nSvm9R1ORAWknKOieenw9hWOxF1aVB5lP1fyJcxv5d+P05U2EZQtw3nIibUo5SwS9KUqsQKUpQApSlAClKUAKUpQAqiwwbn9J0p1zdu3MYb8DgJ/7rPtV6qgXGR+63HTlwkpV+z7i3hSwM6CMZPjgj2V4Um7ptb7ZG1cpd8F+r2sUd9mSyh6O6h1pYylaFZCh3g1lpwoUpSgBSlKAFKUoAUpSgBSlKAFad0tkS6xFRZrQcaJz3FJ6EHoa3KV41nowTx1RzK42278DvCZaZanbetfzoWPlz3LTy3/EMf16BZrgi6WuNObSUJebCtJOSk9R6GtiTHZlMLYkNJcaWMKQsZBFIsdmJHRHjNJaabGEoSMAClwrcG8PoMnZvSyuplpSlNFilKUAf/9k=",
"collectionName": "collectionName",
"collectionSymbol": "collectionSymbol",
"createdAt": "2023-09-20T10:07:57.967Z",
"createdBy": "DEV_KRYP_11_20230919",
"custodialWalletAccessToken": "d263d546-ccc2-4676-9691-d28c3f836822",
"ercStandard": "ERC721",
"instanceRef": "INS_EA_19_2023919",
"isDefault": false,
"isSoulBound": false,
"projectID": "DEV_TEST_KRYP_25_20230919",
"referenceId": "7835f5c0-7066-458e-83ca-cb117b417065",
"status": "SUCCESS",
"subscriptionId": "9690608060",
"txnHash": "0xd153feed8bb7a9618afe3bcd124213dec98e63d957e1c80e9b070750d0a9f800",
"uniqueId": "NFT-COL-CDZUbweAAHGGCfIueiHKJVxr",
"updatedAt": "2023-09-20T10:17:49.38Z",
"walletAddress": "",
"walletType": "non-custodial"
},
"Message": "Ok",
"Status": "SUCCESS"
}
{
"message": "Missing API key found in request"
}
{
"Data": null,
"Message": "Error while converting string to primitive object: the provided hex string is not a valid ObjectID",
"Status": "FAILURE"
}
Take a look at how you might call this method using our official libraries, or via curl
:
curl --location --request POST 'https://api.krypcore.com/api/v0/easy-nft/nft-collection' \
--header 'Authorization: xxxxxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "650ac47da42a151ae936d7ee",
"page": 0,
"pageSize": 10
}'
var axios = require('axios');
var data = JSON.stringify({
"id": "650ac47da42a151ae936d7ee",
"page": 0,
"pageSize": 10
});
var config = {
method: 'post',
url: 'https://api.krypcore.com/api/v0/easy-nft/nft-collection',
headers: {
'Authorization': 'xxxxxxxxxxxxxxxxx',
'DappId': 'xxxxxxxxxxxxxxxxx',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
import requests
import json
url = "https://api.krypcore.com/api/v0/easy-nft/nft-collection"
payload = json.dumps({
"id": "650ac47da42a151ae936d7ee",
"page": 0,
"pageSize": 10
})
headers = {
'Authorization': 'xxxxxxxxxxxxxxxxxxxx',
'DappId': 'xxxxxxxxxxxxxxxxxxxx',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.krypcore.com/api/v0/easy-nft/nft-collection"
method := "POST"
payload := strings.NewReader(`{
"id": "650ac47da42a151ae936d7ee",
"page": 0,
"pageSize": 10
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "xxxxxxxxxxxxxxxxxxx")
req.Header.Add("DappId", "xxxxxxxxxxxxxxxxxxx")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Authorization*
String
User Auth Key obtained from Dash
DappId*
String
DappId
page
Number
Details of NFT collection to be retrieved for the given page No
id*
String
identity of a NFT collection can be found by calling get all NFT collection.
pageSize
Number
No of NFT collection details to be displayed per page