View Source Stellar.Horizon.Trade (Elixir Stellar SDK v0.22.0)

Represents a Trade resource from Horizon API.

Summary

Types

@type t() :: %Stellar.Horizon.Trade{
  base_account: String.t() | nil,
  base_amount: String.t(),
  base_asset_code: String.t(),
  base_asset_issuer: String.t(),
  base_asset_type: String.t(),
  base_is_seller: boolean(),
  base_liquidity_pool_id: String.t() | nil,
  base_offer_id: String.t() | nil,
  counter_account: String.t() | nil,
  counter_amount: String.t(),
  counter_asset_code: String.t(),
  counter_asset_issuer: String.t(),
  counter_asset_type: String.t(),
  counter_liquidity_pool_id: String.t() | nil,
  counter_offer_id: String.t() | nil,
  id: String.t(),
  ledger_close_time: DateTime.t(),
  paging_token: String.t(),
  price: map(),
  trade_type: String.t()
}