Tradehub.Fee (Tradehub v0.1.7) View Source

Link to this section Summary

Functions

Requests the current fees of the given withdrawal token denom.

Requests a lists of transaction fees that been configured for particular message types

Link to this section Functions

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")

Specs

txns_fees() :: {:ok, Tradehub.txns_fees()} | {:error, HTTPoison.Error.t()}

Requests a lists of transaction fees that been configured for particular message types

Examples

iex> Tradehub.Fee.txns_fees