Bittrex v3.0.0-alpha.2 Bittrex.Currencies View Source

Implements /currencies endpoints.

Link to this section Summary

Functions

List currencies with optional health info

Retrieve info on a specified currency

Link to this section Functions

Link to this function

get_currencies(client) View Source
get_currencies(%Bittrex.Client{
  api_key: term(),
  api_secret: term(),
  sub_account_id: term()
}) ::
  StrawHat.Response.t(
    [
      %Bittrex.Currency{
        base_address: term(),
        coin_type: term(),
        is_international: term(),
        min_confirmations: term(),
        name: term(),
        notice: term(),
        status: term(),
        symbol: term(),
        tx_fee: term()
      }
    ],
    Bittrex.Client.error()
  )

List currencies with optional health info.

Link to this function

get_currency(client, currency_symbol) View Source
get_currency(
  %Bittrex.Client{api_key: term(), api_secret: term(), sub_account_id: term()},
  String.t()
) ::
  StrawHat.Response.t(
    %Bittrex.Currency{
      base_address: term(),
      coin_type: term(),
      is_international: term(),
      min_confirmations: term(),
      name: term(),
      notice: term(),
      status: term(),
      symbol: term(),
      tx_fee: term()
    },
    Bittrex.Client.error()
  )

Retrieve info on a specified currency.