OFFCHAIN-MARKETPLACE

Create a new marketplace listing

Creates a new listing to sell a Zee or items on the offchain marketplace. For Zee listings, an active Soulshard is required and the creature will be locked until sold or cancelled.

post/v2/offchain-marketplace/list

Request

  • Base URL: https://api.zee-verse.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.zee-verse.com/v2/offchain-marketplace/list
  • Auth: HTTP bearer

Request body

type'zee' | 'items' required

The type of listing

itemIdstring required

Token ID of the item or unique ID of the zee

amountnumber required

The amount of items to list

pricestring required

The listing price in offchain VEE (wei)

Example request

{
  "type": "zee",
  "itemId": "2000000001",
  "amount": 5,
  "price": "1000000000000000000"
}

Response

Created listing details

idstring required

Unique identifier of the listing

type'zee' | 'items' required

Type of listing: "zee" or "items"

amountnumber required

Amount of items listed

pricestring required

Listing price in OFFCHAIN_VEE

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "type": "zee",
  "metadata": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "itemId": "2100420103",
    "name": "My Awesome Item",
    "type": "fire",
    "visual": "Zoomba"
  },
  "amount": 1,
  "price": "1000000000000000000",
  "stats": {
    "priceChange1h": -0.01,
    "priceChange24h": -0.01,
    "priceChange7d": -0.01,
    "volume": {
      "buy": "1000000000000000000",
      "sell": "1000000000000000000"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.