NearApi.Accounts (near_api v0.1.4)

NEAR RPC - Accounts API

Link to this section Summary

Functions

Returns account changes from transactions in a given account. Warning: Experimental

Returns basic account information

Link to this section Functions

Link to this function

account_changes(account_ids, block_id \\ nil)

Specs

account_changes(account_ids :: [String.t()], block_id :: String.t()) ::
  {:ok, body :: map()}
  | {:error,
     error_message: error_message :: String.t(), response: response :: map()}

Returns account changes from transactions in a given account. Warning: Experimental

Link to this function

view_account(account_id, block_id \\ nil)

Specs

view_account(account_id :: String.t(), block_id :: String.t()) ::
  {:ok, body :: map()}
  | {:error,
     error_message: error_message :: String.t(), response: response :: map()}

Returns basic account information