competition
POST /competition/{id}/open-chest
POST /competition/{id}/open-chest
post/competition/{id}/open-chest
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Request body
Response
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.