diff options
Diffstat (limited to 'site/public/transaction-docs/index.html')
| -rw-r--r-- | site/public/transaction-docs/index.html | 47 |
1 files changed, 42 insertions, 5 deletions
diff --git a/site/public/transaction-docs/index.html b/site/public/transaction-docs/index.html index 1b85931..6550a96 100644 --- a/site/public/transaction-docs/index.html +++ b/site/public/transaction-docs/index.html | |||
| @@ -66,15 +66,52 @@ | |||
| 66 | 66 | ||
| 67 | 67 | ||
| 68 | 68 | ||
| 69 | |||
| 70 | <div class="toc"> | ||
| 71 | <div class="toc-sticky"> | ||
| 72 | |||
| 73 | <div class="toc-item"> | ||
| 74 | <a class="subtext" href="https://gradecoin.xyz/transaction-docs/#requests">Requests</a> | ||
| 75 | </div> | ||
| 76 | |||
| 77 | |||
| 78 | <div class="toc-item-child"> | ||
| 79 | <a class="subtext" href="https://gradecoin.xyz/transaction-docs/#get"><small>- GET</small></a> | ||
| 80 | </div> | ||
| 81 | |||
| 82 | <div class="toc-item-child"> | ||
| 83 | <a class="subtext" href="https://gradecoin.xyz/transaction-docs/#post"><small>- POST</small></a> | ||
| 84 | </div> | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | <div class="toc-item"> | ||
| 89 | <a class="subtext" href="https://gradecoin.xyz/transaction-docs/#fields">Fields</a> | ||
| 90 | </div> | ||
| 91 | |||
| 92 | |||
| 93 | </div> | ||
| 94 | </div> | ||
| 95 | |||
| 96 | |||
| 69 | 97 | ||
| 70 | <div class="content text"> | 98 | <div class="content text"> |
| 71 | 99 | ||
| 72 | <div class="heading-text">Transaction documentation</div> | 100 | <div class="heading-text">Transaction documentation</div> |
| 73 | <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod | 101 | <p>A transaction request between <code>source</code> and <code>target</code> to move <code>amount</code> Gradecoin.</p> |
| 74 | tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At | 102 | <h1 id="requests">Requests</h1> |
| 75 | vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd | 103 | <h2 id="get">GET</h2> |
| 76 | ubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p> | 104 | <p>A HTTP <code>GET</code> request to <a href="/transaction">/transaction</a> endpoint will return the current list of pending transactions.</p> |
| 77 | 105 | <h2 id="post">POST</h2> | |
| 106 | <p>A HTTP <code>POST</code> request with Authorization using JWT to <a href="/transactions">/transaction</a> will allow you to propose your own transactions.</p> | ||
| 107 | <h1 id="fields">Fields</h1> | ||
| 108 | <pre style="background-color:#ffffff;"> | ||
| 109 | <code><span style="color:#545052;">by: Fingerprint | ||
| 110 | source: Fingerprint | ||
| 111 | target: Fingerprint | ||
| 112 | amount: unsigned 16 bit integer | ||
| 113 | timestamp: ISO 8601 <date>T<time> | ||
| 114 | </span></code></pre> | ||
| 78 | 115 | ||
| 79 | </div> | 116 | </div> |
| 80 | 117 | ||
