Tradehub.Account.profile

You're seeing just the function profile, go back to Tradehub.Account module for more information.

Specs

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

Get profile from a TradeHub Wallet.

Examples

iex> Tradehub.Account.profile("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")
{:ok,
  %{
    address: "tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t",
    last_seen_block: "0",
    last_seen_time: "1970-01-01T00:00:00Z",
    twitter: "",
    username: ""
  }}

iex> Tradehub.Account.profile!("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")