Stellar v0.2.0 Stellar.Ledgers View Source

Functions for interacting with Ledgers

Link to this section Summary

Functions

Returns all ledgers

Gets ledger details

Link to this section Functions

Link to this function all(params \\ []) View Source
all(Keyword.t()) :: {Stellar.status(), map()}

Returns all ledgers

optional params can take any of the following.:

  • cursor: A paging token, specifying where to start returning records from.

  • order: The order in which to return rows, “asc” or “desc”.

  • limit: Maximum number of records to return.

Link to this function get(id) View Source
get(binary()) :: {Stellar.status(), map()}

Gets ledger details