7.4.1 VAPY 지갑에서 사용 가능한 디지털 통화 목록 가져오기
#간단한 설명: 사용 가능한 디지털 코인 목록 가져오기
- 요청방법 : POST
- 요청 인터페이스: https://gateway-domain/wallet-tradev2/currency/digital
- 요청 미디어 유형(JSON 데이터 형식)Content-Type: application/x-www-form-urlencoded;charset=UTF-8
쿼리 매개변수
없음
응답 JSON 예시
{
"code": 0,
"success": true,
"message": null,
"data": [{
"currency": "TRX",
"name": "trx",
"display": true,
"description": "trx的币",
"symbol": "t",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"fileUrl": "https://localfile.wallet-d ev.com/attachment/download/rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/rM44wzYk11lmiYKVzpFzh2KBSBn6h956"
}
},
{
"currency": "USDT",
"name": "泰达币",
"display": true,
"description": "泰达币",
"symbol": "₮",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"fileUrl": "https://localfile.wallet-dev.com/attachment/download/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK"
}
}]
}
응답 데이터 매개변수 설명
| 매개변수 이름 | 유형 | 매개변수 의미 | 매개변수 설명 |
|---|---|---|---|
currency | string | 통화 코드 | |
name | string | 통화명 | |
display | string | 기본적으로 표시할지 여부 | 사실 |
description | string | 화폐 소개 | |
symbol | string | 통화 기호 | |
type | string | 통화 종류 | 디지털: 디지털 통화 | 법적: 법적 통화 |
decimalPlace | number | 소수점 이하 자릿수 지원 | |
scale | number | 디스플레이 정확도 | |
logo | string | 로고 정보 | |
| └ 지드 | string | 첨부파일식별ID | |
| └ 파일URL | string | 파일 액세스 주소 | |
| └ 미리보기 URL | string | 파일 미리보기 주소 |