Get Prizes
GET/prizes
Gets a list of active prizes available for claiming. Excludes sensitive information like download URLs.
Responses
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
List of active prizes available for claiming
prize_id stringrequired
The unique identifier of the prize
name stringrequired
The name of the prize
description string
Description of the prize
weight integerrequired
Weight for random selection (higher = more likely)
metadata
object
Sanitized metadata (excludes sensitive URLs)
property name* any
Sanitized metadata (excludes sensitive URLs)
{
"data": [
{
"prize_id": "prize_1_yak_airdrop",
"name": "1 YAK Airdrop",
"description": "Win 1 YAK coin airdrop",
"weight": 1,
"metadata": {
"type": "coin_airdrop",
"amount": 1000000000
}
}
]
}
Server error
Loading...