Cancel auction
Builds a transaction cancelling asset's auction and returning the asset to seller.
Only a no-bid auction can be cancelled. Once a bid has been placed the auction is binding and this returns 400 — use /v2/tx/auctions/settle after it ends instead.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Cancels an auction and returns the asset to the seller. Only possible while the auction has no bids — once a bid is placed the auction is binding and must be settled instead.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/auctions/cancel" \ -H "Content-Type: application/json" \ -d '{ "seller": "string", "asset": "string" }'{ "result": { "tx": "string" }}