mallow docs

Buy edition

POST
/v2/tx/fixed-price/buy-edition

Builds the transactions that print quantity copies (1 to 25) of masterEdition for buyer, one transaction per copy. Each comes with the mintAccount of the copy it prints.

For a gated sale, pass whitelistMint or whitelistCoreCollection; wallet allowlists are checked automatically. If the response includes setupTx, send and confirm it before the others.

To pay with a different token than the listing's currency, pass a swapQuote that covers the price plus SOL fees.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Prints copies of a master edition. Returns one transaction per copy, paid in the listing's currency. Supply a swapQuote only to pay with a different token, in which case it must cover the listing price plus estimated SOL fees.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/fixed-price/buy-edition" \  -H "Content-Type: application/json" \  -d '{    "buyer": "string",    "masterEdition": "string",    "quantity": 0  }'
{  "result": [    {      "mintAccount": "string",      "tx": "string"    }  ],  "setupTx": "string"}