jediswaplabs/jediswap-v2-interface

Batch request for token balances

Opened this issue · 1 comments

Description

This is related to #193
If I understand correctly, in the v1 version, we got all balances with one network request in a batch. And in v2, we requested each token balance with a separate network request, which is less efficient.

because we were using multi-call contracts earlier to perform a lot of operations, and we don't use them anymore in v2. We rely RPCs