def pdexGetTradingToken(): """ Pdex Pairs Token --- tags: - Pdex API responses: 200: description: Get active trading token """ pdex = PdexApi(request.args) if request.method == 'GET': return {'result': pdex.getTokens()} elif request.method == 'PUT': return {'result': pdex.updateListTokens()}
def pdexGetTradingToken(): pdex = PdexApi(request.args) return pdex.getTokens()