Query Parameters
- offer_idstring
The offer ID which serves as a filtering criterion to identify trades that originate from a particular offer
- base_asset_typestring
The type of base asset, which can take on one of three values: native, credit_alphanum4, or credit_alphanum12
- base_asset_issuerstring
The address of the base asset’s issuer
- base_asset_codestring
The code for the base asset
- counter_asset_typestring
The type of counter asset, which can take on one of three values: native, credit_alphanum4, or credit_alphanum12
- counter_asset_issuerstring
The address of the counter asset’s issuer
- counter_asset_codestring
The code for the counter asset
- trade_typestring
The type of trade, which can take on one of three values: all, orderbook, or liquidity_pools
- cursorinteger
A number that points to a specific location in a collection of responses which is pulled from the paging_token value of a record
- orderstring
The designation of the order of the records. It can be ascending or descending. By default it is set to ascending
- limitinteger
The maximum number of records returned
Returns
- _linksobject
The link object which provides links to various related resources
- selfobject
The self link object which contains the following field:
- hrefstring
A link that points to the current page of trades
- nextobject
The next link object which contains the following field:
- hrefstring
A link to the next page of trades, allowing for pagination
- prevobject
The prev link object which contains the following field:
- hrefstring
A link to the previous page of trades, enabling navigation backward
- _embeddedobject
Embedded operation object which contains the following fields:
- recordsarray
An array containing individual trades records that match the query parameters
- _linksobject
Links to related resources associated with the specific trades
- operationobject
The operation link object which contains the following field:
- hrefstring
A link to the operation associated with the trade
- selfobject
The self link object which contains the following field:
- hrefstring
A link to the detailed information about the specific trade record
- counterobject
The counter link object which contains the following field:
- hrefstring
A link to the account of the entity that received the counter asset in the trade
- baseobject
The counter link object which contains the following field:
- hrefstring
A link to the account of the entity that provided the base asset for the trade
- idstring
A unique identifier for the trade record
- paging_tokenstring
The paging token for the trade record, aiding in navigation
- ledger_close_timestring
An ISO 8601 formatted string of when the ledger with this trade was closed
- offer_idstring
The identifier for the offer that initiated the trade
- base_offer_idstring
The base offer ID
- base_accountstring
The account ID of the base party for this trade
- base_amountstring
The amount of the base asset involved in the trade
- base_asset_typestring
The type of base asset, which can take on one of three values: native, credit_alphanum4, or credit_alphanum12
- base_asset_issuerstring
The address of the base asset’s issuer
- base_asset_codestring
The code for the base asset
- counter_offer_idstring
The counter offer ID
- counter_accountinteger | string
The account ID of the base party for this trade
- counter_amountstring
The amount of the counter asset involved in the trade
- counter_asset_typestring
The type of counter asset, which can take on one of three values: native, credit_alphanum4, or credit_alphanum12
- base_is_sellerboolean
A flag indicating whether the entity with the base account is the seller in the trade
- priceobject
The price of the trade, represented as a fraction with a numerator (n) and a denominator (d)
- nstring
The numerator
- dstring
The denominator