aboutsummaryrefslogtreecommitdiffstats
path: root/site/public/transaction-docs/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/public/transaction-docs/index.html')
-rw-r--r--site/public/transaction-docs/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/site/public/transaction-docs/index.html b/site/public/transaction-docs/index.html
index 4f8ef9c..593bcfe 100644
--- a/site/public/transaction-docs/index.html
+++ b/site/public/transaction-docs/index.html
@@ -126,7 +126,11 @@ target: Fingerprint
126amount: unsigned 16 bit integer 126amount: unsigned 16 bit integer
127timestamp: ISO 8601 <date>T<time> 127timestamp: ISO 8601 <date>T<time>
128</span></code></pre><h1 id="hash">Hash</h1> 128</span></code></pre><h1 id="hash">Hash</h1>
129<p><code>tha</code> field in <a href="https://gradecoin.xyz/jwt/">jwt documentation</a> in fact stands for &quot;The Hash&quot;, in the case of a post request for a transaction, you need the Md5 hash of the serialized JSON representation of transaction.</p> 129<p><code>tha</code> field in <a href="https://gradecoin.xyz/jwt/">jwt documentation</a> in fact stands for &quot;The Hash&quot;, in the case of a post request for a transaction, you need the Md5 hash of the serialized JSON representation of transaction. The resulting JSON string should look something like;</p>
130<pre style="background-color:#ffffff;">
131<code><span style="color:#545052;">{&quot;by&quot;:&quot;foo&quot;,&quot;source&quot;:&quot;bar&quot;,&quot;target&quot;:&quot;baz&quot;,&quot;amount&quot;:2,&quot;timestamp&quot;:&quot;2021-04-18T21:49:00&quot;}
132</span></code></pre>
133<p>Or; without any whitespace, separated with <code>:</code> and <code>,</code>.</p>
130<h1 id="bank">Bank</h1> 134<h1 id="bank">Bank</h1>
131<p>There is a <code>bank</code> account with Fingerprint <code>31415926535897932384626433832795028841971693993751058209749445923</code></p> 135<p>There is a <code>bank</code> account with Fingerprint <code>31415926535897932384626433832795028841971693993751058209749445923</code></p>
132<blockquote class="tidbit"> 136<blockquote class="tidbit">