獲取幣種列表
返回幣種詳情列表。
TIP
並不是所有的幣種可以用於交易
HTTP請求
GET /api/v3/currencies
請求示例
GET /api/v3/currencies
{
"code": "200000",
"data": [
{
"currency": "BTC",
"name": "BTC",
"fullName": "Bitcoin",
"precision": 8,
"confirms": null,
"contractAddress": null,
"isMarginEnabled": true,
"isDebitEnabled": true,
"chains": [
{
"chainName" : "BTC",
"withdrawalMinFee" : "0.001",
"withdrawalMinSize" : "0.0012",
"withdrawFeeRate" : "0",
"depositMinSize" : "0.0002",
"isWithdrawEnabled" : true,
"isDepositEnabled" : true,
"preConfirms" : 1,
"contractAddress" : "",
"chainId" : "btc",
"confirms" : 3
},
{
"chainName" : "KCC",
"withdrawalMinFee" : "0.00002",
"withdrawalMinSize" : "0.0008",
"withdrawFeeRate" : "0",
"depositMinSize" : null,
"isWithdrawEnabled" : true,
"isDepositEnabled" : true,
"preConfirms" : 20,
"contractAddress" : "0xfa93c12cd345c658bc4644d1d4e1b9615952258c",
"chainId" : "kcc",
"confirms" : 20
},
{
"chainName" : "BTC-Segwit",
"withdrawalMinFee" : "0.0005",
"withdrawalMinSize" : "0.0008",
"withdrawFeeRate" : "0",
"depositMinSize" : "0.0002",
"isWithdrawEnabled" : false,
"isDepositEnabled" : true,
"preConfirms" : 2,
"contractAddress" : "",
"chainId" : "bech32",
"confirms" : 2
}
]
}
]
}
請求URL
此接口支持現貨URL
頻率限制
公有类权重
:10
返回值
字段 | 含義 |
---|---|
currency | 幣種唯一標識,不會改變 |
name | 幣種名,可變更 |
fullName | 幣種全稱,可變更 |
precision | 幣種精度 |
confirms | 區塊鏈確認數 |
contractAddress | 合約地址 |
isMarginEnabled | 是否支持槓桿 |
isDebitEnabled | 是否支持借貸 |
chains | chain列表 |
chainId | 幣種chain |
chainName | 幣種chain名字 |
depositMinSize | 充值最小值 |
depositFeeRate | 充值手續費率(部分幣種有此字段,默認為空) |
withdrawalMinSize | 提現最小值 |
withdrawalMinFee | 提現最小手續費 |
isWithdrawEnabled | 是否可提現 |
isDepositEnabled | 是否可充值 |
confirms | 區塊鏈確認數 |
preConfirms | 提前上帳區塊確認數 |
withdrawFeeRate | 提現手續費率 |
withdrawMaxFee | 提現最大手續費(部分幣種有此字段,默認為空) |
幣種標識(currency code)
幣種標識(code)均符合 ISO 4217 的標準,不符合ISO 4217標準中無法標識的幣種,將採取自定義標識。
Code | 含義 |
---|---|
BTC | Bitcoin |
ETH | Ethereum |
KCS | Kucoin Shares |
返回值中的currency是不會改變的,而name、fullname、precision等都可能會變動,當一個幣種更換name時,您仍可以使用currency去獲取該幣種的信息。
例如:XRB更名後變爲Nano,但它的currency仍然是XRB,而它的name變更爲Nano,此時您仍然需要通過XRB去查詢該幣種。