獲取幣種列表
返回幣種詳情列表。
TIP
並不是所有的幣種可以用於交易
HTTP請求
GET /api/v3/currencies
請求示例
GET /api/v3/currencies
{
"code": "200000",
"data": [
{
"isMarginEnabled" : true,
"chains" : [
{
"contractAddress" : "",
"maxWithdraw" : null,
"preConfirms" : 1,
"depositMinSize" : "0.0002",
"withdrawPrecision" : 8,
"withdrawalMinFee" : "0.0005",
"chainName" : "BTC",
"confirms" : 3,
"withdrawalMinSize" : "0.001",
"maxDeposit" : null,
"needTag" : false,
"withdrawFeeRate" : "0",
"chainId" : "btc",
"isWithdrawEnabled" : true,
"isDepositEnabled" : true
},
{
"contractAddress" : "",
"maxWithdraw" : null,
"preConfirms" : 1,
"depositMinSize" : "0.00001",
"withdrawPrecision" : 8,
"withdrawalMinFee" : "0.000015",
"chainName" : "Lightning Network",
"confirms" : 1,
"withdrawalMinSize" : "0.00001",
"maxDeposit" : "0.03",
"needTag" : false,
"withdrawFeeRate" : "0",
"chainId" : "btcln",
"isWithdrawEnabled" : true,
"isDepositEnabled" : true
},
{
"contractAddress" : "0xfa93c12cd345c658bc4644d1d4e1b9615952258c",
"maxWithdraw" : null,
"preConfirms" : 20,
"depositMinSize" : null,
"withdrawPrecision" : 8,
"withdrawalMinFee" : "0.00002",
"chainName" : "KCC",
"confirms" : 20,
"withdrawalMinSize" : "0.0008",
"maxDeposit" : null,
"needTag" : false,
"withdrawFeeRate" : "0",
"chainId" : "kcc",
"isWithdrawEnabled" : true,
"isDepositEnabled" : true
},
{
"contractAddress" : "",
"maxWithdraw" : null,
"preConfirms" : 2,
"depositMinSize" : "0.0002",
"withdrawPrecision" : 8,
"withdrawalMinFee" : "0.0005",
"chainName" : "BTC-Segwit",
"confirms" : 2,
"withdrawalMinSize" : "0.0008",
"maxDeposit" : null,
"needTag" : false,
"withdrawFeeRate" : "0",
"chainId" : "bech32",
"isWithdrawEnabled" : false,
"isDepositEnabled" : true
}
],
"contractAddress" : null,
"isDebitEnabled" : true,
"fullName" : "Bitcoin",
"precision" : 8,
"currency" : "BTC",
"name" : "BTC",
"confirms" : null
},.....
]
}
請求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 | 提現最大手續費(部分幣種有此字段,默認為空) |
withdrawPrecision | 提現精度位,表示提幣數量小數點后可支持的最大長度 |
needTag | 是否需要memo/tag |
maxWithdraw | 單次提現最大數量 |
maxDeposit | 單次充值最大數量(僅適用於閃電網絡) |
幣種標識(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去查詢該幣種。