Transaction documentation

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



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


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


source: Fingerprint
target: Fingerprint
amount: unsigned 16 bit integer
timestamp: ISO 8601 <date>T<time>


tha field in jwt documentation in fact stands for "The Hash". In the context of a transaction proposal, you need the Md5 hash of the serialized JSON representation of transaction. Serializing in this context is a simple JSON to string conversion with key, value pairs enclosed with quotation marks ("). The resulting JSON string should look something like;


Or; without any whitespace, separated with : and ,.

Transaction Rules