mallow docs

Claim raffle proceeds

POST
/v2/tx/raffles/claim-proceeds

Builds the transaction that pays a finished raffle's ticket revenue to creator, who signs. The marketplace fee and creators' royalties are deducted. The prize is delivered separately, with POST /v2/tx/raffles/claim-prize.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Pays out a completed raffle's ticket revenue. Proceeds are split on-chain: the marketplace cut to mallow, royalties to the on-chain creators, the remainder to creator. Independent of prize delivery.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/raffles/claim-proceeds" \  -H "Content-Type: application/json" \  -d '{    "creator": "string",    "raffleKey": "string"  }'
{  "result": {    "tx": "string"  }}