Get Orderbook

The order book endpoint is to provide a complete order book (arranged by best asks/bids) with full depth returned for a given poolID

API endpoint

/api/fetchOrderBook?poolId={poolID}

Request Samples

 GET https://verified-api.azurewebsites.net/api/fetchOrderBook?poolId=0x748acd5263c4c21dfe63f675ddb01b1ab44690a7000000000000000000000852

Response Samples

Content type

application/json

{
  "buyData": [
    {
      "bid": "5.00",
      "amountOffered": "7.00",
      "timestamp": "1686034140"
    }
  ],
  "sellData": [
    {
      "offer": "3.00",
      "amountOffered": "10.00",
      "timestamp": "1686031848"
    }
  ]
}

Last updated