Minting APIs
PATCH Contract
- Documentation
- Introduction
- Overview
- Quickstart
- Errors
- Pagination
Wallet Creation APIs
Wallet Experience APIs
NFT APIs
Web3 APIs
SDK
Overview
Wallet as a Service (WaaS)
Minting APIs
PATCH Contract
Update collections or contracts via the Bitski minting infrastructure.
PATCH
/
v1
/
apps
/
{appId}
/
contracts
/
{contractId}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
appId
string
*
appId
Required
string
Your Bitski Application ID
contractId
string
*
contractId
Required
string
Your contract ID
curl -X 'PATCH' \
'https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"contract": {
"deploymentState": "DEPLOYED",
"deploymentTransactionHash": "0x76cbbfd0fa31059647017c28a0f855b6494b995ac77e1228064ba47debf0bb34"
}
}'
{
"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"
}
}
This API requires the
apps
scopePath
appId
string
requiredYour Bitski Application ID
contractId
string
requiredYour contract ID
Response
contract
Contract object
requiredid
string
requireddeploymentState
string
requiredexternalLink
string
requiredaddress
string
requirednetwork
string
requiredname
string
description
string
contractType
string
One of UNKNOWN
, NON_FUNGIBLE_AUCTION
, NON_FUNGIBLE
, SEMI_FUNGIBLE
, ZORA_AUCTION
tokenTemplates
array
fee
number
accessType
string
requiredOne of OWNED
, WATCHED
curl -X 'PATCH' \
'https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
"contract": {
"deploymentState": "DEPLOYED",
"deploymentTransactionHash": "0x76cbbfd0fa31059647017c28a0f855b6494b995ac77e1228064ba47debf0bb34"
}
}'
{
"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"
}
}