bitsongofficial / bitsongjs

A series of useful Javascript libraries for BitSong
Apache License 2.0
4 stars 2 forks source link

Improve query by specific Height #35

Closed DavideSegullo closed 1 year ago

DavideSegullo commented 1 year ago

Maybe we can wrap each modules, so they can return a temporary instance of itself but at a specific height.

With the advantage of not having to generate the instance of all the modules every time.

Something like:

query.bank.setHeight(<height>).AllBalances(...)