Claim raffle proceeds
Builds the transaction paying out a completed raffle's ticket revenue to creator, signed by them.
Proceeds are split on-chain: the marketplace cut goes to the mallow treasury and royalties to the creators recorded on-chain, with the remainder to creator. This is independent of prize delivery — /v2/tx/raffles/claim-prize moves the asset to the winner, this moves the money to the seller.
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" }}