Difference between revisions of "Template:Market info"

From CloakCoin Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|data=id=id,name=name,symbol=symbol,rank=rank,price_usd=price_usd,price_btc=price_btc,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=last_updated
 
|data=id=id,name=name,symbol=symbol,rank=rank,price_usd=price_usd,price_btc=price_btc,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=last_updated
 
|cache seconds=60
 
|cache seconds=60
 +
}}
 +
{{#get_web_data:
 +
url=https://explorer.cloakcoin.com/api/getdifficulty
 +
|format=json
 +
|data=proof-of-stake=proof-of-stake
 +
|cache seconds=180
 +
}}
 +
{{#get_web_data:
 +
url=https://explorer.cloakcoin.com/api/getblockcount
 +
|format=CSV
 +
|data=blockcount=1
 +
|cache seconds=900
 
}}
 
}}
 
{| style="margin: auto;"
 
{| style="margin: auto;"
Line 9: Line 21:
 
|
 
|
 
{| class="wikitable"
 
{| class="wikitable"
!colspan="2"|Market Statistics
+
!colspan="2"|CloakCoin Statistics
 
|-
 
|-
 
|Symbol
 
|Symbol
Line 28: Line 40:
 
|Total Supply
 
|Total Supply
 
|{{#external_value:available_supply}}
 
|{{#external_value:available_supply}}
 +
|-
 +
|Blockcount
 +
|{{#external_value:blockcount}}
 +
|-
 +
|Difficulty
 +
|{{#external_value:proof-of-stake}}
 
|-
 
|-
 
|24h Change
 
|24h Change
 
| {{#external_value:percent_change_24h}}%
 
| {{#external_value:percent_change_24h}}%
 
|}
 
|}

Revision as of 23:20, 22 August 2017

Error: No contents found at URL https://api.coinmarketcap.com/v1/ticker/cloakcoin/. Error: No contents found at URL https://explorer.cloakcoin.com/api/getdifficulty. Error: No contents found at URL https://explorer.cloakcoin.com/api/getblockcount.

CloakCoin Statistics
Symbol Error: no local variable "symbol" was set.
Price USD Error: no local variable "price_usd" was set.$
Price BTC Error: no local variable "price_btc" was set.
24h Volume Error: no local variable "24h_volume_usd" was set.$
Market Cap Error: no local variable "market_cap_usd" was set.$
Total Supply Error: no local variable "available_supply" was set.
Blockcount Error: no local variable "blockcount" was set.
Difficulty Error: no local variable "proof-of-stake" was set.
24h Change Error: no local variable "percent_change_24h" was set.%