Trade Response
Represents a trade response from the Horizon API.
A trade represents an exchange of assets between two parties on the Stellar network. Trades can occur between two offers (orderbook trades) or between an offer and a liquidity pool.
See also
Constructors
Types
Properties
The account ID of the base party in this trade
The amount of the base asset that was moved from base to counter
The code of the base asset (null for native)
The issuer of the base asset (null for native)
The type of asset on the base side (native, credit_alphanum4, credit_alphanum12)
Indicates which party is the seller (true if base is seller)
The liquidity pool ID for the base side (for liquidity pool trades)
The offer ID of the base account
The account ID of the counter party in this trade
The amount of the counter asset that was moved from counter to base
The code of the counter asset (null for native)
The issuer of the counter asset (null for native)
The type of asset on the counter side (native, credit_alphanum4, credit_alphanum12)
The liquidity pool ID for the counter side (for liquidity pool trades)
The offer ID of the counter account
An ISO 8601 formatted string of when the ledger with this trade was closed
HAL links related to this trade
The liquidity pool fee in basis points (for liquidity pool trades)
A cursor value for use in pagination