Closed 6abd closed 11 months ago
I want to get specific data about the pair, so I make calls such as:
pair = client.get_token_pair(chain, address) # API call for dexscreener.com data dexID = pair["dexID"]
But I get the error:
TypeError: 'TokenPair' object is not subscriptable
How can I make correct calls?
I'm so dumb, I forgot to convert to json
I want to get specific data about the pair, so I make calls such as:
But I get the error:
How can I make correct calls?