dparlevliet / node.bittrex.api

Node Bittrex API is an asynchronous node.js library for the Bittrex API, the data can be received either via GET request or Stream.
MIT License
253 stars 100 forks source link

how to use the API functions in a function #73

Closed denigada closed 6 years ago

denigada commented 6 years ago

I'm trying to get the BTC balance but this does not seem to work. Can someone help? It gets undefined.

screen shot 2017-11-28 at 4 55 44 pm

dparlevliet commented 6 years ago

you need to wrap it in a promise