MoC Stats & Charts

Embed MOC Charts on your website

Getting started

Include the scripts before the end of the </head> tag in your <HTML> document:

<head>
 ...
<script src="https://api.moneyonchain.com/static/scripts/plotly.js"></script>
<script src="https://api.moneyonchain.com/stats.js"></script>
</head>



TVL in the protocol (BTC)

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartBTC"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.btc_in_system("mocMainnet2", "chartBTC");
  </script>
<!-- END CHART -->



TVL in the protocol (USD)

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartUSD"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.usd_in_system("mocMainnet2", "chartUSD");
  </script>
<!-- END CHART -->



BPro vs. BTC

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements. Download the data in .CSV format from here.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartAll"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_all("mocMainnet2", "chartAll");
  </script>
<!-- END CHART -->



BPro vs. BTC, last year

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart1yr"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_1yr("mocMainnet2", "chart1yr");
  </script>
<!-- END CHART -->



Total tokens supply

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart_supply"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.total_supply("mocMainnet2", "chart_supply");
  </script>
<!-- END CHART -->



BPro vs. BTC, historic performance, percentage difference

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartall_diff"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_diff_all("mocMainnet2", "chartall_diff");
  </script>
<!-- END CHART -->



BPro vs. BTC, last year, percentage difference

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart1yr_diff"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_diff_1yr("mocMainnet2", "chart1yr_diff");
  </script>
<!-- END CHART -->



BPro vs. BTC, last year (mix)

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart1yr_mix"
    style="min-width:30em;width:100%;height:35em;"></div>
  <script>
    MoCChart.col_vs_pro_mix_1yr("mocMainnet2", "chart1yr_mix");
  </script>
<!-- END CHART -->



BPro vs. BTC, last 30 days

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart30d"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_30d("mocMainnet2", "chart30d");
  </script>
<!-- END CHART -->



BPro vs. BTC, last 30 days, percentage difference

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart30d_diff"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_diff_30d("mocMainnet2", "chart30d_diff");
  </script>
<!-- END CHART -->



BPro vs. BTC, last 24 hours

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart24h"
    style="width:40em;height:20em;"></div>
  <script>
    MoCChart.col_vs_pro_24h("mocMainnet2", "chart24h");
  </script>
<!-- END CHART -->



BPro, last 24 hours

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartBPro24h"
    style="width:30em;height:10em;"></div>
  <script>
    MoCChart.pro_24h("mocMainnet2", "chartBPro24h");
  </script>
<!-- END CHART -->



BTC, last 24 hours

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartBTC24h"
    style="width:30em;height:10em;"></div>
  <script>
    MoCChart.col_24h("mocMainnet2", "chartBTC24h");
  </script>
<!-- END CHART -->



BPro vs. BTC, last year (without annotations)

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chart1yr_na"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_1yr_no_annotations("mocMainnet2", "chart1yr_na");
  </script>
<!-- END CHART -->



BPro vs. BTC (without annotations)

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartall_na"
    style="min-width:30em;width:100%;height:30em;"></div>
  <script>
    MoCChart.col_vs_pro_all_no_annotations("mocMainnet2", "chartall_na");
  </script>
<!-- END CHART -->



BPro Free Leverage

To embed this graphic on your website

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div id="chartProLeverage"></div>
  <script>
    MoCChart.pro_leverage("mocMainnet2", "chartProLeverage");
  </script>
<!-- END CHART -->



Historical BPro Free Leverage

To embed this graphic on your website

The values ​​expressed in this chart are at the daily close, computing as the value of the day the median of all taken measurements.

Please copy the code below and paste it into the code of your website:

<!-- START CHART -->
  <div
    id="chartProLeverageAll"
    style="min-width:30em;width:100%;height:20em;"></div>
  <script>
    MoCChart.pro_leverage_all("mocMainnet2", "chartProLeverageAll");
  </script>
<!-- END CHART -->



Public API Rest

You can browse our public API Rest.