Stellar.Horizon.Accounts (Elixir Stellar SDK v0.3.0) View Source

Exposes functions to interact with Accounts in Horizon.

You can:

  • Retrieve an account.
  • Fetch next account sequence number.

Horizon API reference: https://developers.stellar.org/api/resources/accounts/

Link to this section Summary

Link to this section Types

Specs

account_id() :: String.t()

Specs

Specs

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

Link to this section Functions

Link to this function

fetch_next_sequence_number(account_id)

View Source

Specs

fetch_next_sequence_number(account_id :: account_id()) :: response()

Specs

retrieve(account_id :: account_id()) :: response()