go
go copied to clipboard
Offer Created, Offer Updated, Offer Removed effects
Effects Offer Created
, Offer Updated
, Offer Removed
are described in API docs, but they are not generated by the Horizon. Are there any specific reasons behind such behavior?
Those effects would be especially handy in case of historical asset price and orderbook recreation. I'm going to use historical data to implement coinmarketcap-like asset rating and trade volume history in my asset-centric block explorer. Besides, it's the only missing thing for the "time travel" feature, which will allow to view full asset/account stats for any point in timet.
Recreating active offers disposition at the particular point of time is really chalenging task without those effects implemented. Of course, I can parse raw XDR responses. However, I failed to found any solution for parsing XDR in SQL, so creating materialized view optimized for queries is not an option. On the other hand, parsing XDR outside the DB will result in additional tricky data sync with potentially stale data.
I understand that adding those effects may somewhat degrade the performance and increase Horizon DB size. So I would be very grateful if you could at least implement it as an optional feature that can be turned on by the env variable.
Thanks