Difference between revisions of "Template:Market info"

From CloakCoin Wiki
Jump to: navigation, search
Line 31: Line 31:
 
|24h Change
 
|24h Change
 
| {{#external_value:percent_change_24h}}%
 
| {{#external_value:percent_change_24h}}%
|}
 
||
 
||
 
||
 
||
 
{{#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/ext/getmoneysupply
 
|format=CSV
 
|data=supply=1
 
|cache seconds=180
 
}}
 
{{#get_web_data:
 
url=https://explorer.cloakcoin.com/api/getblockcount
 
|format=CSV
 
|data=blockcount=1
 
|cache seconds=900
 
}}
 
 
{| class="wikitable"
 
!colspan="4"|Network Statistics
 
|-
 
|colspan="3"|Difficulty
 
|{{#external_value:proof-of-stake}}
 
|-
 
|colspan="3"|Coin Supply
 
|{{#external_value:supply}}
 
|-
 
|colspan="3"|Blockcount
 
|{{#external_value:blockcount}}
 
|-
 
|}
 
 
|}
 
|}

Revision as of 22:52, 19 August 2017

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

Market 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.
24h Change Error: no local variable "percent_change_24h" was set.%