Tradehub.Protocol.delegation_rewards
You're seeing just the function
delegation_rewards
, go back to Tradehub.Protocol module for more information.
Specs
delegation_rewards(String.t()) :: {:ok, Tradehub.delegation_rewards()} | {:error, HTTPoison.Error.t()}
Requests delegation rewards of the given account
Examples
iex> Tradehub.Protocol.delegation_rewards("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")
iex> Tradehub.Protocol.delegation_rewards!("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")