Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Fetch Transactions Hash by Tag

ender503 edited this page Jul 5, 2019 · 7 revisions

Return transaction hash with given transaction tag

Explore transaction hash with the given transaction tag. This would return a transaction hash list.

GET /tag/<transaction tag>/hashes

Response

[
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999"
]

Sample

$ curl http://node.deviceproof.org:5566/tag/POWEREDBYTANGLEACCELERATOR9/hashes \
    -X GET

[
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999"
]

Clone this wiki locally