Tradehub.Fee.current_fee

You're seeing just the function current_fee, go back to Tradehub.Fee module for more information.
Link to this function

current_fee(withdrawal_token)

View Source

Specs

current_fee(denom :: String.t()) ::
  {:ok, Tradehub.withdrawal_fee()} | {:error, HTTPoison.Error.t()}

Requests the current fees of the given withdrawal token denom.

Examples

iex> Tradehub.Fee.current_fee("swth")