indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Historical Collection Floor API

Open ptrwtts opened this issue 2 years ago • 2 comments

Simple API that returns the collection floor price at a given point in time.

One complication is that we don't have direct access to this data going all the way back in time. So depending on the timestamp passed, we would use a different method for calculating the result:

  • After we got collection floor events going > fetch from this table
  • After we got token floor events going > derive collection floor from all token floors at that time
  • Otherwise, take the floor sale price for that day

ptrwtts avatar Apr 15 '22 12:04 ptrwtts