Create NFT Collection
NFT Collection can be created using this method. The weightage for this API is 5.
API Specification
Create NFT Collection
POST
https://api.krypcore.com/api/v0/easy-nft/createNFTCollection
Create NFT Collection under the given instance.
Headers
Authorization*
String
User Auth Key obtained from Dash
DappId*
String
DappId
Chainid*
String
Chain ID
Request Body
chainId*
String
Chain Id of the Blockchain Protocol
ERCStandard*
String
Standard can be ERC721 or ERC1155
collectionDescription*
String
Description of the NFT collection
collectionImage*
Base64 of the image
This image is used in displaying collection in the Easy NFT dashboard
collectionName*
String
Name of the collection
collectionSymbol*
String
Symbol of the collection
walletType*
String
non-custodial or dev-wallet
isSoulBound*
Boolean
Is NFT represent a soul bound token?
custodialWalletAccessToken
String
Wallet ID of non-custodial wallet
privateKey
String
Private Key of developer wallet
{
"Data": {
"contractAddress": "",
"referenceId": "7835f5c0-7066-458e-83ca-cb117b417065",
"txnHash": ""
},
"Message": "NFT collection created",
"Status": "SUCCESS"
}
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/createNFTCollection' \
--header 'Authorization: xxxxxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"ERCStandard": "ERC721",
"chainId": "80001",
"collectionDescription": "This is NFT collection description",
"collectionImage": Base64 of the Image,
"collectionName": "collectionName",
"collectionSymbol": "collectionSymbol",
"custodialWalletAccessToken":"xxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"isSoulBound": false,
"walletType": "non-custodial"
}'
Last updated
Was this helpful?