View Source Stellar.Horizon.FeeStats (Elixir Stellar SDK v0.17.1)

Exposes functions to interact with FeeStats in Horizon.

You can:

  • Retrieve the fee stats.

Horizon API reference: https://developers.stellar.org/api/aggregations/fee-stats/

Summary

Functions

Retrieves information of the fee stats.

Types

@type resource() :: Stellar.Horizon.FeeStat.t()
@type response() :: {:ok, resource()} | {:error, Stellar.Horizon.Error.t()}

Functions

@spec retrieve() :: response()

Retrieves information of the fee stats.

Examples

iex> FeeStats.retrieve()
{:ok, %FeeStat{}}