방향 목록 가져오기
get https://api.cryptomus.com/v2/user-api/convert/direction-list 복사
요구
요청 예제
curl https://api.cryptomus.com/v2/user-api/convert/direction-list \
-X GET \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
복사응답
응답 매개 변수
| 이름 | 매개 변수 유형 | 정의 |
|---|---|---|
| id | integer | 방향 ID |
| from_currency_code | string | 출발 통화 |
| from_currency_icon | string | 통화 아이콘에서 |
| from_currency_icon_png | string | 통화 아이콘 PNG에서 |
| to_currency_code | string | 도착 통화 |
| to_currency_icon | string | 통화 아이콘으로 이동 |
| to_currency_icon_png | string | 통화 아이콘 PNG |
| rate | string | 환율 |
| price | 가격 변환 | |
| base | string | 가격 기준 통화 |
| quote | string | 가격 견적 통화 |
| value | string | 가격 가치 |
| commission_percent | string | 수수료 비율 |
| min_from_amount | string | 출발 최소 금액 |
| max_from_amount | string | 출발 최대 금액 |
| min_to_amount | string | 도착 최소 금액 |
| max_to_amount | string | 도착 최대 금액 |
| amount_scale | integer | 양 척도 |
| to_amount_scale | integer | 금액 규모 |
| price_scale | integer | 가격 규모 |
| rate_change | string | 요금 변경 |
| direction | string | 방향 유형사용 가능한 옵션 :• buy• sell |
| is_allow_limit | boolean | 지정가 주문이 가능합니다. |
매개 변수 유형
integer정의
방향 ID매개 변수 유형
string정의
출발 통화매개 변수 유형
string정의
통화 아이콘에서매개 변수 유형
string정의
통화 아이콘 PNG에서매개 변수 유형
string정의
도착 통화매개 변수 유형
string정의
통화 아이콘으로 이동매개 변수 유형
string정의
통화 아이콘 PNG매개 변수 유형
string정의
환율정의
가격 변환매개 변수 유형
string정의
가격 기준 통화매개 변수 유형
string정의
가격 견적 통화매개 변수 유형
string정의
가격 가치매개 변수 유형
string정의
수수료 비율매개 변수 유형
string정의
출발 최소 금액매개 변수 유형
string정의
출발 최대 금액매개 변수 유형
string정의
도착 최소 금액매개 변수 유형
string정의
도착 최대 금액매개 변수 유형
integer정의
양 척도매개 변수 유형
integer정의
금액 규모매개 변수 유형
integer정의
가격 규모매개 변수 유형
string정의
요금 변경매개 변수 유형
string정의
방향 유형사용 가능한 옵션 :- buy- sell매개 변수 유형
boolean정의
지정가 주문이 가능합니다.
응답 예
1{
2 "state": 0,
3 "result": [
4 {
5 "id": 12,
6 "from_currency_code": "BTC",
7 "from_currency_icon": "https://cdn.cryptomus.com/icons/btc.svg",
8 "from_currency_icon_png": "https://cdn.cryptomus.com/icons/btc.png",
9 "to_currency_code": "USDT",
10 "to_currency_icon": "https://cdn.cryptomus.com/icons/usdt.svg",
11 "to_currency_icon_png": "https://cdn.cryptomus.com/icons/usdt.png",
12 "rate": "65000.00",
13 "price": {
14 "base": "BTC",
15 "quote": "USDT",
16 "value": "65000.00"
17 },
18 "commission_percent": "0.5",
19 "min_from_amount": "0.0001",
20 "max_from_amount": "10.00000000",
21 "min_to_amount": "10.00000000",
22 "max_to_amount": "650000.00000000",
23 "amount_scale": 8,
24 "to_amount_scale": 6,
25 "price_scale": 2,
26 "rate_change": "1.25",
27 "direction": "buy",
28 "is_allow_limit": true
29 }
30 ]
31}복사