Minting APIs
POST Contract
Minting APIs
POST Contract
Create collections on dedicated or shared contracts across chains
POST
/v1/apps/{appId}/contracts
Bearer*
curl --request POST \
--url https://api.bitski.com/v1/apps/{appId}/contracts \
--header 'Bearer: <bearer>'
This API requires the
apps
scopecurl -X 'POST' \
'https://api.bitski.com/v1/apps/{appId}/contracts' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"contract": {
"description": "A collection of bird NFTs",
"externalLink": "www.bitski.com/@stapleverse",
"name": "My Contract",
"network": "mainnet",
"symbol": "BIRD",
"contractType": "SEMI_FUNGIBLE"
}
}'
Path
appIdrequired
string
Your Bitski Application ID
Response
contractrequired
Contract object
{
"contract": {
"contractType": "SEMI_FUNGIBLE",
"tokenTemplates": [],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"symbol": "BIRD",
"description": "A collection of bird NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
}
curl -X 'POST' \
'https://api.bitski.com/v1/apps/{appId}/contracts' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"contract": {
"description": "A collection of bird NFTs",
"externalLink": "www.bitski.com/@stapleverse",
"name": "My Contract",
"network": "mainnet",
"symbol": "BIRD",
"contractType": "SEMI_FUNGIBLE"
}
}'
{
"contract": {
"contractType": "SEMI_FUNGIBLE",
"tokenTemplates": [],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"symbol": "BIRD",
"description": "A collection of bird NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
}