Please help to find out a possible solutions to the following problem:
For a dedicated "Minimal Balance" service one would need to know a number of
account entries among which there are Offers (
(2 + # of entries) × base reserve).
How is it possible to get a full list of Offers,
given that some offer-effecting-transactions are "in-flight" and not yet visible via the Horizon API.
Such a "Minimal Balance" service has:
- All transactions for an account, where some of them might not be submitted to the network yet (with unique ids attached to each transaction as a Memo)
- Access to the Horizon API, including a list of open orders.
How is it possible to correlate transaction ids from 1) with offers from 2) in order not to count them twice?