mallow docs

Make offer

POST
/v2/tx/offers/create

Builds an offer (bid) from buyer on asset at price, denominated in currencyMint — SOL when omitted. Funds are escrowed on-chain when the transaction confirms.

price must be a positive integer in the currency's base units. Offers are only supported on 1/1s and edition prints; other supply types are rejected with a 400, as are pNFT, cNFT and Objkt assets.

If buyer already has an open offer on asset, this updates the existing offer instead of creating a second one — the on-chain program rejects duplicates. endTime is a Unix timestamp after which the offer lapses, and oneOfOneOnly restricts the offer to 1/1s.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Makes an offer (bid) on an artwork, escrowing the funds on-chain when the transaction confirms. If the buyer already has an open offer on this mint, the offer is updated rather than duplicated.

Response Body

application/json

application/json

application/json

application/json

application/json

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