Create a claim
Collectible claims will be permanently created on the blockchain. Collectible claims on blockchain cannot be updated or altered without the permission of the collectible claimant.
Request
curl 'https://businessapi.badges.xyz/claims' \
-u E23d1aN95aAtnE3w9QmQyGjBRzu4...
--header 'Content-Type: application/json' \
--data-raw '{
"collectible_id": "9c9b5e7f-5fc6-4cec-8340-bf390dc18759",
}'Returns
Returns the claim object if the update succeeded. Returns an error if create parameters are invalid.
{
"data": {
"id": "058f644b-c393-48ec-86a6-7834be6414ac",
"contract_address": "0xd8cd77D7F98B2990D08EE2d957dF2a35459D0F1D",
"token_id": 5,
"holder_wallet_address": "0xd10D7A5991B99Ba5F51DcAfdDA780Ed3a3Def20d",
"blockchain_id": 0x64,
"collectible_id": "9c9b5e7f-5fc6-4cec-8340-bf390dc18759",
"holder_id": "785e64de-2ad2-4ebd-83da-f60c480ee551",
"external_id": "27817889",
"is_active": true,
"created_at": "2023-04-30T23:50:17.000Z"
}
}Parameters
name
string
Name for the object.
description
string
Description for the object.
mime_type
string
Mime Type for the artwork file associated with the object.
artwork
url
URL of the artwork file associated with the object.
cover
url
URL of the cover image for the file associated with the object.
total_count
int
Total collectible count for the object.
claimed_count
int
Total collectible claim count for the object.
available_count
int
Total collectibles available count for the object.
creator_id
uuid
User object id for the object.
organization_id
uuid
Organization object id for the object.
external_id
string
Custom External id for the object.