2157 lines
71 KiB
Vue
2157 lines
71 KiB
Vue
|
<template>
|
|||
|
<div class="rate">
|
|||
|
|
|||
|
<section v-if="$isMobile" class="rateMobile">
|
|||
|
|
|||
|
<section class="rightText">
|
|||
|
<h3>{{ $t(`apiFile.file`) }}</h3>
|
|||
|
<div class="content">
|
|||
|
<h4>{{ $t(`apiFile.survey`) }}</h4>
|
|||
|
<p>{{ $t(`apiFile.survey1`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.survey2`) }}</p>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="content">
|
|||
|
<h3>{{ $t(`apiFile.apiAuthentication`) }}</h3>
|
|||
|
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication1`) }} <span @click="handelJump(`personalCenter/personalAPI`)" style="color: #651FFF;cursor: pointer;">{{ $t(`apiFile.apiAuthentication5`) }}</span> {{ $t(`apiFile.apiAuthentication6`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication2`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication3`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication4`) }}</p>
|
|||
|
<ul>
|
|||
|
<li>curl --request GET {url} \</li>
|
|||
|
<li>--header 'Content-Type: application/json' \</li>
|
|||
|
<li>--header 'API-KEY: {token}'</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="ExampleTable">
|
|||
|
<div class="title"><span>{{ $t(`apiFile.url`) }}</span> <span>{{ $t(`apiFile.explain`) }}</span></div>
|
|||
|
<div>
|
|||
|
<!-- <span>https://m2pool.com/oapi/v1/pool/watch?coin={coin}</span> -->
|
|||
|
<code>https://m2pool.com/oapi/v1/pool/watch?coin={coin}</code>
|
|||
|
<span
|
|||
|
>{{ $t(`apiFile.explain1`) }}</span
|
|||
|
>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<!-- <span
|
|||
|
>https://m2pool.com/oapi/v1/pool/
|
|||
|
hashrate_history?coin={coin}&start={yyyy-MM-dd}&end={yyyy-MM-dd
|
|||
|
}</span
|
|||
|
> -->
|
|||
|
<code>https://m2pool.com/oapi/v1/pool/
|
|||
|
hashrate_history?coin={coin}&start={yyyy-MM-dd}&end={yyyy-MM-dd
|
|||
|
}</code>
|
|||
|
<span>{{ $t(`apiFile.explain2`) }}</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="text-container">
|
|||
|
<p>{{ $t(`apiFile.explain3`) }}</p>
|
|||
|
<div class="container">
|
|||
|
<p>{</p>
|
|||
|
<p style="color:crimson">"code": {ERR_CODE},</p>
|
|||
|
<p > "msg": "{{ $t(`apiFile.explain4`) }}"</p>
|
|||
|
<p>}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="text-container">
|
|||
|
<p>{{ $t(`apiFile.explain5`) }}</p>
|
|||
|
<div class="container">
|
|||
|
<p>{</p>
|
|||
|
<p style="color:green">"code": 200,</p>
|
|||
|
<p>"data": object</p>
|
|||
|
<p>}</p>
|
|||
|
</div>
|
|||
|
<p>{{ $t(`apiFile.explain6`) }}</p>
|
|||
|
</div>
|
|||
|
<!-- 矿池信息 -->
|
|||
|
<section class="MiningPool" id="HashRate">
|
|||
|
<h3>{{ $t(`apiFile.miningPoolInformation`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinersList -->
|
|||
|
<div class="Pool" id="MinersList">
|
|||
|
<p class="hash">MinersList</p>
|
|||
|
<p>{{ $t(`apiFile.minersNum`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>total</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.totalMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>online</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>offline</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.offLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池总览 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.overviewOfMiningPool`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/watch</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>pool_fee</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.serviceCharge`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>min_pay</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minimumPaymentAmount`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>history_last_7days</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.latelyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>Double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Power24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>last_found</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.height`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 矿池当前矿工数 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.currentMiners`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#MinersList">MinersList</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimePower`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/hashrate</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }} (h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池总览历史算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.historyPower`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<!-- 挖矿账号信息 -->
|
|||
|
<section class="MiningPool" id="accountHashRate" >
|
|||
|
<h3>{{ $t(`apiFile.miningAccount`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinersList -->
|
|||
|
<div class="Pool" id="accountList">
|
|||
|
<p class="hash">MinersList</p>
|
|||
|
<p>{{ $t(`apiFile.minerData`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>total</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.totalMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>online</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>offline</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.offLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinerInfo -->
|
|||
|
<div class="Pool" id="MinerInfo">
|
|||
|
<p class="hash">MinerInfo</p>
|
|||
|
<p>{{ $t(`apiFile.stateData`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minerId`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>state</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minerStatus`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus0`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus1`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus2`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号下矿工总览 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.overviewOfMiners`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#accountList">MinersList</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 挖矿账号下所有矿工 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.allMiners`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#MinerInfo">MinerInfo</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeAccount`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_real</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- {{ $t(`apiFile.account24h`) }} -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.account24h`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#accountHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号最近24h算力(30m平均算力) -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.account24h30m`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_last24h</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#accountHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.average24h30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<!-- 矿机信息 -->
|
|||
|
<section class="MiningPool" id="minerHashRate" >
|
|||
|
<h3>{{ $t(`apiFile.miningMachineInformation`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 指定矿机实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeMiningMachine`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/miner/hashrate_real</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td >double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td >double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td >string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 指定矿机历史24h平均算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.miningMachineHistory24h`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/miner/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#minerHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td > string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 指定矿机最近24h算力(30m平均算力) -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeMiningMachine24h30m`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/miner/hashrate_last24h</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#minerHashRate">HashRate</a> </td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.average24h30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
</section>
|
|||
|
</section>
|
|||
|
|
|||
|
<section class="rateBox" v-else>
|
|||
|
<section class="leftMenu">
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<i class="iconfont icon-baogao file"></i
|
|||
|
>{{ $t(`apiFile.leftMenu`) }}
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</section>
|
|||
|
<section class="rightText">
|
|||
|
<h2>{{ $t(`apiFile.file`) }}</h2>
|
|||
|
<div class="content">
|
|||
|
<h3>{{ $t(`apiFile.survey`) }}</h3>
|
|||
|
<p>{{ $t(`apiFile.survey1`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.survey2`) }}</p>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="content">
|
|||
|
<h3>{{ $t(`apiFile.apiAuthentication`) }}</h3>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication1`) }} <span @click="handelJump(`personalCenter/personalAPI`)" style="color: #651FFF;cursor: pointer;">{{ $t(`apiFile.apiAuthentication5`) }}</span> {{ $t(`apiFile.apiAuthentication6`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication2`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication3`) }}</p>
|
|||
|
<p>{{ $t(`apiFile.apiAuthentication4`) }}</p>
|
|||
|
<ul>
|
|||
|
<li>curl --request GET {url} \</li>
|
|||
|
<li>--header 'Content-Type: application/json' \</li>
|
|||
|
<li>--header 'API-KEY: {token}'</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="ExampleTable">
|
|||
|
<div class="title"><span>{{ $t(`apiFile.url`) }}</span> <span>{{ $t(`apiFile.explain`) }}</span></div>
|
|||
|
<div>
|
|||
|
<span>https://m2pool.com/oapi/v1/pool/watch?coin={coin}</span>
|
|||
|
<span
|
|||
|
>{{ $t(`apiFile.explain1`) }}</span
|
|||
|
>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<span
|
|||
|
>https://m2pool.com/oapi/v1/pool/
|
|||
|
hashrate_history?coin={coin}&start={yyyy-MM-dd}&end={yyyy-MM-dd
|
|||
|
}</span
|
|||
|
>
|
|||
|
<span>{{ $t(`apiFile.explain2`) }}</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="text-container">
|
|||
|
<p>{{ $t(`apiFile.explain3`) }}</p>
|
|||
|
<div class="container">
|
|||
|
<p>{</p>
|
|||
|
<p style="color:crimson">"code": {ERR_CODE},</p>
|
|||
|
<p > "msg": "{{ $t(`apiFile.explain4`) }}"</p>
|
|||
|
<p>}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="text-container">
|
|||
|
<p>{{ $t(`apiFile.explain5`) }}</p>
|
|||
|
<div class="container">
|
|||
|
<p>{</p>
|
|||
|
<p style="color:green">"code": 200,</p>
|
|||
|
<p>"data": object</p>
|
|||
|
<p>}</p>
|
|||
|
</div>
|
|||
|
<p>{{ $t(`apiFile.explain6`) }}</p>
|
|||
|
</div>
|
|||
|
<!-- 矿池信息 -->
|
|||
|
<section class="MiningPool" id="HashRate">
|
|||
|
<h3>{{ $t(`apiFile.miningPoolInformation`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinersList -->
|
|||
|
<div class="Pool" id="MinersList">
|
|||
|
<p class="hash">MinersList</p>
|
|||
|
<p>{{ $t(`apiFile.minersNum`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>total</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.totalMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>online</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>offline</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.offLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池总览 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.overviewOfMiningPool`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/watch</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>pool_fee</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.serviceCharge`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>min_pay</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minimumPaymentAmount`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>history_last_7days</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.latelyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>Double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Power24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>last_found</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.height`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 矿池当前矿工数 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.currentMiners`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#MinersList">MinersList</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimePower`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/hashrate</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }} (h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 矿池总览历史算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.historyPower`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/pool/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} pool</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#HashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<!-- 挖矿账号信息 -->
|
|||
|
<section class="MiningPool" id="accountHashRate" >
|
|||
|
<h3>{{ $t(`apiFile.miningAccount`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinersList -->
|
|||
|
<div class="Pool" id="accountList">
|
|||
|
<p class="hash">MinersList</p>
|
|||
|
<p>{{ $t(`apiFile.minerData`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>total</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.totalMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>online</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.onLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>offline</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.offLineMiners`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- MinerInfo -->
|
|||
|
<div class="Pool" id="MinerInfo">
|
|||
|
<p class="hash">MinerInfo</p>
|
|||
|
<p>{{ $t(`apiFile.stateData`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minerId`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>state</td>
|
|||
|
<td>int</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.minerStatus`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus0`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus1`) }}<br>
|
|||
|
{{ $t(`apiFile.minerStatus2`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号下矿工总览 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.overviewOfMiners`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#accountList">MinersList</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 挖矿账号下所有矿工 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.allMiners`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/miners_list</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miners_list</td>
|
|||
|
<td class="active"> <a href="#MinerInfo">MinerInfo</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.eachState`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeAccount`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_real</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- {{ $t(`apiFile.account24h`) }} -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.account24h`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#accountHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 挖矿账号最近24h算力(30m平均算力) -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.account24h30m`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/account/hashrate_last24h</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} account</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#accountHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.average24h30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
|
|||
|
<!-- 矿机信息 -->
|
|||
|
<section class="MiningPool" id="minerHashRate" >
|
|||
|
<h3>{{ $t(`apiFile.miningMachineInformation`) }}</h3>
|
|||
|
<!-- HashRate -->
|
|||
|
<div class="Pool" >
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation1`) }}</p>
|
|||
|
<p class="hash">HashRate</p>
|
|||
|
<p>{{ $t(`apiFile.miningPoolInformation2`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>date</td>
|
|||
|
<td>Date</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.powerStatistics`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate</td>
|
|||
|
<td>double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.power`) }}</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 指定矿机实时算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeMiningMachine`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/miner/hashrate_real</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_realtime</td>
|
|||
|
<td >double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td >double</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.averagePower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td >string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- 指定矿机历史24h平均算力 -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.miningMachineHistory24h`) }}</p>
|
|||
|
<p class="Interface">Get /oapi/v1/miner/hashrate_history</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>start</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.start2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.start`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>end</td>
|
|||
|
<td>string</td>
|
|||
|
<td>{{ $t(`apiFile.end2`) }}</td>
|
|||
|
<td>{{ $t(`apiFile.end`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_24h</td>
|
|||
|
<td class="active"> <a href="#minerHashRate">HashRate</a></td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.historyPower24h`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td > string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- 指定矿机最近24h算力(30m平均算力) -->
|
|||
|
<div class="Pool">
|
|||
|
<p class="hash">{{ $t(`apiFile.realTimeMiningMachine24h30m`) }}</p>
|
|||
|
<p class="Interface">Post /oapi/v1/miner/hashrate_last24h</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.jurisdiction`) }} miner</p>
|
|||
|
<p class="hash">{{ $t(`apiFile.parameter`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>coin</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.currency`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>mining_user</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.accountApiKey`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>miner</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.aCertainMiner`) }}</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<p class="hash">{{ $t(`apiFile.response`) }}</p>
|
|||
|
<table border="1">
|
|||
|
<tr>
|
|||
|
<th>{{ $t(`apiFile.name`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.type`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.remarks`) }}</th>
|
|||
|
<th>{{ $t(`apiFile.Explain`) }}</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>hashrate_30m</td>
|
|||
|
<td class="active"> <a href="#minerHashRate">HashRate</a> </td>
|
|||
|
<td>repeated</td>
|
|||
|
<td>{{ $t(`apiFile.average24h30m`) }}</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>unit</td>
|
|||
|
<td>string</td>
|
|||
|
<td></td>
|
|||
|
<td>{{ $t(`apiFile.Company`) }}(h/s, kh/s, mh/s, gh/s …)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
</section>
|
|||
|
</section>
|
|||
|
</div>
|
|||
|
</template>
|
|||
|
|
|||
|
<script>
|
|||
|
export default {
|
|||
|
metaInfo: {
|
|||
|
meta: [
|
|||
|
{
|
|||
|
name: 'keywords',
|
|||
|
content: 'API 文档,认证 token,接口调用,API documentation, authentication tokens, interface calls'
|
|||
|
},
|
|||
|
{
|
|||
|
name: 'description',
|
|||
|
content:window.vm.$t(`seo.apiFile`)
|
|||
|
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
data(){
|
|||
|
return {}
|
|||
|
},
|
|||
|
mounted() {
|
|||
|
|
|||
|
},
|
|||
|
methods: {
|
|||
|
handelJump(url){
|
|||
|
const lang = this.$i18n.locale;
|
|||
|
// 移除开头的斜杠以避免双斜杠
|
|||
|
const cleanPath = url.startsWith('/') ? url.slice(1) : url;
|
|||
|
this.$router.push(`/${lang}/${cleanPath}`);
|
|||
|
}
|
|||
|
},
|
|||
|
};
|
|||
|
</script>
|
|||
|
|
|||
|
<style scoped lang="scss">
|
|||
|
// 手机端适配
|
|||
|
@media screen and (min-width: 220px) and (max-width: 1279px) {
|
|||
|
|
|||
|
.rate{
|
|||
|
background: transparent !important;
|
|||
|
min-height: 360px;
|
|||
|
}
|
|||
|
.rateMobile{
|
|||
|
padding: 10px;
|
|||
|
}
|
|||
|
.content,.ExampleTable,.text-container,.MiningPool{
|
|||
|
margin-top: 18px;
|
|||
|
font-size: 0.9rem;
|
|||
|
p{
|
|||
|
font-size: 0.9rem;
|
|||
|
margin-top: 5px;
|
|||
|
}
|
|||
|
li{
|
|||
|
font-size: 0.9rem;
|
|||
|
}
|
|||
|
div{
|
|||
|
font-size: 0.9rem;
|
|||
|
}
|
|||
|
span{
|
|||
|
font-size: 0.9rem;
|
|||
|
}
|
|||
|
|
|||
|
table {
|
|||
|
border-collapse: collapse; /* 确保边框合并为单一线条 */
|
|||
|
margin-top: 8px;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
table,
|
|||
|
th,
|
|||
|
td {
|
|||
|
border: 1px solid #808080; /* 灰色实线边框 */
|
|||
|
font-size: 0.9rem;
|
|||
|
padding: 5px;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
.active{
|
|||
|
font-weight: 600;
|
|||
|
background:#F2ECF6;
|
|||
|
cursor: pointer;
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
.rate {
|
|||
|
width: 100%;
|
|||
|
|
|||
|
background: #fff;
|
|||
|
background-image: url(../../assets/img/miningAccount/top.png);
|
|||
|
background-size: 100% 50%;
|
|||
|
background-repeat: no-repeat;
|
|||
|
background-position: 30% -15%;
|
|||
|
padding: 0;
|
|||
|
margin: 0;
|
|||
|
padding-top: 20px;
|
|||
|
}
|
|||
|
a{
|
|||
|
transition: 0.3s all;
|
|||
|
}
|
|||
|
.rateBox {
|
|||
|
width: 75%;
|
|||
|
height: 830px;
|
|||
|
margin: 0 auto;
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
|
|||
|
border-radius: 8px;
|
|||
|
overflow: hidden;
|
|||
|
padding: 20px;
|
|||
|
transition: 0.3s linear;
|
|||
|
|
|||
|
.leftMenu {
|
|||
|
min-width: 240px;
|
|||
|
text-align: center;
|
|||
|
margin-right: 2%;
|
|||
|
padding-top: 50px;
|
|||
|
// background: rgba(0, 0, 0, 0.6);
|
|||
|
border-radius: 10px;
|
|||
|
background: #fff;
|
|||
|
box-shadow: 0px 0px 8px 2px #ccc;
|
|||
|
|
|||
|
ul {
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
padding: 0;
|
|||
|
margin: 0;
|
|||
|
li {
|
|||
|
list-style: none;
|
|||
|
min-height: 40px;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
width: 90%;
|
|||
|
margin-top: 10px;
|
|||
|
border-radius: 5px;
|
|||
|
background: rgba(210, 195, 234, 0.3);
|
|||
|
color: #000;
|
|||
|
cursor: pointer;
|
|||
|
.file {
|
|||
|
margin-right: 5px;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
.rightText {
|
|||
|
flex: 1;
|
|||
|
// width: 80%;
|
|||
|
background: #fff;
|
|||
|
padding: 50px;
|
|||
|
box-shadow: 0px 0px 8px 2px #ccc;
|
|||
|
height: 100%;
|
|||
|
overflow-y: auto;
|
|||
|
.Interface{
|
|||
|
height: 50px;
|
|||
|
line-height: 50px;
|
|||
|
background: #F7F7F7;
|
|||
|
padding-left: 10px;
|
|||
|
}
|
|||
|
.tableTitle {
|
|||
|
width: 90%;
|
|||
|
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
height: 60px;
|
|||
|
background: #d2c3ea;
|
|||
|
span {
|
|||
|
display: inline-block;
|
|||
|
width: calc(100% / 5);
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
}
|
|||
|
.content {
|
|||
|
margin-top: 30px;
|
|||
|
h3 {
|
|||
|
margin-bottom: 20px;
|
|||
|
}
|
|||
|
p {
|
|||
|
line-height: 30px;
|
|||
|
font-size: 0.95rem;
|
|||
|
}
|
|||
|
ul {
|
|||
|
padding: 20px;
|
|||
|
padding-left: 20px;
|
|||
|
background: #f7f7f7;
|
|||
|
font-size: 0.9rem;
|
|||
|
li {
|
|||
|
// list-style-type: disc;
|
|||
|
margin-top: 8px;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
.ExampleTable {
|
|||
|
background: #f7f7f7;
|
|||
|
width: 100%;
|
|||
|
padding-left: 10px;
|
|||
|
padding-bottom: 20px;
|
|||
|
|
|||
|
.title {
|
|||
|
height: 35px;
|
|||
|
line-height: 35px;
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
div {
|
|||
|
width: 75%;
|
|||
|
display: flex;
|
|||
|
height: 120px;
|
|||
|
font-size: 0.9rem;
|
|||
|
align-items: center;
|
|||
|
|
|||
|
span {
|
|||
|
width: 100%;
|
|||
|
border: 1px solid rgba(0, 0, 0, 0.3);
|
|||
|
height: 100%;
|
|||
|
// line-height: 30px;
|
|||
|
padding-left: 10px;
|
|||
|
// background: goldenrod;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
.text-container {
|
|||
|
margin-top: 15px;
|
|||
|
p {
|
|||
|
margin-top: 10px;
|
|||
|
font-size: 0.95rem;
|
|||
|
}
|
|||
|
.container {
|
|||
|
background: #f7f7f7;
|
|||
|
padding-left: 10px;
|
|||
|
}
|
|||
|
}
|
|||
|
.MiningPool {
|
|||
|
margin-top: 50px;
|
|||
|
font-size: 0.95rem;
|
|||
|
.Pool{
|
|||
|
margin-top: 20px;
|
|||
|
p{
|
|||
|
margin-top: 8px;
|
|||
|
}
|
|||
|
.hash{
|
|||
|
font-weight: 600;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
.active{
|
|||
|
font-weight: 600;
|
|||
|
background:#F2ECF6;
|
|||
|
cursor: pointer;
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
|
|||
|
table {
|
|||
|
border-collapse: collapse; /* 确保边框合并为单一线条 */
|
|||
|
margin-top: 8px;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
table,
|
|||
|
th,
|
|||
|
td {
|
|||
|
border: 1px solid #808080; /* 灰色实线边框 */
|
|||
|
font-size: 0.95rem;
|
|||
|
}
|
|||
|
td{
|
|||
|
padding: 5px;
|
|||
|
min-width: 160px;
|
|||
|
height: 40px;
|
|||
|
text-align: center;
|
|||
|
font-size: 0.9rem;
|
|||
|
|
|||
|
}
|
|||
|
th{
|
|||
|
font-weight: bold;
|
|||
|
padding: 8px;
|
|||
|
}
|
|||
|
|
|||
|
tr:nth-child(odd) {
|
|||
|
background-color: #F7F7F7;
|
|||
|
}
|
|||
|
/* 为偶数行设置背景色 */
|
|||
|
tr:nth-child(even) {
|
|||
|
background-color: #ffffff;
|
|||
|
}
|
|||
|
|
|||
|
/* 第一行背景色 */
|
|||
|
tr:first-child {
|
|||
|
background-color: #ffffff;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
</style>
|