Path Parameters
- account_idstringREQUIRED
The account id to retrieve transaction records
Query Parameters
- cursorinteger
The position of the data set to retrieve
- orderstring
The order in which transactions are retrieved. The possible values include ascending and descending order
- limitinteger
The maximum number of transactions to retrieve in a single request
Returns
- _linksobject
The links related to the account data
- selfobject
The self-reference link
- hrefstring
The URL for self-reference
- templatedboolean
A boolean value that indicates whether the link is templated or not
- nextobject
The link to the next set of data
- hrefstring
The URL for next set of data
- templatedboolean
A boolean value that indicates whether the link is templated or not
- prevobject
The link to the previous set of data
- hrefstring
The URL for previous set of data
- templatedboolean
A boolean value that indicates whether the link is templated or not
- _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 self link object with the trade
- 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 offer
- idstring
A unique identifier for the trade record
- paging_tokenstring
The paging token for the offer 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
- trade_typestring
The type of trade, which can take on one of three values: all, orderbook, or liquidity_pools
- base_offer_idstring
The ID of the offer that provided the base asset for the trade
- base_accountstring
The account ID associated with the base asset in the trade
- base_amountstring
The amount of the base asset that was traded
- base_asset_typestring
The type of the base asset
- base_asset_codestring
The code of the base asset if it's a custom asset
- base_asset_issuerstring
The issuer of the base asset if it's a custom asset
- counter_offer_idstring
The ID of the offer that provided the counter asset for the trade
- counter_accountstring
The account ID associated with the counter asset in the trade
- counter_amountstring
The amount of the counter asset that was traded
- counter_asset_typestring
The type of the counter asset
- counter_asset_codestring
The code of the counter asset if it's a custom asset
- counter_asset_issuerstring
The address of the issuer of the counter asset if it's a custom asset
- base_is_sellerboolean
A boolean indicating whether the base account is the seller in the trade
- priceobject
An object with the following fields:
- nstring
The numerator of the price fraction
- dstring
The denominator of the price fraction