indexer
indexer copied to clipboard
Historical Collection Floor API
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