Create listing
Builds a fixed-price listing of asset by seller at price, in currencyMint (SOL when omitted). seller must own the asset.
editionsLimit, buyerSetsPrice and startTime apply only to master editions. If the response includes setupTx, send and confirm it before tx.
Authorization
ApiKeyAuth 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
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" }}Buy edition POST
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.
Cancel listing POST
Builds a transaction cancelling seller's listing of asset and returning the asset to them. Bubblegum v2 compressed NFTs (cnft-v2) are supported.