api view modification and circulating supply prefix change
This commit is contained in:
parent
4663bb25bf
commit
09c892df7e
@ -129,7 +129,7 @@ try {
|
||||
{
|
||||
let result; //500
|
||||
if(option == "circulating")
|
||||
result= blockDetails.coin_existence;
|
||||
result= blockDetails.coin_existence * 100000000;
|
||||
else if(option == "getblockcount")
|
||||
result= blockDetails.block_height;
|
||||
else if(option == "getdifficulty-randomx")
|
||||
|
@ -101,7 +101,8 @@
|
||||
"getblockhash" : "Nimmt einen Höhenparameter und gibt den entsprechenden Block-Hash zurück",
|
||||
"getblockheight" : "Nimmt einen Hash-Parameter und gibt die entsprechende Blockhöhe zurück.",
|
||||
"getblocktime" : "Nimmt einen Höhenparameter und gibt die unixtime des Blocks zurück.",
|
||||
"takes":"nimmt ein"
|
||||
"takes":"nimmt ein",
|
||||
"Note" : "Hinweis"
|
||||
},
|
||||
"commit-id-view": {
|
||||
"output-commit":"Output Commit",
|
||||
|
@ -101,7 +101,8 @@
|
||||
"getblockhash" : " parameter and returns corresponding block hash.",
|
||||
"getblockheight" : " parameter and returns corresponding block height.",
|
||||
"getblocktime" : " parameter and returns unixtime of the block.",
|
||||
"takes" : "takes a"
|
||||
"takes" : "takes a",
|
||||
"Note" : "Note"
|
||||
},
|
||||
"commit-id-view": {
|
||||
"output-commit":"Output Commit",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="view_content py-4">
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<h3 class="txt_primary">{{'api-view.query-api' | translate}}</h3>
|
||||
|
||||
<p class="txt_secondary">
|
||||
@ -8,12 +8,12 @@
|
||||
</p>
|
||||
<h4 class="txt_primary">{{'api-view.real-time-simple-query' | translate}}</h4>
|
||||
<ul class="txt_secondary">
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=circulating" >circulating</a></b>: {{'api-view.circulating' | translate}} </li>
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=getblockcount"> getblockcount </a></b>: {{'api-view.getblockcount' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=getdifficulty-randomx">getdifficulty-randomx</a></b>: {{'api-view.getdifficulty-randomx' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=getdifficulty-progpow">getdifficulty-progpow</a></b>: {{'api-view.getdifficulty-progpow' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=getdifficulty-cuckoo">getdifficulty-cuckoo</a></b>: {{'api-view.getdifficulty-cuckoo' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer2.epic.tech/api?q=totalcoins">totalcoins</a></b>: {{'api-view.totalcoins' | translate}}</li>
|
||||
<li><b><a target="_blank" href="./api?q=circulating" >circulating</a></b>: {{'api-view.circulating' | translate}} </li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getblockcount"> getblockcount </a></b>: {{'api-view.getblockcount' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getdifficulty-randomx">getdifficulty-randomx</a></b>: {{'api-view.getdifficulty-randomx' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getdifficulty-progpow">getdifficulty-progpow</a></b>: {{'api-view.getdifficulty-progpow' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getdifficulty-cuckoo">getdifficulty-cuckoo</a></b>: {{'api-view.getdifficulty-cuckoo' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=totalcoins">totalcoins</a></b>: {{'api-view.totalcoins' | translate}}</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="txt_primary">{{'api-view.Block-Queries' | translate}}</h4>
|
||||
@ -21,9 +21,14 @@
|
||||
{{'api-view.block-query-text' | translate}}
|
||||
</p>
|
||||
<ul class="txt_secondary">
|
||||
<li><b>getblockhash</b>: takes a <code>height</code> {{'api-view.getblockhash' | translate}}</li>
|
||||
<li><b>getblockheight</b>: takes a <code>hash</code> {{'api-view.getblockheight' | translate}}</li>
|
||||
<li><b>getblocktime</b>: takes a <code>height</code> {{'api-view.getblocktime' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getblockhash&height=1" >getblockhash</a></b>: takes a <code>height</code> {{'api-view.getblockhash' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getblockheight&hash=3933f075332670a661d2271218969770c8396a2853777d5912c9ad4797e9c7e6" >getblockheight</a></b>: takes a <code>hash</code> {{'api-view.getblockheight' | translate}}</li>
|
||||
<li><b><a target="_blank" href="https://explorer.epic.tech/api?q=getblocktime&height=2" >getblocktime</a></b>: takes a <code>height</code> {{'api-view.getblocktime' | translate}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="container">
|
||||
<h4 class="txt_primary">{{'api-view.Note' | translate}}</h4>
|
||||
<span>
|
||||
If you require another API, please request it by sending an email to <a href = "mailto:xxx@epic.tech?subject = API-Request&body = Message"> xxx@epic.tech </a></span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -639,7 +639,7 @@ export class GraphListComponent implements OnInit {
|
||||
xaxis: {
|
||||
tickangle: -45,
|
||||
tickformat: tickformat,
|
||||
fixedrange: true,
|
||||
// fixedrange: true,
|
||||
rangemode: 'nonnegative',
|
||||
domain: [domain_start, 0.9],
|
||||
// showgrid: true
|
||||
@ -1380,7 +1380,7 @@ export class GraphListComponent implements OnInit {
|
||||
xaxis: {
|
||||
tickangle: -40,
|
||||
tickformat: tickformat,
|
||||
fixedrange: true,
|
||||
// fixedrange: true,
|
||||
domain: [domain_start, 0.9]
|
||||
// showgrid: true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user