competition

POST /competition/{id}/open-chest

POST /competition/{id}/open-chest

post/competition/{id}/open-chest

Request

Path parameters

idnumber required

Request body

walletAddressstring required
tierNumbernumber required

Response

successboolean required
chestOpenIdnumber required
tierNumbernumber required
tierNamestring required
keysUsednumber required
messagestring required

Example response

{
  "success": true,
  "chestOpenId": 100,
  "tierNumber": 1,
  "tierName": "Bronze",
  "keysUsed": 10,
  "rewardPacks": [
    {
      "id": 1,
      "claimedBy": "client|synthetic-wallet",
      "claimedTransactionHash": "synthetic-transaction-hash",
      "items": [
        {
          "id": 1,
          "fulfillmentType": "galachain_mint",
          "fulfillmentSubType": "token",
          "collection": "SYNTHETIC",
          "category": "Unit",
          "type": "none",
          "additionalKey": "none",
          "quantity": 1,
          "dynamicMetadataId": "synthetic-metadata-id"
        }
      ]
    }
  ],
  "message": "Successfully opened Bronze chest!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.