diff options
author | Yigit Sever | 2021-04-16 15:30:59 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-16 15:30:59 +0300 |
commit | 0f67c6c79325078ad71f666915c065d15d417814 (patch) | |
tree | fc6c453e11cc5a599d98e61abc2fb9abfe078b17 /site/public/block-docs/index.html | |
parent | a59cfa83f5a45564548ce553a524c448f818f4e3 (diff) | |
download | gradecoin-0f67c6c79325078ad71f666915c065d15d417814.tar.gz gradecoin-0f67c6c79325078ad71f666915c065d15d417814.tar.bz2 gradecoin-0f67c6c79325078ad71f666915c065d15d417814.zip |
Improve register documentation
Diffstat (limited to 'site/public/block-docs/index.html')
-rw-r--r-- | site/public/block-docs/index.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/site/public/block-docs/index.html b/site/public/block-docs/index.html index de4d4e2..3c5ed1d 100644 --- a/site/public/block-docs/index.html +++ b/site/public/block-docs/index.html | |||
@@ -27,6 +27,7 @@ | |||
27 | <link rel="stylesheet" href="https://gradecoin.xyz/juice.css"> | 27 | <link rel="stylesheet" href="https://gradecoin.xyz/juice.css"> |
28 | 28 | ||
29 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" /> | 29 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" /> |
30 | <link rel="stylesheet" href="/site.css" /> | ||
30 | 31 | ||
31 | </head> | 32 | </head> |
32 | 33 | ||
@@ -91,6 +92,11 @@ | |||
91 | </div> | 92 | </div> |
92 | 93 | ||
93 | 94 | ||
95 | <div class="toc-item"> | ||
96 | <a class="subtext" href="https://gradecoin.xyz/block-docs/#hash">Hash</a> | ||
97 | </div> | ||
98 | |||
99 | |||
94 | </div> | 100 | </div> |
95 | </div> | 101 | </div> |
96 | 102 | ||
@@ -114,7 +120,8 @@ hash (24 bytes).</p> | |||
114 | nonce: unsigned 32-bit integer | 120 | nonce: unsigned 32-bit integer |
115 | timestamp: ISO 8601 <date>T<time> | 121 | timestamp: ISO 8601 <date>T<time> |
116 | hash: String | 122 | hash: String |
117 | </span></code></pre> | 123 | </span></code></pre><h1 id="hash">Hash</h1> |
124 | <p><code>tha</code> field in <a href="/jwt">jwt documentation</a> in fact stands for "The Hash", in the case of a post request for a block, you need to use hash field of the block. </p> | ||
118 | <p><a href="https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations">ISO 8601 Reference</a></p> | 125 | <p><a href="https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations">ISO 8601 Reference</a></p> |
119 | 126 | ||
120 | 127 | ||