ハーベスト用ノードURL

symbol-node.harvest-xym.com

サイトにSymbol (XYM) ウォレットの最新バージョンを表示する

symbol tech Tech

概要

Symbol ウォレットの最新バージョンのバージョン番号を表示します。

コード

以下のコードを表示したい場所にペーストしてください。

<script>
$(function() {
 let url = "https://api.github.com/repos/nemgrouplimited/symbol-desktop-wallet/releases/latest";
 $.getJSON(url , function(data) {
   $("#walletversion").text(data.tag_name + " (" + data.published_at.substr(0,10) + ")");
 });
});
</script>
<div class="walletversion"><a href="https://github.com/nemgrouplimited/symbol-desktop-wallet/releases/latest" target="_blank" id="walletversion"></a></div>

jquery をロードしていない場合はヘッダに以下を追加します。

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

表示サンプル

タイトルとURLをコピーしました