獲取幣種詳情
此接口,返回可交易幣種的貨幣詳細信息
HTTP請求
GET /api/v3/currencies/{currency}
請求示例
GET /api/v3/currencies/BTC
{
"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
},
"code" : "200000"
}
請求URL
此接口支持現貨URL
頻率限制
公有类权重
:3
請求參數
請求參數 | 類型 | 是否必須 | 含義 |
---|---|---|---|
currency | String | 是 | 路徑參數,幣種標識 |
chain | String | 否 | 針對一幣多鏈的幣種,可通過chain獲取幣種詳情。比如, USDT存在的鏈有 OMNI, ERC20, TRC20。 |
返回值
字段 | 含義 |
---|---|
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 | 單次充值最大數量(僅適用於閃電網絡) |