Tradehub.Stream.balances
You're seeing just the function
balances
, go back to Tradehub.Stream module for more information.
Specs
balances(String.t()) :: channel_id() | {:error, reason :: any()}
Subscribes to the balances.[account]
channel of the given account to request latest balance updates.
Examples
iex> topic = Tradehub.Stream.balances("swth1fdqkq5gc5x8h6a0j9hamc30stlvea6zldprt6q")
iex> Process.info(self(), :messages)
iex> Tradehub.Stream.unsubscribe topic