staratlasmeta/factory

OrderHistory

Opened this issue · 1 comments

Problem

Using the StarAtlas/factory there seems to be no way to get a order-history atm?

Solution

Provide a function to receive the order history per asset.
Just like the getOpenOrdersForAsset() just for successful transfers.

Notes

As always thanks for your time.

@skullnbonesdao order history (as-is) would require crawling through the Solana transaction history for any given user or for the entire program which is extremely network heavy.

We have internal plans to index all historical Galactic Marketplace data in a centralized database in the future rather than supporting the above querying through direct on-chain calls since it's so inefficient - no details or timelines on that ready at this moment but more to come soon™