콘텐츠로 이동

코인 체인 목록

엔드포인트: /v1/wallet/currencies

요청

필요 없음

메서드

GET

예시

Bash
curl -X GET "https://oapi.websea.com/v1/wallet/currencies"

응답 매개변수

매개변수 필수 여부 타입 예시 설명
errno 예 int 0 상태 코드
errmsg 예 string success 상태 메시지
result 예 object 예시 참조 결과 데이터

결과 필드

result 객체는 코인 심볼을 키로 가집니다.
각 값은 해당 코인에 대해 지원되는 블록체인 네트워크 목록입니다.

매개변수 필수 여부 타입 예시 설명
chain 예 string ERC20 블록체인 네트워크
withdrawEnable 예 boolean true 출금 가능 여부
depositEnable 예 boolean true 입금 가능 여부

응답 예시

JSON
{
  "errno": 0,
  "errmsg": "success",
  "result": {
    "BTC": [
      {
        "chain": "BTC",
        "withdrawEnable": false,
        "depositEnable": false
      }
    ],
    "ETH": [
      {
        "chain": "ERC20",
        "withdrawEnable": true,
        "depositEnable": true
      }
    ],
    "USDT": [
      {
        "chain": "ERC20",
        "withdrawEnable": true,
        "depositEnable": true
      },
      {
        "chain": "TRC20",
        "withdrawEnable": true,
        "depositEnable": true
      },
      {
        "chain": "BEP20",
        "withdrawEnable": false,
        "depositEnable": false
      }
    ]
  }
}