Minting APIs
GET 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
GET Contract
Get collection or contract details
GET
/
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
The contract id
curl --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contracts/{contractId} \
--header 'Authorization: Bearer <token>'
{
"contract": {
"contractType": "NON_FUNGIBLE",
"tokenTemplates": [
{
"animationUrl": null,
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"defaultMetadata": {},
"delayMinting": true,
"description": "A great token",
"gatedContent": [],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"isDropLink": true,
"liveAt": "2023-04-19T23:51:57.705Z",
"maxTokens": 100,
"name": "Bird NFT",
"namingTemplate": "DEFAULT",
"payouts": {},
"previewAt": "2023-04-19T23:51:57.705Z",
"prices": [
{
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": "200.00"
}
],
"published": true,
"salesEndAt": "2023-04-19T23:51:57.705Z",
"totalTokens": 57
}
],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"description": "A collection of great 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
requiredThe contract id
Examples
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 --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contracts/{contractId} \
--header 'Authorization: Bearer <token>'
{
"contract": {
"contractType": "NON_FUNGIBLE",
"tokenTemplates": [
{
"animationUrl": null,
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"defaultMetadata": {},
"delayMinting": true,
"description": "A great token",
"gatedContent": [],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"isDropLink": true,
"liveAt": "2023-04-19T23:51:57.705Z",
"maxTokens": 100,
"name": "Bird NFT",
"namingTemplate": "DEFAULT",
"payouts": {},
"previewAt": "2023-04-19T23:51:57.705Z",
"prices": [
{
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": "200.00"
}
],
"published": true,
"salesEndAt": "2023-04-19T23:51:57.705Z",
"totalTokens": 57
}
],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"description": "A collection of great NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
}