Tradehub.Fee.current_fee
You're seeing just the function
current_fee
, go back to Tradehub.Fee module for more information.
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")