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

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

Functions

@spec retrieve(server :: server()) :: response()

Retrieves information of the fee stats.

Parameters

  • server: The Horizon server to query.

Examples

iex> FeeStats.retrieve(Stellar.Horizon.Server.testnet())
{:ok, %FeeStat{}}