mallow docs

Claim raffle prize

POST
/v2/tx/raffles/claim-prize

Builds the transaction that sends a drawn raffle's prize to its winner. Anyone can sign as authority; the prize always goes to the winner. Fails if the raffle hasn't been drawn.

Authorization

ApiKeyAuth
x-api-key<token>

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"  }}