거래
GET/api/v1/dex/trade
지정된 exchange와 symbol의 과거 DEX 거래 데이터를 조회합니다.
요청
쿼리 파라미터
chain stringrequired
Specifes chain
exchange stringrequired
Specifes exchange
pool stringrequired
Specifies pool
from string
Specifies from
to string
Specifies to
page integer
Page number
Default value:
1limit integer
Page size
Default value:
1000sort string
Possible values: [asc, desc]
Specifies sort
Default value:
asc헤더 파라미터
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
chain string
data
object[]
b integer
specifies the block number
base string
specifies the base
bq number
specifies the base quantity in base unit
d integer
specifies the data and time
i integer
specifies the log index
Example:
21m string
specifies the maker
p number
specifies the price in quote unit
qq number
specifies the quote quantity in base unit
quote string
specifies the quote
s string
specifies the symbol
t string
specifies the type (buy, sell, deposit, withdrawal)
tokenId string
specifies the tokenId
tx string
specifies the transaction hash
exchange string
from string
key string
limit integer
page integer
pool string
sort string
to string
total integer
{
"chain": "string",
"data": [
{
"b": 0,
"base": "string",
"bq": 0,
"d": 0,
"i": 21,
"m": "string",
"p": 0,
"qq": 0,
"quote": "string",
"s": "string",
"t": "string",
"tokenId": "string",
"tx": "string"
}
],
"exchange": "string",
"from": "string",
"key": "string",
"limit": 0,
"page": 0,
"pool": "string",
"sort": "string",
"to": "string",
"total": 0
}
잘못된 요청
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
인증 실패
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
서버 오류
- application/json
- Schema
- Example (from schema)
Schema
error string
error specifies the error message
{
"error": "string"
}
Loading...