Tradehub.Statistics (Tradehub v0.1.7) View Source

This module uses to fetch profits information of the chain.

Link to this section Summary

Functions

Get rich list of a specific token

Get top returns profit of the given market

Link to this section Functions

Specs

rich_list(String.t()) ::
  {:ok, [Tradehub.rich_holder()]} | {:error, HTTPoison.Error.t()}

Get rich list of a specific token

Examples

iex> Tradehub.Statistics.rich_list("swth")
This function is deprecated. This function is not working yet.

Specs

top_r_profits(String.t()) :: {:ok, String.t()}

Get top returns profit of the given market

Examples

iex> Tradehub.Statistics.top_r_profits("swth_eth1")