From d4533345fe1cde3e574affc32a03b4ef8e57745e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 15 Apr 2021 23:41:53 +0300 Subject: Don't actually ignore the useful public --- site/public/transaction-docs/index.html | 164 ++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 site/public/transaction-docs/index.html (limited to 'site/public/transaction-docs') diff --git a/site/public/transaction-docs/index.html b/site/public/transaction-docs/index.html new file mode 100644 index 0000000..67b9505 --- /dev/null +++ b/site/public/transaction-docs/index.html @@ -0,0 +1,164 @@ + + + + + + Transactions | Gradecoin + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + +
+ + + + + +
+
+ +
+ Requests +
+ + +
+ - GET +
+ +
+ - POST +
+ + + +
+ Fields +
+ + +
+
+ + + +
+ +
Transaction documentation
+

A transaction request between source and target to move amount Gradecoin.

+

Requests

+

GET

+

A HTTP GET request to /transaction endpoint will return the current list of pending transactions.

+

POST

+

A HTTP POST request with Authorization using JWT to /transaction will allow you to propose your own transactions.

+

Fields

+
+by: Fingerprint
+source: Fingerprint
+target: Fingerprint
+amount: unsigned 16 bit integer
+timestamp: ISO 8601 <date>T<time>
+
+ +
+ + + +
+ + + + + + + + -- cgit v1.2.3-70-g09d2