DEX and Pair Trades
Returns raw trades for a specific DEX and token pair
Path Parameters
dex string required
minswap
pair string required
ADA-MIN
Query Parameters
from string
2023-04-01
to string
2023-05-15
limit integer
Possible values: >= 1
and <= 50000
Default value: 5000
10000
sort string
Possible values: [asc
, desc
]
desc
Responses
- 200
- 400
- 500
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
a_to_b integer
Direction of trade (1: Coin B received, 0: Coin A received)
coin_a_price number
Coin A price
coin_a_size number
Coin A size
coin_b_price number
Coin B price
coin_b_size number
Coin B size
dex string
DEX
pair string
Pair
receiver_address string
Receiver address
timestamp string
Trade timestamp
transaction_hash string
Transaction hash
[
{
"a_to_b": 0,
"coin_a_price": 0,
"coin_a_size": 0,
"coin_b_price": 0,
"coin_b_size": 0,
"dex": "string",
"pair": "string",
"receiver_address": "string",
"timestamp": "string",
"transaction_hash": "string"
}
]
Bad Request
application/json
Schema
Example (from schema)
Schema
error string
Error returned from the API request
{
"error": "Bad Request"
}
Server Error
application/json
Schema
Example (from schema)
Schema
error string
Error returned from the API request
{
"error": "Bad Request"
}
Loading...