Accept offer
Builds a transaction in which seller accepts buyer's offer on asset. The asset goes to the buyer and the escrowed funds to the seller, less fees and royalties.
seller must own the asset. If they also have it listed at a fixed price, the listing is cancelled in the same transaction, except for compressed NFTs, whose listing must be cancelled first.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Accepts an offer, sending the asset to the buyer and the escrowed funds to the seller.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/offers/accept" \ -H "Content-Type: application/json" \ -d '{ "seller": "string", "buyer": "string", "asset": "string" }'{ "result": { "tx": "string", "setupTx": "string" }}Cancel offer POST
Builds a transaction cancelling buyer's offer on asset and refunding the escrowed funds. Returns 404 if there is no such offer.
Fixed-price buy POST
Builds a purchase of asset at its listed price, signed and paid for by buyer. Set maxPrice to fail rather than pay more than you expect.