Skip to main content

Claim Prize

POST 

/prizes/claim

Claims a prize by verifying a Solana transaction. User must send exactly 2 YAK to the prize receiver address. Returns the prize won and any redeem codes/URLs.

Request

Body

required

    signature stringrequired

    The Solana transaction signature for the 2 YAK payment

    wallet stringrequired

    The wallet address that sent the transaction

Responses

Success - Prize claimed

Schema

    prize_id stringrequired

    The unique identifier of the prize won

    prize_name stringrequired

    The name of the prize won

    wallet stringrequired

    The wallet address that claimed the prize

    prize_type string

    The type of prize (e.g., "coin_airdrop", "download")

    action_data

    object

    Prize-specific action data (e.g., redeem code/URL for coin airdrops, download URL for downloads)

    property name* any

    Prize-specific action data (e.g., redeem code/URL for coin airdrops, download URL for downloads)

Loading...