This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Fetch Transaction Information by Tag
Yang Hau edited this page Jun 15, 2020
·
9 revisions
Explore transaction information with given transaction tag. This would return a transaction object list in json format instead of raw trytes. The maximum response transaction object number is 100 transaction objects. The cclient in iota.c is not able to afford too many requested transaction hashes in get_trytes
API.
Tag is 27-trytes characters, e.g.
POWEREDBYTANGLEACCELERATOR9
GET /tag/<transaction tag>
[
{
"hash": "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
"signature_and_message_fragment": "ZBCDKDTCFDTCSCEAQCMDEAHDPCBDVC9DTCRAPCRCRCTC9DTCFDPCHDCDFD99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",
"address": "POWEREDBYTANGLEACCELERATOR9999999999999999999999999999999999999999999999999999999",
"value": 0,
"obsolete_tag": "JVWEREDBYTANGLEACCELERATOR9",
"timestamp": 1553152590683,
"current_index": 0,
"last_index": 0,
"bundle_hash": "OULAGFKDOFDJILVVW9QTZXLTODAZPTHXBNPEKWGYJWAAUETEJJTANLRXJZ9HEDJWJHNTXHLHXNJUINZBZ",
"trunk_transaction_hash": "EIZYHREBPTASWGHTRYCT9WZGSGXCGLPQRUZGDCRHGHVRST9URTKMSUHJXAVUWCFYFGTW9NFJJQRTZ9999",
"branch_transaction_hash": "XXUZDQVYMWJZPUUHMRYDGULBDOJFJVTPEHVBJYETKWLTMQUGCCDIWVFBNMXJSBCYBJGHQ9UIDDHK99999",
"tag": "POWEREDBYTANGLEACCELERATOR9",
"attachment_timestamp": 1553152593300,
"attachment_timestamp_lower_bound": 0,
"attachment_timestamp_upper_bound": 3812798742493,
"nonce": "P999999999IIDB9999999999999"
}
]
$ curl http://node.deviceproof.org:5566/tag/POWEREDBYTANGLEACCELERATOR9 \
-X GET
[
{
"hash": "JDXAQAWQQKCYHEJXDJQAVQIJM9NBRF9ZNL9DVNJQVRVSENYPEN9XLZP9SIFVHUDIPOVOPLJLLJUY99999",
"signature_and_message_fragment": "ZBCDKDTCFDTCSCEAQCMDEAHDPCBDVC9DTCRAPCRCRCTC9DTCFDPCHDCDFD99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",
"address": "POWEREDBYTANGLEACCELERATOR9999999999999999999999999999999999999999999999999999999",
"value": 0,
"obsolete_tag": "JVWEREDBYTANGLEACCELERATOR9",
"timestamp": 1553152590683,
"current_index": 0,
"last_index": 0,
"bundle_hash": "OULAGFKDOFDJILVVW9QTZXLTODAZPTHXBNPEKWGYJWAAUETEJJTANLRXJZ9HEDJWJHNTXHLHXNJUINZBZ",
"trunk_transaction_hash": "EIZYHREBPTASWGHTRYCT9WZGSGXCGLPQRUZGDCRHGHVRST9URTKMSUHJXAVUWCFYFGTW9NFJJQRTZ9999",
"branch_transaction_hash": "XXUZDQVYMWJZPUUHMRYDGULBDOJFJVTPEHVBJYETKWLTMQUGCCDIWVFBNMXJSBCYBJGHQ9UIDDHK99999",
"tag": "POWEREDBYTANGLEACCELERATOR9",
"attachment_timestamp": 1553152593300,
"attachment_timestamp_lower_bound": 0,
"attachment_timestamp_upper_bound": 3812798742493,
"nonce": "P999999999IIDB9999999999999"
}
]
Copyright (C) 2018-2020 BiiLabs Co., Ltd. and Contributors.
- Address
- Tag
- Transaction
- Tips (deprecated)