Stellar.Horizon.Collection (Elixir Stellar SDK v0.5.0) View Source

Paginates data and returns collection-based results for multiple Horizon endpoints.

Link to this section Summary

Link to this section Types

Specs

link() :: String.t()

Specs

records() :: [resource(), ...]

Specs

resource() :: module()

Specs

response() :: map()

Specs

t() :: %Stellar.Horizon.Collection{
  next: link(),
  prev: link(),
  records: records(),
  self: link()
}

Link to this section Functions

Specs

new(response :: {resource(), response()}) :: t()