Get raw exchanges
GET /iou/exchanges/{base}/{counter}
Retrieve Exchanges for a given currency pair over time.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”-
Base currency of the pair as
issuer address
, followed by_
and thecurrency code
. (OrXAH
with no issuer) -
Examples:
XAH
orrEvernodee8dJLaFsujS6q1EiXvZYmHXr8_EVR
-
Counter currency of the pair as
issuer address
, followed by_
and acurrency code
. (OrXAH
with no issuer) -
Examples:
XAH
orrEvernodee8dJLaFsujS6q1EiXvZYmHXr8_EVR
Query Parameters
Section titled “Query Parameters ”-
Xahau Network address to use as filter.
-
The given address is used as filter on the fields:
buyer
,seller
,provider
andtaker
-
Filters results
no earlier
than the specified date time. -
Format: ‘1970-01-01T00:00:00Z’
-
Filters results
no later
than the specified date time. -
Format: ‘1970-01-01T00:00:00Z’
- Only include exchanges with the requested minimal base volume.
- Only include exchanges with the requested minimal counter volume.
- If true, return results in reverse chronological order by timestamp.
- Skip a defined number of entries.
-
Limit the entries in the response.
-
Higher values result in slower response times!
Responses
Section titled “ Responses ”Success response
-
base_amount
= The amount of the base currency that was traded -
counter_amount
= The amount of the counter currency that was traded -
rate
= The amount of the counter currency acquired per 1 unit of the base currency -
buyer
= The account that acquired the base currency -
seller
= The account that acquired the counter currency -
provider
= The account that provided liquidity for this trade via existing offers -
taker
= The account that sent the transaction and took the liquidity -
ledger_index
= The ledger that included this transaction -
tx_hash
= The identifying hash of the transaction that executed this exchange -
executed_time
= The time the exchange occurred (usually the close time of the validated ledger_index)
An object for exchange of currencies
object
The amount of the base currency that was traded
The amount of the counter currency that was traded
The amount of the counter currency acquired per 1 unit of the base currency
The account that acquired the base currency
The account that acquired the counter currency
The account that had an existing offer in the ledger
The account that sent the transaction which executed this exchange
The ledger that included this transaction
The identifying hash of the transaction that executed this exchange
The time the exchange occurred
Query input malformed
object
Headers
Section titled “Headers ”Maximum number of requests in the rate limit window.
Number of remaining request in current rate limit window.
The seconds until the current rate limit window resets.
Too Many Requests
Headers
Section titled “Headers ”Maximum number of requests in the rate limit window.
Number of remaining request in current rate limit window.
The seconds until the current rate limit window resets.