mallow docs

Create listing

POST
/v2/tx/fixed-price/create

Builds a fixed-price listing of asset by seller at price, denominated in currencyMint (SOL when omitted).

seller must own the asset and the asset must not be frozen. endTime is a Unix timestamp after which the listing expires, and memo is written on-chain alongside the listing.

editionsLimit, buyerSetsPrice and startTime are master-edition-only and are rejected on a 1/1. editionsLimit caps how many prints the listing offers: 0–65535, and for limited editions no more than the remaining mintable supply (maxSupply − supply). buyerSetsPrice lets buyers pay any amount at or above price. startTime is a Unix timestamp deferring when the listing goes live. A 1/1 is always active from the moment its transaction confirms and always sells at exactly price — sending buyerSetsPrice: false or startTime: 0 on one is fine.

The response may include a setupTx alongside tx that tx depends on — sign and confirm setupTx first, then broadcast tx.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Lists an artwork at a fixed price.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/fixed-price/create" \  -H "Content-Type: application/json" \  -d '{    "seller": "string",    "asset": "string",    "price": 1  }'
{  "result": {    "tx": "string",    "setupTx": "string"  }}