According the schematic diagram as below, this tool will:
- Give a specific IOTA transaction (TXN-A)
- List all child transactions: txn(3), txn(4)
- Get the approved milestone transaction: txn(5)
- Calculate (A) IRI-depth: the depth from txn(7) to txn(4)
-
Modify the specific transaction hash on
get_txn_deep.py
:hash_transatcion = "SJXZIEIUAEIITGZEZGAGRMCFNFLYVAFC9NPQPOEP9KPGMH9UHDAXZIUD9CMRD9RXSMMVGZUDORX999999"
-
Run it
$ python3 get_txn_deep.py
-
Output
- Get milestone transaction hash:
UZDVF9WDTPDIFAVSBXPMYWWHKQIVG9GCTMKFIBVYCZRQRRAJBONYWINLAPUOIVPCDQBKLKITIZDJZ9999
- Get IRI-depth: 66878
11-10 21:17 Child transaction: KHOFZNIEQWWQWJADRUIUSVUDMVCWENNTJJDXBHHLLQFPSZJJSVYHFWHSDVQDHQGMIVFDBJYDSPGRZ9999 11-10 21:17 Child transaction: RLJERCILNQZHFATGGSFZBVLUIGK9MQ9NWAZSWZBTMQDYXX9JMREONKAHGKYZ9GKWFXLRSOLCKHYP99999 11-10 21:17 Child transaction: NALPIFMFGZTACWPLRWLBSPVJTIXAQSLLUPGY9SVRDCMICHBKGHHTHDLAOMFDTJXWGTS9VKTLDYZW99999 11-10 21:17 Child transaction: DEOOYMFPSFXZAMYWQWLZBJZMUM9ECRVQOZIHGOXCXULZZAOYXTDNFZYIXAMASMHBNDORKPKMI9DWA9999 11-10 21:17 Child transaction: UZDVF9WDTPDIFAVSBXPMYWWHKQIVG9GCTMKFIBVYCZRQRRAJBONYWINLAPUOIVPCDQBKLKITIZDJZ9999 IRI depth: 66878
- Get milestone transaction hash: