Module coinnect::bittrex::utils [] [src]

Functions

deserialize_json
get_currency_enum

Return the currency enum associated with the string used by Bittrex. If no currency is found, return None

get_currency_string

Return the currency String associated with the string used by Bittrex. If no currency is found, return None

get_pair_enum

Return the Pair enum associated to the string used by Bittrex If the Pair is not supported, None is returned.

get_pair_string

Return the name associated to pair used by Bittrex If the Pair is not supported, None is returned.

parse_result

If error array is null, return the result (which can be an array, object or null) else return the error string found in array