거래
GET/api/v1/dex/trade
지정된 exchange와 symbol의 과거 DEX 거래 데이터를 조회합니다.
요청
쿼리 파라미터
chain stringrequired
체인
exchange stringrequired
거래소
pool stringrequired
풀
from string
시작 시각
to string
종료 시각
page integer
페이지 번호
Default value:
1limit integer
페이지 크기
Default value:
1000sort string
Possible values: [asc, desc]
정렬
Default value:
asc헤더 파라미터
X-DTMX-APIKEY stringrequired
DataMaxi+ API 키
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
chain string
data
object[]
b integer
블록 번호
base string
base
bq number
base 단위 기준 base 수량
d integer
날짜 및 시각
i integer
로그 인덱스
Example:
21m string
메이커
p number
quote 단위 가격
qq number
base 단위 기준 quote 수량
quote string
quote
s string
심볼
t string
타입 (buy, sell, deposit, withdrawal)
tokenId string
tokenId
tx string
트랜잭션 해시
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는 에러 메시지를 나타냅니다
{
"error": "string"
}
인증 실패
- application/json
- Schema
- Example (from schema)
Schema
error string
error는 에러 메시지를 나타냅니다
{
"error": "string"
}
서버 오류
- application/json
- Schema
- Example (from schema)
Schema
error string
error는 에러 메시지를 나타냅니다
{
"error": "string"
}
Loading...