Closed paramkr2 closed 4 months ago
A separate method would be preferred get_token_pairs_async
and you have a print statement left in. Type hinting it as a generic iterable like tuple, list, etc would be more accurate as well as these would all work
I've made the following updates based on the feedback
Added a separate method get_token_pair_list_async
because get_token_pairs_async
is already used for other functionality.
Updated type hinting to be more flexible by using Iterable
instead of List
.
Dexscreen API allows fetching up to 30 pair addresses in a single request.
API Documentation Reference