KrypCore Web3
PlatformSupportSDK
  • 👋Welcome to Krypcore Web3
  • Introduction
    • Overview
    • Product Architecture
    • Supported Networks
  • Product Overview
    • Key Concepts
    • Unified SDK / APIs
      • Benefits of a Unified Model
      • KrypCore Web3 SDK
      • KrypCore Web3 APIs
    • Infrastructure
      • Blockchain Endpoints
        • Adding network to Metamask
      • Storage Endpoints
      • DID Service Endpoints
    • Core Services
      • Wallets
        • Choosing the right wallet for your Dapp
        • Custodial Wallet
        • Self Managed Wallet
        • MPC Wallet
        • Developer Wallet
        • Smart Contract Wallet
      • Smart Contracts
        • Deploy from Templates
          • Templates Explained
            • ERC 20
            • ERC 721
            • ERC 1155
            • ERC20DAO Token
            • TokenERC20
        • Deploy your own contract
        • Deploy Contract
        • Load Contract
      • NFT
        • Creating a collection
        • Minting NFTs
      • FT
        • Creating an ERC-20 token
      • DIDs
      • Storage
    • Add on Services
      • Datalake
      • Gasless
        • Integration Steps
        • Considerations and Best Practices
  • API Reference
    • KCW3 APIs Explained
    • Infrastructure APIs
      • Ethereum JSON RPC APIs
        • eth_accounts
        • eth_blockNumber
        • eth_call
        • eth_chainId
        • eth_estimateGas
        • eth_feeHistory
        • eth_gasPrice
        • eth_getBalance
        • eth_getBlockByHash
        • eth_getBlockByNumber
        • eth_getBlockReceipts
        • eth_getBlockTransactionCountByHash
        • eth_getBlockTransactionCountByNumber
        • eth_getCode
        • eth_getFilterChanges
        • eth_getFilterLogs
        • eth_getLogs
        • eth_getProof
        • eth_getStorageAt
        • eth_getTransactionByBlockHashAndIndex
        • eth_getTransactionByBlockNumberAndIndex
        • eth_getTransactionByHash
        • eth_getTransactionCount
        • eth_getTransactionReceipt
        • eth_getUncleCountByBlockHash
        • eth_getUncleCountByBlockNumber
        • eth_hashrate
        • eth_maxPriorityFeePerGas
        • eth_mining
        • eth_newBlockFilter
        • eth_newFilter
        • eth_newPendingTransactionFilter
        • eth_signTransaction
        • eth_syncing
        • eth_uninstallFilter
        • eth_unsubscribe
        • eth_sendRawTransaction
        • net_listening
        • net_peerCount
        • net_version
        • txpool_content
        • txpool_inspect
        • txpool_status
        • web3_clientVersion
        • web3_sha3
      • IPFS HTTP Client APIs
        • How to
        • HTTP API methods
          • add
          • block_get
          • block_stat
          • cat
          • dag_get
          • dag_import
          • dag_put
          • dag_resolve
          • get
          • pin_add
          • pin_ls
          • pin_rm
          • pin_update
          • version
          • block_put
    • Core Service APIs
      • Wallet Manager APIs
        • Self Managed Wallet
          • Setup SM Wallet
          • Create Wallet
          • Get Wallet balance
          • Sign Message
          • Verifies Signature off chain
          • Deploy Contract
          • Submit Transaction
          • Estimating Gas Price
          • Call Contract Method
          • Sign and Submit Gasless Transaction
        • Developer Wallet
          • Generate Keys
          • Deploy Contract
          • Call Contract
          • Get Balance
          • Sign And Submit Gasless Txn
          • Create And Execute Txn
          • Sign EIP712 Txn
          • Verify Signature OffChain
          • Sign Message
          • Sign TxHash
          • Estimate Gas
        • Smart Contract Wallet APIs
          • Create Wallet
          • Get All SC Wallet Details
          • GenerateUserOp
          • SubmitUserOp
      • DID Manager APIs
        • Create issuer Profile
        • Create Subject Profile
        • Create Verifiable Credentials
        • Create Verifiable Presentation
        • List Issuer Profile
        • List Subject Profile
        • List Verifiable Credential
        • List Verifiable Credential Templates
        • Verify Verifiable Credential
        • Revoke Verifiable Credential
        • Delete Issuer Profile
        • Resolve DID
      • NFT Studio APIs
        • Create NFT Collection
        • Get all NFT Collections details created by a user
        • Get a NFT collection details created by a user
        • Mint NFT
        • Get all Minted NFT details in a smart contract
      • FT Manager APIs
        • Create ERC20Token
        • Get all Fungible Token details created by user
        • Get a Fungible Token details created by user
        • Mint ERC20 Token
        • Approve ERC20Token
        • Transfer ERC20 Token
        • Burn ERC20Token
        • Get Total Supply
        • Get Balance of an user address
      • Storage Manager APIs
        • Upload file to IPFS Storage
        • Get File Details
        • Download Files from IPFS
        • Update Pin status
      • Gasless API
        • Get Transaction Payload
        • Send Transaction
        • Create Gas Request
        • Add Whitelisted Contract Linked to DApp
        • List All Whitelisted Contracts
        • List All Protocol Configs
        • List All Funded Transactions
        • Update Configured Gas Limit
        • Deactivate Whitelisted Contract
        • Get Protocol Config using userId and ChainId
        • Sign And Submit Gasless Txn Using (Dev wallet)
        • Sign And Submit Gasless Txn Using (kms wallet)
    • Add On APIs
      • Gasless Transactions APIs
      • Datalake APIs
  • SDK Reference
    • Getting Started
    • SDK Architecture
    • Wrapper Packages
    • Power Methods
      • Wallet Suite
      • Utils Suite
    • Core Service Methods
      • Custodial Wallet Kit
      • DID Kit
      • NFT Kit
      • FT Kit
      • Storage Kit
  • faq
    • Platform FAQs
    • API FAQs
    • SDK FAQs
  • Releases
    • Latest Updates
    • Release Notes v1.0.0 Beta
    • Release Notes v1.0.0
Powered by GitBook
On this page
  • API Specification
  • Get a NFT collection details.

Was this helpful?

  1. API Reference
  2. Core Service APIs
  3. NFT Studio APIs

Get a NFT collection details created by a user

Details of a created NFT collection by a user can be found using this method. The weightage for this API is 5.

API Specification

Get a NFT collection details.

POST https://api.krypcore.com/api/v0/easy-nft/nft-collection

Created NFT collection details can be found under the given instance.

Headers

Name
Type
Description

Authorization*

String

User Auth Key obtained from Dash

DappId*

String

DappId

Request Body

Name
Type
Description

page

Number

Details of NFT collection to be retrieved for the given page No

id*

String

pageSize

Number

No of NFT collection details to be displayed per page

{
    "Data": {
        "_id": "650ac47da42a151ae936d7ee",
        "apiKey": "34bc1382-33aa-4306-a331-db5029e8dcee",
        "collectionChainID": "80001",
        "collectionContractAddress": "0x06Da2002a7E29fDd0cef326BC0febd36f48962aA",
        "collectionDescription": "This is NFT collection description",
        "collectionImage": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nz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Uo5SwS9KUqsQKUpQApSlAClKUAKUpQAqiwwbn9J0p1zdu3MYb8DgJ/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))
}

PreviousGet all NFT Collections details created by a userNextMint NFT

Last updated 11 months ago

Was this helpful?

identity of a NFT collection can be found by calling .

get all NFT collection