Stellar v0.2.0 Stellar.Operations View Source

Functions for interacting with Operations

Link to this section Summary

Functions

Returns all operations

Returns all operations for given account

Returns all operations for given ledger

Gets operation details

Link to this section Functions

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

Returns all operations

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 all_for_account(accountId, params \\ []) View Source
all_for_account(binary(), Keyword.t()) :: {Stellar.status(), map()}

Returns all operations for given account

See all/1 for allowed optional params

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

Returns all operations for given ledger

See all/1 for allowed optional params

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

Gets operation details