list assets recipe and sample

This commit is contained in:
diminator
2017-01-03 17:50:20 +01:00
committed by tim
parent 14f22cb8af
commit 6aca7e2605
2 changed files with 50 additions and 1 deletions

View File

@@ -59,6 +59,20 @@ Content-Type: application/json
%(tx_transfer_last)s]
"""
TPLS['get-assets-request'] = """\
GET /transactions?operation=CREATE&is_asset=true&public_keys=%(public_keys)s HTTP/1.1
Host: example.com
"""
TPLS['get-assets-response'] = """\
HTTP/1.1 200 OK
Content-Type: application/json
[%(tx)s]
"""
TPLS['post-tx-request'] = """\
POST /transactions/ HTTP/1.1