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

Fetch Transactions Hash by Tag

TingHan Su edited this page Aug 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.

Tag is 27-trytes characters, e.g. POWEREDBYTANGLEACCELERATOR9

GET /tag/<transaction tag>/hashes

Response

[
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999"
]

Sample

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

[
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
  "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999"
]