Claim raffle 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 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" }}Claim raffle prize POST
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.
Add gumball item POST
Builds the transaction adding asset to gumballMachine, signed by seller, who must own it. Supports nft, pnft, core, cnft and cnft-v2.