Intented docs

Read the rules text by its hash

GET
/api/mandates/{text_hash}

The stored text whose sha256 is text_hash, byte for byte, so anyone can compare it with the wallet's mandate_hash. When several share it, the newest.

Path Parameters

text_hash*string

sha256, lowercase hex.

Match^[0-9a-f]{64}$

Response Body

The text

application/json
  1. response
mandate_id?string
text?string
text_hash?Hash

sha256, lowercase hex.

Match^[0-9a-f]{64}$
Example Request
curl -X GET 'https://hack.furqaannabi.com/api/mandates/string'
Example Response
{  "mandate_id": "string",  "text": "string",  "text_hash": "string"}