mallow docs

Buy edition

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

Builds the transactions that print quantity copies of masterEdition for buyer.

This returns one transaction per copy: { "result": [{ "mintAccount": "...", "tx": "..." }] }. Each mintAccount is the ephemeral print-mint address that its transaction is already partially signed for, so the transactions are not interchangeable — broadcast each one and use mintAccount to reconcile which print resulted.

quantity must be between 1 and 25. Whitelist gating is available through whitelistMint or whitelistCoreCollection; a wallet-allowlisted sale proves membership automatically.

A wallet-allowlisted sale may also need a per-buyer proof account. When it does, the response carries a setupTx alongside result — sign, send and confirm it first, then broadcast the result transactions.

As with a single buy, the buyer pays in the listing's currency; swapQuote is only needed to pay with a different token, and here it must cover the listing price plus estimated 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

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"}