mallow docs

Create auction

POST
/v2/tx/auctions/create

Builds an auction listing for asset by seller.

reservePrice is the minimum accepted bid and duration is the auction length in seconds. When startTime is given the clock starts then; otherwise it starts at the first bid.

minBidIncrement is read as basis points of the current bid (minimum 10 bps) unless absoluteIncrement is set, in which case it is a flat amount in the bid currency's base units.

timeExtPeriod and timeExtDelta configure anti-sniping: a bid landing within the final timeExtPeriod seconds pushes the deadline out by timeExtDelta seconds. bidMint denominates bids in an SPL token instead of SOL, and enablePrimarySplit splits the primary-sale proceeds among the on-chain creators (omitted, the proceeds go to the seller).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Opens an auction for an artwork.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/auctions/create" \  -H "Content-Type: application/json" \  -d '{    "seller": "string",    "asset": "string",    "reservePrice": 0,    "duration": 0,    "minBidIncrement": 0  }'
{  "result": {    "tx": "string"  }}