mallow docs

Add gumball item

POST
/v2/tx/gumball/add-item

Builds the transaction adding asset to gumballMachine, signed by seller, who must own it. Supports nft, pnft, core, cnft and cnft-v2.

NFTs and Core assets stay in the seller's wallet, locked until they are sold or removed. Compressed NFTs are held by the machine. An asset that is already locked or delegated elsewhere is rejected.

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

application/json

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