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
resource() :: Stellar.Horizon.Account.t() | non_neg_integer()
Specs
response() :: {:ok, resource()} | {:error, Stellar.Horizon.Error.t()}
Link to this section Functions
Specs
fetch_next_sequence_number(account_id :: account_id()) :: response()
Specs
retrieve(account_id :: account_id()) :: response()