Claim raffle prize
Builds the transaction transferring a drawn raffle's prize to its winner, signed by authority.
The raffle must have been drawn so a winner is resolvable from the entrants account; if that account is missing or the draw has not happened, the winner cannot be determined and the request fails. authority pays the transaction fee but need not be the winner — the prize always goes to the winning wallet recorded on-chain.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Transfers a drawn raffle's prize to its winner.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/raffles/claim-prize" \ -H "Content-Type: application/json" \ -d '{ "authority": "string", "raffleKey": "string" }'{ "result": { "tx": "string" }}