ex-global


获取币种

<h1>获取币种</h1> <h2>接口描述</h2> <p>获取所有币种</p> <h2>HTTP请求</h2> <p>GET <code>/capital/allAssets</code></p> <h2>请求限流</h2> <p>-</p> <h2>请求参数</h2> <p>-</p> <h2>请求示例</h2> <h2>返回参数</h2> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>currency</td> <td>STRING</td> <td>币种名称</td> </tr> <tr> <td>fullName</td> <td>STRING</td> <td>币种全称</td> </tr> <tr> <td>type</td> <td>Integer</td> <td>币种类型 0:平台,1:主流币, 2:山寨币</td> </tr> <tr> <td>assetType</td> <td>Enum</td> <td>币种类型:CRYPTO 虚拟货币 FIAT:法币</td> </tr> <tr> <td>scale</td> <td>Integer</td> <td>币种精度</td> </tr> <tr> <td>icon</td> <td>STRING</td> <td>币种图标</td> </tr> <tr> <td>sort</td> <td>Integer</td> <td>排序</td> </tr> <tr> <td>withdrawEnable</td> <td>Boolean</td> <td>提现开关 false:未启用,true:启用</td> </tr> <tr> <td>depositEnable</td> <td>Boolean</td> <td>充值开关 false:未启用,true:启用</td> </tr> <tr> <td>transferEnable</td> <td>Boolean</td> <td>划转开关 false:未启用,true:启用</td> </tr> <tr> <td>description</td> <td>STRING</td> <td>币种描述(CRYPTO)</td> </tr> <tr> <td>ranking</td> <td>Integer</td> <td>币种排名(CRYPTO)</td> </tr> <tr> <td>officialWebsiteUrl</td> <td>STRING</td> <td>官网url(CRYPTO)</td> </tr> <tr> <td>whitePaperUrl</td> <td>STRING</td> <td>币种白皮书url(CRYPTO)</td> </tr> <tr> <td>blockExplorerUrl</td> <td>STRING</td> <td>区块链浏览器url(CRYPTO)</td> </tr> <tr> <td>circulatingSupply</td> <td>LONG</td> <td>流通数量(CRYPTO)</td> </tr> <tr> <td>maximumSupply</td> <td>LONG</td> <td>最大供应量(CRYPTO)</td> </tr> </tbody> </table> <h2>响应示例</h2> <pre><code>// 成功示例 { &amp;quot;code&amp;quot;: &amp;quot;0&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;Success&amp;quot;, &amp;quot;data&amp;quot;: [{ &amp;quot;currency&amp;quot;: &amp;quot;BTC&amp;quot;, &amp;quot;fullName&amp;quot;: &amp;quot;Bitcoin&amp;quot;, &amp;quot;type&amp;quot;: 1, &amp;quot;assetType&amp;quot;: &amp;quot;CRYPTO&amp;quot;, &amp;quot;scale&amp;quot;: 8, &amp;quot;icon&amp;quot;: &amp;quot;[https://s3.us-west-1.amazonaws.com/hi-prod1/upload/599984d3-4eb9-489f-a00b-7fffac0ea48b.png](https://s3.us-west-1.amazonaws.com/hi-prod1/upload/599984d3-4eb9-489f-a00b-7fffac0ea48b.png)&amp;quot;, &amp;quot;sort&amp;quot;: 2, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;withdrawEnable&amp;quot;: false, &amp;quot;depositEnable&amp;quot;: false, &amp;quot;transferEnable&amp;quot;: true }, { &amp;quot;currency&amp;quot;: &amp;quot;HKD&amp;quot;, fullName&amp;quot;: &amp;quot;Hong Kong Dollar&amp;quot;, &amp;quot;type&amp;quot;: 1, &amp;quot;assetType&amp;quot;: &amp;quot;FIAT&amp;quot;, &amp;quot;scale&amp;quot;: 2, &amp;quot;icon&amp;quot;: &amp;quot;[https://s3.ap-east-1.amazonaws.com/atlantis-dev1/upload/3baeac4c-9378-47ba-842d-0b2811c69019.png](https://s3.ap-east-1.amazonaws.com/atlantis-dev1/upload/3baeac4c-9378-47ba-842d-0b2811c69019.png)&amp;quot;, &amp;quot;sort&amp;quot;: 4, &amp;quot;withdrawEnable&amp;quot;: false, &amp;quot;depositEnable&amp;quot;: false, &amp;quot;transferEnable&amp;quot;: false }] }</code></pre>

页面列表

ITEM_HTML