kodadot/snek

floor_price & average_price (null/0) on series resolver

Closed this issue · 1 comments

might come from nftEntity model (price?)

edit: interaction_eq: BUY price always 0

query:

query MyQuery {
  series {
    id
    name
    buys
    floorPrice
    averagePrice
    uniqueCollectors
    unique
    volume
    total
  }
  seriesInsightTable(dateRange: "ALL DAY") {
    id
    name
    buys
    floorPrice
    averagePrice
    highestSale
    uniqueCollectors
    unique
    volume
    total
  }
}

response:

{
  "data": {
    "series": [
      {
        "id": "1635680444",
        "name": "KODACHAINS",
        "buys": 1,
        "floorPrice": null,
        "averagePrice": 0,
        "uniqueCollectors": 1,
        "unique": 1,
        "volume": "250000000000",
        "total": 1
      },
      {
        "id": "2419912453",
        "name": "Chaos Cards ",
        "buys": 1,
        "floorPrice": null,
        "averagePrice": 0,
        "uniqueCollectors": 1,
        "unique": 1,
        "volume": "4000000000000",
        "total": 1
      },
      {
        "id": "3813476019",
        "name": "kittys",
        "buys": 5,
        "floorPrice": null,
        "averagePrice": 0,
        "uniqueCollectors": 3,
        "unique": 3,
        "volume": "2221667000000",
        "total": 5
      }
    ],
    "seriesInsightTable": [
      {
        "id": "3813476019",
        "name": "kittys",
        "buys": 5,
        "floorPrice": null,
        "averagePrice": "0.00000000000000000000",
        "highestSale": "500000000000",
        "uniqueCollectors": 3,
        "unique": 3,
        "volume": "2221667000000",
        "total": 5
      },
      {
        "id": "1635680444",
        "name": "KODACHAINS",
        "buys": 1,
        "floorPrice": null,
        "averagePrice": "0.00000000000000000000",
        "highestSale": "250000000000",
        "uniqueCollectors": 1,
        "unique": 1,
        "volume": "250000000000",
        "total": 1
      },
      {
        "id": "2419912453",
        "name": "Chaos Cards ",
        "buys": 1,
        "floorPrice": null,
        "averagePrice": "0.00000000000000000000",
        "highestSale": "4000000000000",
        "uniqueCollectors": 1,
        "unique": 1,
        "volume": "4000000000000",
        "total": 1
      }
    ]
  }
}

might need to take a look on query floor_price still null on 005 even on 3813476019 collection