mallow docs

Claim gumball item

POST
/v2/tx/gumball/claim-item

Builds the transaction sending a drawn item to its buyer. Anyone can sign and pay as payer.

A cnft with royalties can't be claimed on its own; use POST /v2/tx/gumball/settle-sale, which delivers it as well.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/gumball/claim-item" \  -H "Content-Type: application/json" \  -d '{    "payer": "string",    "gumballMachine": "string",    "seller": "string",    "buyer": "string",    "asset": "string",    "index": 0  }'
{  "result": {    "tx": "string",    "setupTx": "string"  }}