text: import pytest
  
  import tfchain
  
  from stubs.ExplorerClientStub import TFChainExplorerGetClientStub
  
  def test():
      # create a tfchain client for testnet
      c = tfchain.TFChainClient.TFChainClient(network_type="testnet")
  
      # (we replace internal client logic with custom logic as to ensure we can test without requiring an active network)
      explorer_client = TFChainExplorerGetClientStub()
      # add an unlock hash resp that does not contain an erc20 address
      explorer_client.hash_add('01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0', '{"hashtype":"unlockhash","block":{"minerpayoutids":null,"transactions":null,"rawblock":{"parentid":"0000000000000000000000000000000000000000000000000000000000000000","timestamp":0,"pobsindexes":{"BlockHeight":0,"TransactionIndex":0,"OutputIndex":0},"minerpayouts":null,"transactions":null},"blockid":"0000000000000000000000000000000000000000000000000000000000000000","difficulty":"0","estimatedactivebs":"0","height":0,"maturitytimestamp":0,"target":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"totalcoins":"0","arbitrarydatatotalsize":0,"minerpayoutcount":0,"transactioncount":0,"coininputcount":0,"coinoutputcount":0,"blockstakeinputcount":0,"blockstakeoutputcount":0,"minerfeecount":0,"arbitrarydatacount":0},"blocks":null,"transaction":{"id":"0000000000000000000000000000000000000000000000000000000000000000","height":0,"parent":"0000000000000000000000000000000000000000000000000000000000000000","rawtransaction":{"version":0,"data":{"coininputs":[],"minerfees":null}},"coininputoutputs":null,"coinoutputids":null,"coinoutputunlockhashes":null,"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},"transactions":[{"id":"08dac720ef5d877f0e40cf5eaeb49f268dad1a6d98d977854754b8e7fbd3c641","height":21610,"parent":"af67e7067d88076215ea9b6dd43c31fd3742f06b228274c8bc304e817900e9a9","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"3a000962a3b461f917d05d5253ab6eed0dbd312abf01c68178b4c429c0662360","fulfillment":{"type":2,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"ee3fa2e7a2c114d828ec1ad04e20a82df54443313e6eaddefa280c294b3436fd8cf0b81aed71ab49d66b08df205479e6860191cc41c83d4b14c899871347ff00","secret":"c8c6f62c49f8d6b9d195dc8c69ae8e2ed7b610bcc4f80ba8150edd3b8fd96eec"}}}],"coinoutputs":[{"value":"49000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"50000000000","condition":{"type":2,"data":{"sender":"01f414c817c376064b1d34422bb4c434297a14a1970368fba67fcb25ab8e952799e2f9826640ea","receiver":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","hashedsecret":"f7ba88d970e388fdfd9e5cfd147fedee30b709e87fe7d7a734f3666e08903362","timelock":1549981888}},"unlockhash":"02396cfd76e0572ee3167e8e21c7b3b3053ab246f255baea351b57fdc273d9184d919931f9cd37"}],"coinoutputids":["f42f96909b64fba812134c01c9b583fcedefd5230120fdc112d224e4444000cb"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"298b0a1d2da4ba13b3a787daea96da9e50ae6c299f6e3bea5ec3d50ee131c381","height":17740,"parent":"fa81bd33c4115e6a51f6f80107493a1b7e7591001d61948e88ef3cbb660e6fbe","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"b0e64c6e9d0d6d515856e15fcdfd869721f5b14ffc7599204f1e6ec174fb3631","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"1137db84e433980d51d66524dba5eec1c622c58099b9a1608f47293e506fa5338a0cd2d2d068506aed7de2a702025d9f7ec639ab712a1b32417677d4ab7ad50f"}}}],"coinoutputs":[{"value":"20000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"2c9b9fda14a1319a9c391d1f87df0333f56cf6804222bfd7c29d03829e0fa3b0","timelock":1549710071}}},{"value":"28000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"],"arbitrarydata":"YSBjb250cmFjdCB0aGF0IGlzIG5vdCBhIGNvbnRyYWN0"}},"coininputoutputs":[{"value":"49000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["a5e0159688d300ed7a8f2685829192d8dd1266ce6e82a0d04a3bbbb080de30d0","deb0edcd4f4971819dd07aff0ff5565a53cd939f71f0a44d43f1deac1721dcc6"],"coinoutputunlockhashes":["025e64af6ec54312135ede1140e774da2ecadc9b2fb7ed8c0a7077035463d5049350c141597527","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"30466425d1ddbc87ca276a8d2b6f1c997ec52546b6ebcdc98ba1273e536e46c2","height":21768,"parent":"f02a7a4940cdc99b6a572163449a212190a7a137c2a82ef2193c9c450ff71c0e","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"b88fec372e55d5016dc63e3f0ba9e547df8d12adabc03ca4fa2495dd048c6ba0","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"9092a1396d1036afe6778a1334e31039ecce02b1d0b1f32bc79241df4404a902d74f598041656931a4e5e87c9fbd1081150bd5736f102ffcd5747cdf0ced1104"}}}],"coinoutputs":[{"value":"2000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"1983da650cfb7105ec525bec7f8547eb04c69e8d1348e5e948d524ed2a016de0","timelock":1549810944}}},{"value":"44000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"47000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["9f86352f2c85e618641eac8dd82338e983c2daceb33f022375ab3b74c3057b92","570448480f61d33df7b8226e499e98ba23e97cfcfb3ccc34fb9f246eae290a32"],"coinoutputunlockhashes":["02d29c8c05306be015b693f3dabd065d6b4682835a7b212b5aec8260729a374743edfcf2683546","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"388cff093f867dd22f8060a1c08f0c50bcd7096ad6dab5379317f5583c6732b9","height":29575,"parent":"9814d72510ff7ea04145ffffba8b277818fae7e0e1a561ed92057e34227c4d5c","rawtransaction":{"version":146,"data":{"sender":{"id":3,"signature":"e54ac4a79ecc82a4d3f7c45dd14eb54a65aded114ef96c008558459d439b6a8ecea9622b56e5dcbf5e8fff60774c2782abbbc3293e9d6816fc6ab81d45e9a908"},"receiver":{"id":4,"signature":"0123e538ea25a848848323f7f3f23fbc4334c80f1c7c5441239c86bd5f8f841acc3185e87c3099e368a55c236bfbf3706cf06d0c78efe93ba114fe94a90ab00f"},"names":["foobar","thisis.justan.example"],"txfee":"1000000000","coininputs":[{"parentid":"825eecc33a194e087c7d6f711cae384c1b0f7515f3aa3feb590fd04fd1f22613","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"992ee5750b337ff08b88737ddb91f6d36e3235f099042af35b07e19e9e6c862c55b69838fc3763898c9a6516c0911ade7b1c46dae5c194de4a929535b1ae5104"}}}],"refundcoinoutput":{"value":"99000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}}},"coininputoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["cac2df2f119a8522fd723514bc31a26c596b59699dfcca7344501c8a6b4fc5e7"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"3a8a5f04a22cb9ed71886afc5dbd45007d4e6993df5800a53e87d69db1360df4","height":18381,"parent":"bc8521112091d49525f38dac2c0ff9c3dd2b61d8fc884dd56098b31700146dce","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"deb0edcd4f4971819dd07aff0ff5565a53cd939f71f0a44d43f1deac1721dcc6","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"6a1202829097acf81202817a9c96c20a3c9f86fdfaadb72ff5ad948bae7971d256435726fa64106fe2555b69e45868af6496ac57b15cc092ead54d7ea5cf3303"}}}],"coinoutputs":[{"value":"20000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"f156b64b3d88f0c12b351d3ff89aa56299421313002b573c7072f36f7faadf52","timelock":1549726124}}},{"value":"7000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"],"arbitrarydata":"YSBjb250cmFjdCB0aGF0IGlzIG5vdCBhIGNvbnRyYWN0"}},"coininputoutputs":[{"value":"28000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["eecde5e12e504ee1f31b103064749ce4edfa7f6c5ec36b4c00539b552e8f7b02","eb8030b34dd8326d4a5919011975c416e6d220a7302401c0d88fd003154fda92"],"coinoutputunlockhashes":["020694e698aac00859080c912055041b949c55aa0f39aa2ee3c63eff6b8bd5583e974b4136748e","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"4256c3e4d348f5bb6bbfd234d8d41c13e7a1009a2cdc9127f4fd8239b27e191b","height":18392,"parent":"3275eb189fa1e41781553ec1353c2d8f244e7fa048773ae8526418c858fd8ce3","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"eb8030b34dd8326d4a5919011975c416e6d220a7302401c0d88fd003154fda92","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"ed84dd0229bfc8a01b7480bfc6b3f26daee2c77b891a2c57e305326fbf9ff33bb3fbc3c6b1e28914dbba0b5210874ad667958f8adc5e344f337ea3ae3bf0cd02"}}},{"parentid":"4a3602e082b5038f72254976ec9a833300e0a87571a4956b33faf126198e579a","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"c51cbdd7bc74cb8c814c1ec25b5cc7a2dafb10bec3440fd3cf746fda3b20cbd7d0ed7b2678c519cf4e6aa8dd0002656da435dcd5c07c29072a553b1387e16201"}}}],"coinoutputs":[{"value":"20000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"9ec50fa1462e347df00f0ed89e5cd01c3bd91518fde413cf14f07a2ec08cd0a2","timelock":1549726285}}},{"value":"5000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"],"arbitrarydata":"YSBjb250cmFjdCB0aGF0IGlzIG5vdCBhIGNvbnRyYWN0"}},"coininputoutputs":[{"value":"7000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"19000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["8870476e3326d4d00b3128d78f5287a0b3db14614d78665fb25041f33ca38ef5","b6d7838daa1db6469d9599efe85af0c8843495518cffa542218c55d1125d7c2a"],"coinoutputunlockhashes":["02c027c765dcd49cfd9b6454ae62ddfe495c023694f971f2210b90f6bbc836ab8684c16c699cc1","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"457d2527b787a258fcd6e7a0a8eae558647e48c019653bd8be6bf52f68dd2e06","height":28027,"parent":"71fd2838605602056cd40b4086c1aed250af346e61ade28129a65f857be63df4","rawtransaction":{"version":145,"data":{"id":3,"addresses":{"add":["127.0.0.1"]},"names":{},"nrofmonths":0,"txfee":"1000000000","coininputs":[{"parentid":"ce716c43c053935a928841c7dde52db4403bfa492daebade54d8a615bee9ceb5","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"46516f30401d36872c400cba927219040e9f00c2ba8fd342de12d7af767413fea628ff33f4b443a67f4793960f795806475862518f72047f4eeb9ab4f954fb0c"}}}],"refundcoinoutput":{"value":"12000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"signature":"f8f951ff2e9bcc857bde5966443208887768a81bb87961ee8474411093927cf00671e654a5e010b8b1c9b5600020a25dd278337a88939619ebcce68d07d61800"}},"coininputoutputs":[{"value":"33000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["b60a9fccdc06527ce758a2c332ad3e5a12732d75f8bff0291e52b75c8c55b527"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"4a7ac7930379675c82d0462a86e6d6f4018bdb2bdabaf49f4c177b8de19b4e7c","height":16930,"parent":"c25f345403080b8372a38f66608aa5a2287bdc61b82efe5ee6503ce85e8bcd35","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"753aaeaa0c9e6c9f1f8da1974c83d8ca067ad536f464a2e2fc038bbd0404d084","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"b5081e41797f53233c727c344698400a73f2cdd364e241df915df413d3eeafb425ce9b51de3731bcbf830c399a706f4d24ae7066f947a4a36ae1b25415bcde00"}}}],"coinoutputs":[{"value":"50000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"01746b199781ea316a44183726f81e0734d93e7cefc18e9a913989821100aafa33e6eb7343fa8c","hashedsecret":"4163d4b31a1708cd3bb95a0a8117417bdde69fd1132909f92a8ec1e3fe2ccdba","timelock":1549736249}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"51000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["023b1c17a01945573933e62ca7a1297057681622aaea52c4c4e198077a263890"],"coinoutputunlockhashes":["02fb27c67c373c2f30611e0b98bf92ed6e6eb0a69b471457b282903945180cd5c5b8068731f767"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"5ff6b9d7ff4062884bb3c1f587babfb1bb0cb48c6d99481ec85c7330eb284a99","height":34779,"parent":"62181b2a90b4d91d5b27b49a94a9aa48873fc93b0b512360376f822610139c63","rawtransaction":{"version":210,"data":{"pubkey":"ed25519:df16d739356671aefeb77b969f5210cbe3b3eac6042b43f11ae923b4d1e3a2aa","tftaddress":"015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee","erc20address":"0x24a905c0b713044b19e049d60b946ebe1cbe38e3","signature":"ca80bd9b8d539d1526f17d955d8ea1a1586ccec9fcd726fd256637238620c0c3c51e72fadff73510a61106a188fe9b9e2bd3416bdcadb648795a6ee22f30b80c","regfee":"10000000000","txfee":"1000000000","coininputs":[{"parentid":"bb36fea523dd37fbd64f1f8da6393bfae11ed94e4d7675a43edb0bfecfd0a2b1","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"02087ec3dff53ecf4776d328933ffd311692a1f8d83437549850bac951b531e6045bd971ec623a59aa8cf6b29b531f4c19410b6dc61e80c5fc2eeeb7689ff20f"}}}],"refundcoinoutput":{"value":"80000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}}},"coininputoutputs":[{"value":"91000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["776ce102815895642656ede0a271c163c85458973ec9c18669e820c6264c6b67"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"6c18ce9ffc564c1c1d98242b6e1c8b7e2d0f728665e87f31a1cee6e58b9c1143","height":28298,"parent":"29df563d3daebd20199721cb7142973f418c37c897d00509cffcc698c9eb1e13","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"8dfc12d6f5c40286468979265255a71e1ee906f73bdf896ace7d6c87db24d11d","fulfillment":{"type":1,"data":{"publickey":"ed25519:765637e8cafcd8d61879053f8889d7cc69a6fa73eaa8e5c6f6b69ce336d48f70","signature":"2b076713d9a6016736bfd4f88348af8ff73abe91f82d52abba57119a32be1ca7fcc39aa318454321e9be8ded8e05e4a94b22225e341b82f0d990637cc41ee003"}}}],"coinoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99993229000000000","condition":{"type":1,"data":{"unlockhash":"01970a2e2673e646170e0306b8f45349ef6d3549552d017cf7f523dde385616060ac95bf23ecaa"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99993430000000000","condition":{"type":1,"data":{"unlockhash":"0110ba85d3f0e62d937b1a6784a65e9a11c905cc6e8968dcaed9f74c8f27c216af9aff824889dd"}},"unlockhash":"0110ba85d3f0e62d937b1a6784a65e9a11c905cc6e8968dcaed9f74c8f27c216af9aff824889dd"}],"coinoutputids":["825eecc33a194e087c7d6f711cae384c1b0f7515f3aa3feb590fd04fd1f22613","b651eb9ac4fbb54ab1b2cbd515611a93e31dacac4965b745b7327a88f89d8a00"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","01970a2e2673e646170e0306b8f45349ef6d3549552d017cf7f523dde385616060ac95bf23ecaa"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"6cc643e258402a7a66192e3a39fbf1e228cdd5515c5f3f47235ce712b04c0a16","height":34782,"parent":"dfabdef8b761441bf22bab8f07944b5c1534b923c83a78f39d7aabd4a1a985e2","rawtransaction":{"version":208,"data":{"address":"0x24a905c0b713044b19e049d60b946ebe1cbe38e3","value":"1000000000000","txfee":"1000000000","coininputs":[{"parentid":"776ce102815895642656ede0a271c163c85458973ec9c18669e820c6264c6b67","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"1498f043dcc257d0779ebcb88980bc352ab2b4d097215cf13c422236e6cffaa57e323c8cffa2d037646984a8670bbf18ac73e960c8159e6b1139569503f0fb00"}}},{"parentid":"cac2df2f119a8522fd723514bc31a26c596b59699dfcca7344501c8a6b4fc5e7","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"2240b582677833010e7a02ae04a227e817473e23e883e3ba4983b5f7e1d43289b835e607fbdae4fccd33ac8d30e482e65aa98b0a37e01cf25ee84443ced6970a"}}},{"parentid":"b4bcdd9aa924ecaa96fa4860d5dbbbe932e76749b868f044b21e02d3e60193dc","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"a183ab14b69bcdd31a71c7af5f51c08d16c0d65f84c60e67e6882bd84d9c466b013c6ce0b8826ecbb804212763e982b673ae0c8df86dc66a64bf5b074e7e7d0a"}}},{"parentid":"8fe2fd4f0305d4a07ee836e6e26af80c7a69f470ddb4add5192eb4ba319a2f9d","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"a7e3c3fa5dbdd2583a797fccc6aa4724afdcfaac6a54e50047fe53f4d5734d9ff445be41051cce503265f7f2781c89dd93208e5a60dfc6c8aa774a3cea676f0f"}}}],"refundcoinoutput":{"value":"378000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}}},"coininputoutputs":[{"value":"80000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"99000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"1000000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["f38b60cdd70acdc33551e42ac555bfb31754b3b1f49158398a43f6f8e9760495"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"732b6762182b5e95838760b7a7a4e73ba4b689560c9987803f982d96a7fb543a","height":21614,"parent":"6cb7de690b8afa1b5a4c92fe1ed5fb9ed67ab5756b7f3ef8b221ea209ee5d8c1","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"f42f96909b64fba812134c01c9b583fcedefd5230120fdc112d224e4444000cb","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"f7142f0a5fd6c9675e1ae8418a410c3f82effde0bd3efdf2deafc55c5e5cdd2973bb565e1ceeba0db5c6ea95e11c84a2937c6e125d6556dc6180cb91b39e0e01"}}}],"coinoutputs":[{"value":"1000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"cc2036897eb00a262da7a060933abcba84bfd96928fda7d25f70ac91fb018bbc","timelock":1549809137}}},{"value":"47000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"49000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["64ad5a25e39acf953dfb21b45b861574c4425def22db355039d4e53c6cc36e73","b88fec372e55d5016dc63e3f0ba9e547df8d12adabc03ca4fa2495dd048c6ba0"],"coinoutputunlockhashes":["02a3135cc1f1826feca3a6fdcec251a41394df4bd76a7d54252726aa22cd5e5faa8f59253d2413","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"7a65fa0fefabbd13e7251c45ce2d0575b978123da55fc3f049ef23fedeba041f","height":21603,"parent":"17ada6676d1c28c1a5b26f1be47204ed23d793ad4ecfbd96bc7eb7938e85664c","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"4278538c519bcbb1b5784aa14034ce48fbea55c5ae6c1c0575d072b07aa340cc","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"9ce6945e087e486bb17315dc4645d8a0c10212db5ef4e9437421a8279424ef7d8c59141820cad869082f99b4f897943809c3eb41cc8917bd500d89a956bb820b"}}}],"coinoutputs":[{"value":"1000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"96c16e20445eb85a68c4823342ec8ab7ebf2bea1970a2b83749dc66638b986bc","timelock":1549981851}}},{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"3000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["4849777982aec82cd206a215d0c6424f54117a918b23a532210f3a9e2a7c607d","2078c126bcf5ef84074245a7d382bfdf83aa4f651764254309a1d875a0a713e0"],"coinoutputunlockhashes":["02b9e14efcfaf7628440f132034be76003a92b11685cfafc19f89b5da6dc17f8a4121a50ee388e","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"7a699851bec02e9516d15eb5d63c9afe9b7343c30be6c80ae6a5e5a9e4615b06","height":28052,"parent":"1169dde73f667d043a94896bc9eb83818cc25a4615b0d83b3cf1098ebf2be357","rawtransaction":{"version":145,"data":{"id":3,"addresses":{"add":["bot.example.org"],"remove":["127.0.0.1","example.org"]},"names":{"add":["thisis.justan.example","foobar"],"remove":["chatbot.example"]},"nrofmonths":0,"txfee":"1000000000","coininputs":[{"parentid":"2565d2314b1576aaf7210b7d773b07f102faba43458249a87487c90db289d884","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"b14792f975f6eb668451596bedbded85ab1c7359ed8caae9fe57704f7c62eb2c677672924943e60e41e03d575473ba8fcf1f2bbea3c95b09d9c765b023f11406"}}}],"refundcoinoutput":{"value":"79000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"signature":"245cc3ebfc059abf32d207c0349ce4300dd3482ba0582e659979fdb99143a4913190c13541fd5a8a49454a2a7995bc5cb04e3e900eb4c9141dbf1e25bac3de00"}},"coininputoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["77e85f744209688efdf22da4440a1f9f0a9906bf63a9892856535e5a22e43838"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"861dd5d9a6b6b59a19974ce188323c183a746c09c330cdfce271ab901b1de2a5","height":27166,"parent":"caf934d3871e3a78ad10cf693470ab4dfd196021283cdb881502c638adc958d2","rawtransaction":{"version":144,"data":{"addresses":["example.org"],"names":["chatbot.example"],"nrofmonths":1,"txfee":"1000000000","coininputs":[{"parentid":"22bd1b8bac0e1c0530d1d3db031ac60b4094cbe614747fbaedbb7b04047283e0","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"25d50b277fdd60ce92dee5942de9ddb6905b6b66cb1ad2df649f8868be56b430a67167cd664ec99afa6040fd9f5fd398a8e6200a5c439e688599b1878a9d3b08"}}}],"refundcoinoutput":{"value":"99000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"identification":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"77d4a12813b162017a977086d5b9da9d51f8ec2d4edc889e8eab89e348875db3cd047b2095ae903cc3fb0d1837b082bdf96ee5963ac8d83d1beeb0b5098d1006"}}},"coininputoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["fba2db8f2657485bb6cc8ae52f5898a87d376d076199f7976d346b4087f02f5f"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"8bf649e71ab7ed861588cce09429b302778418f8fd644f6fe5fc607143791977","height":28048,"parent":"87c1274928b28f40739a1d44809b2b3b7bcc7d2dd6ca7a153d1bd48a2cf252a3","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"e246d8b1fbaeea6cdef2707d0c5dc6460f489e861962f9c2cf602d2cb48fa126","fulfillment":{"type":1,"data":{"publickey":"ed25519:8b67b6d9783875c8e1471de7ff94244c0eee9f66bf17ee5bb3c9a3c6e6a06693","signature":"8063c19e9e59d29c8da125e27e26a704692e4244349de407d9ecd487d8b856b98aa6881d3c0065a1ed73da9ae9c6d56bfedbab7e748a0d1c2963179c6deca809"}}}],"coinoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99993430000000000","condition":{"type":1,"data":{"unlockhash":"0110ba85d3f0e62d937b1a6784a65e9a11c905cc6e8968dcaed9f74c8f27c216af9aff824889dd"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99993631000000000","condition":{"type":1,"data":{"unlockhash":"015df4dab19d4b06d81b004759ebfc987c273638cefc71a7f979671522cce6c51a4970b16a7569"}},"unlockhash":"015df4dab19d4b06d81b004759ebfc987c273638cefc71a7f979671522cce6c51a4970b16a7569"}],"coinoutputids":["2565d2314b1576aaf7210b7d773b07f102faba43458249a87487c90db289d884","8dfc12d6f5c40286468979265255a71e1ee906f73bdf896ace7d6c87db24d11d"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","0110ba85d3f0e62d937b1a6784a65e9a11c905cc6e8968dcaed9f74c8f27c216af9aff824889dd"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"a3c310d3bcf5ee736c6b761747296be9de8f3827714ad6f4b5fa045b3dcd9f1e","height":28298,"parent":"29df563d3daebd20199721cb7142973f418c37c897d00509cffcc698c9eb1e13","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"b651eb9ac4fbb54ab1b2cbd515611a93e31dacac4965b745b7327a88f89d8a00","fulfillment":{"type":1,"data":{"publickey":"ed25519:6fcc8d6f0dbeb8853ece9c33e97debbf562abc610ce5693a3f3b621bb9b7cda7","signature":"739bc9858b5e930ff0416f9920db5ca743a59e8e22ce4d1b53fdbec0f54d03b020e238456ebdf8c13d257aab681d999766a801d3a3d28c8be26b3634181cc303"}}}],"coinoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99993028000000000","condition":{"type":1,"data":{"unlockhash":"014ba665e2a693f6c51adb154575f1facf2ae7a45955447e496cf3ec4484572a9e72deb51839c9"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99993229000000000","condition":{"type":1,"data":{"unlockhash":"01970a2e2673e646170e0306b8f45349ef6d3549552d017cf7f523dde385616060ac95bf23ecaa"}},"unlockhash":"01970a2e2673e646170e0306b8f45349ef6d3549552d017cf7f523dde385616060ac95bf23ecaa"}],"coinoutputids":["b4bcdd9aa924ecaa96fa4860d5dbbbe932e76749b868f044b21e02d3e60193dc","193223ab9b9c462508ce9ec87f64668980b9d9ef109c581dec7bb945f9037fac"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","014ba665e2a693f6c51adb154575f1facf2ae7a45955447e496cf3ec4484572a9e72deb51839c9"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"aa1d16aa912a4d96574f5c617526f03166786d7ddf8a8e2421ca068bfcb46bb3","height":21769,"parent":"483c78889a708a78b62c3e89a8125b13ebd270929363f17e71b564422b930cf8","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"9f86352f2c85e618641eac8dd82338e983c2daceb33f022375ab3b74c3057b92","fulfillment":{"type":2,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"fad63557d39946573f3bb6ad372df2196cb18a9a51a13b77412f7971f449aaed41726e26c7bbf20ffb1c34da5acaf27d3c7ecf13339a4a6fd20b2b85548c6302","secret":"0000000000000000000000000000000000000000000000000000000000000000"}}}],"coinoutputs":[{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"2000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"1983da650cfb7105ec525bec7f8547eb04c69e8d1348e5e948d524ed2a016de0","timelock":1549810944}},"unlockhash":"02d29c8c05306be015b693f3dabd065d6b4682835a7b212b5aec8260729a374743edfcf2683546"}],"coinoutputids":["f1b03c987ec8480d7415ac0bb7bfc81b04b5eeaa57488b19afa4fecd225674fd"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"aac617409fe88e3734dfb5faccc02af289940c595a469c5e7c8275f8e984a8d5","height":34782,"parent":"dfabdef8b761441bf22bab8f07944b5c1534b923c83a78f39d7aabd4a1a985e2","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"193223ab9b9c462508ce9ec87f64668980b9d9ef109c581dec7bb945f9037fac","fulfillment":{"type":1,"data":{"publickey":"ed25519:b83468d84033f91dd60d14d324e4b99fe61fd558f1477eed5a6bf69c604025d5","signature":"9628b06afd5642e1e60361e96a2b0ec137c39a7ee7b5d55b493f71f224dcc253ac8527417114b4bd492da53199693fb389e8d660b345c792667409263c5e9502"}}}],"coinoutputs":[{"value":"1000000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99992027000000000","condition":{"type":1,"data":{"unlockhash":"01773a1dd123347e1030f0822cb8d22082fe3f9b0ea8563d4ac8e7abc377eba920c47efb2fd736"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99993028000000000","condition":{"type":1,"data":{"unlockhash":"014ba665e2a693f6c51adb154575f1facf2ae7a45955447e496cf3ec4484572a9e72deb51839c9"}},"unlockhash":"014ba665e2a693f6c51adb154575f1facf2ae7a45955447e496cf3ec4484572a9e72deb51839c9"}],"coinoutputids":["8fe2fd4f0305d4a07ee836e6e26af80c7a69f470ddb4add5192eb4ba319a2f9d","1d2f5471fce574fb488615d42f8ed0cda3432fd9fde7b8c8914db5b05814e93d"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","01773a1dd123347e1030f0822cb8d22082fe3f9b0ea8563d4ac8e7abc377eba920c47efb2fd736"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"b147985d381bc626ef79219ca988b5b1e2d328ade10cd7f3d48b96ca67928155","height":17698,"parent":"e8656ff72f9288c9ece3f85e489389f3c77e84052db13702b03dcff266a4d844","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"dd1babcbab492c742983b887a7408742ad0054ec8586541dd6ee6202877cb486","fulfillment":{"type":2,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"4a7a15125f4e8819b4cf57dfe5f0389f45b0779b2a4bf27d885b4de8659ad363eb5be8c38ec88b33fc6fe1d18c55a9c0220f21977d36d1c8f63d582c8c126b0d","secret":"f68d8b238c193bc6765b8e355c53e4f574a2c9da458e55d4402edca621e53756"}}}],"coinoutputs":[{"value":"49000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"50000000000","condition":{"type":2,"data":{"sender":"01b88206a3300dea3dd5f6cd73568ac5797b078910c78cbce6a71fcd0837a3ea5a4f2ed9fc70a1","receiver":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","hashedsecret":"e24b6b609b351a958982ba91de7624d3503f428620f5586fbea1f71807b545c1","timelock":1549878527}},"unlockhash":"02f6d25603d232512ade46cdec3160301d8bd4880f2d4e8e20f54aff24f94dac5792ab1b325c3d"}],"coinoutputids":["b0e64c6e9d0d6d515856e15fcdfd869721f5b14ffc7599204f1e6ec174fb3631"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"b2618b8e2857b62a94de9685d05b6efd0b69c2351895bcb0feee6dcd982e4165","height":27137,"parent":"77d1dfbbfb9437ee52e8421b822016d9ab4551237b5fc33c2a3f75341290735e","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"fa68934782d8542e5189c30bdc0d1939ce9017c5689a747c4229fc0e1fb08096","fulfillment":{"type":1,"data":{"publickey":"ed25519:6881f93c1bc4f4dc08c3234b0f061e51d88d40fd0f6f448aa15141e87cd432b8","signature":"c27581accc407a21f24d030fa55ddd9a4188d82f36bb71b912a79b6a86d9235fcd8cdc102474618920bb909cbbf52cb5ca4792c141a21074f808da25cfe2e101"}}}],"coinoutputs":[{"value":"200000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99993631000000000","condition":{"type":1,"data":{"unlockhash":"015df4dab19d4b06d81b004759ebfc987c273638cefc71a7f979671522cce6c51a4970b16a7569"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99993832000000000","condition":{"type":1,"data":{"unlockhash":"014195d5ada0434d0766bf9e3d9b87d2f63ef7b1820739cff88335d45cbae2dac58ec00841c570"}},"unlockhash":"014195d5ada0434d0766bf9e3d9b87d2f63ef7b1820739cff88335d45cbae2dac58ec00841c570"}],"coinoutputids":["22bd1b8bac0e1c0530d1d3db031ac60b4094cbe614747fbaedbb7b04047283e0","e246d8b1fbaeea6cdef2707d0c5dc6460f489e861962f9c2cf602d2cb48fa126"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","015df4dab19d4b06d81b004759ebfc987c273638cefc71a7f979671522cce6c51a4970b16a7569"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"b9460f6052be9e331a61b69a789fe01aeaea00d282e33c00e059a00e5f69935b","height":21595,"parent":"6bf3f4863118d4d400c78a5e8cc0ac5a6bea9ded1e69d654a1c1986d62da0ec5","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"b6d7838daa1db6469d9599efe85af0c8843495518cffa542218c55d1125d7c2a","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"802bd62cf688573f936d149a30d05d8924d8f63abda1f50de519c76923290e58605697282b11b7c8eb00cfa5496227408bacab88f461e2974f2fa00fcdc59405"}}}],"coinoutputs":[{"value":"1000000000","condition":{}},{"value":"3000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"],"arbitrarydata":"dGVzdCB0ZXN0"}},"coininputoutputs":[{"value":"5000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["1ecfe08655a0a0cb2ae8a48b8ca446ff710e3be2f118e1a311f668813a44ae27","4278538c519bcbb1b5784aa14034ce48fbea55c5ae6c1c0575d072b07aa340cc"],"coinoutputunlockhashes":["","01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"bca044302e018e67600bd0bd3223ae8dbb702eb528e73d6cfa9d057d4f73b03a","height":16911,"parent":"b4882a0b8632396a9c5d83a5c8684ab76736f4bff6d971795ed7334fac8aa339","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"357451c3f3a15f6150aedede9d5228ec5dfc2d32c9b62c2a46128533a7845c72","fulfillment":{"type":1,"data":{"publickey":"ed25519:fdb2e1b898dda304f748c0ff812a24729b2aafd344512079ab778eb368b18645","signature":"bd9dd36e86c08a5990ad5282d1079705c3a4b1cf3896e96791aa7db97002d5eb002c50467f45bd3ac1086292932cd2ab53c91b2e8bb74b9d9c9c0d558082ef08"}}}],"coinoutputs":[{"value":"51000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},{"value":"99994187000000000","condition":{"type":1,"data":{"unlockhash":"0183841ae8952a2ba72db0d6fce6208df70f2a936ee589ff852e06b20af48b40489572b1a69b2a"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"99994239000000000","condition":{"type":1,"data":{"unlockhash":"019bb005b78a47fd084f4f3a088d83da4fadfc8e494ce4dae0d6f70a048a0a745d88ace6ce6f1c"}},"unlockhash":"019bb005b78a47fd084f4f3a088d83da4fadfc8e494ce4dae0d6f70a048a0a745d88ace6ce6f1c"}],"coinoutputids":["753aaeaa0c9e6c9f1f8da1974c83d8ca067ad536f464a2e2fc038bbd0404d084","8c8dbd70c6eb2d5d181aa5ae430f2cc86e038b92e45dd6f6d5a28400efad4511"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","0183841ae8952a2ba72db0d6fce6208df70f2a936ee589ff852e06b20af48b40489572b1a69b2a"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"cc8ab75e3e2042f816cb282d90f5740a2ddcb5a83adbad08004f4047c8bc9076","height":27982,"parent":"335703aac9daa9354956d6fa27cb2fe3852543430dd51147f9106474149d56fe","rawtransaction":{"version":145,"data":{"id":3,"addresses":{},"names":{},"nrofmonths":1,"txfee":"1000000000","coininputs":[{"parentid":"570448480f61d33df7b8226e499e98ba23e97cfcfb3ccc34fb9f246eae290a32","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"7fc0ff8ac77365f1b6bcade2554778d37c67948ff62da8c4287a1c6de984e04c0442ead9027f17da2eb5976cc12f232709a5c81cfff816a6af3ef3a5b3bb7a09"}}}],"refundcoinoutput":{"value":"33000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"signature":"c2ca34d2d78277053c1c19529589d8d92988ac07a1adcae2c948a862e8105534d93d6916f071cf3dc191070f5e329156e73ca906913a212a3eb845bbc6a76b03"}},"coininputoutputs":[{"value":"44000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["ce716c43c053935a928841c7dde52db4403bfa492daebade54d8a615bee9ceb5"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"e9a909b0198328b38da003c31571d26eb6a0df35c31eee7fd087bc6ffcfd3501","height":17821,"parent":"c92c56e9520c63d7cb3061319eaf46d22e69e7f93d73ea73596d8651a7834fa2","rawtransaction":{"version":1,"data":{"coininputs":[{"parentid":"a5e0159688d300ed7a8f2685829192d8dd1266ce6e82a0d04a3bbbb080de30d0","fulfillment":{"type":2,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"b2d98b7d6e3c3634ed1f9fb992ac4f1bfa844126d8addac8ee764ef995a656b064c674803c646fba6c7201bf0f16c44b36c0e45702cc9e66fc5ed73934eadd09","secret":"0000000000000000000000000000000000000000000000000000000000000000"}}}],"coinoutputs":[{"value":"19000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}],"minerfees":["1000000000"]}},"coininputoutputs":[{"value":"20000000000","condition":{"type":2,"data":{"sender":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0","receiver":"0131cb8e9b5214096fd23c8d88795b2887fbc898aa37125a406fc4769a4f9b3c1dc423852868f6","hashedsecret":"2c9b9fda14a1319a9c391d1f87df0333f56cf6804222bfd7c29d03829e0fa3b0","timelock":1549710071}},"unlockhash":"025e64af6ec54312135ede1140e774da2ecadc9b2fb7ed8c0a7077035463d5049350c141597527"}],"coinoutputids":["4a3602e082b5038f72254976ec9a833300e0a87571a4956b33faf126198e579a"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},{"id":"ecbfe421121ded7e455ed02393a6a19d627329c7ce4d61a46124c278569811b4","height":28281,"parent":"eb9deffe8386702516311dc2b7caba919f19a36aea915ea1e7be7739376be3c6","rawtransaction":{"version":144,"data":{"addresses":["127.0.0.1"],"nrofmonths":1,"txfee":"1000000000","coininputs":[{"parentid":"2078c126bcf5ef84074245a7d382bfdf83aa4f651764254309a1d875a0a713e0","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"fb7831507b2d0e18b983bd784ce246f5e9e0127a5dd7a563bd6355ab91a85ddd221d10694e19ad511074c4b3882599b70b20a3f2d47a7e07031f0284c4bd9e04"}}},{"parentid":"f1b03c987ec8480d7415ac0bb7bfc81b04b5eeaa57488b19afa4fecd225674fd","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"db0d95c104ad4e5773fafc5ed55be200b345e4e35274b0a7b58811a197f82eaba42b67bed4536abae238c6ca83e970aa5181454ad27a334c8122d3766a60db09"}}},{"parentid":"b60a9fccdc06527ce758a2c332ad3e5a12732d75f8bff0291e52b75c8c55b527","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"122fc919e1a6dfe760f657b4d5d5d5df7d7ddc9d71d91c0e22affbc42160957aa10ce7cdb05f76fa5de548633f856cd5b1fae23f52cb46543948bdfea00d7108"}}},{"parentid":"77e85f744209688efdf22da4440a1f9f0a9906bf63a9892856535e5a22e43838","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"ce24055796a276f8f13b567db06b68e34c76a14f7ea4cdf60204b75345664cd521591a5e28e2c65c4b1e516e0e571c865af6263d6c83b9981d47ce174125bd0b"}}},{"parentid":"fba2db8f2657485bb6cc8ae52f5898a87d376d076199f7976d346b4087f02f5f","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"0c3e3b6ce30d800d95d46ad5c8f476db597f551ba1da1857008a1a25f64791afb41a3ee602d0d8a576afa71626626dd531e0130e4f95003dd49fe9d87e8d6203"}}}],"refundcoinoutput":{"value":"91000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"identification":{"publickey":"ed25519:cdc8a87a19c6b89296ea703b0b8db4b3e4cfddc8c6b38d806bb244a57e43bcf3","signature":"dbc7b3a6966e20e13a80e541625d03bbf9daa58f341ea2e33e8e8b4720ecab84582380757fe4f1902cbe34d8d7b64f3c80e08c9306a4d263b63ea1a5da205e03"}}},"coininputoutputs":[{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"12000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"79000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"99000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["bb36fea523dd37fbd64f1f8da6393bfae11ed94e4d7675a43edb0bfecfd0a2b1"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false}],"multisigaddresses":null,"unconfirmed":false}')
      # add unlock hash resp that contains the erc20 address we look for
      explorer_client.hash_add('015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee', '{"hashtype":"unlockhash","block":{"minerpayoutids":null,"transactions":null,"rawblock":{"parentid":"0000000000000000000000000000000000000000000000000000000000000000","timestamp":0,"pobsindexes":{"BlockHeight":0,"TransactionIndex":0,"OutputIndex":0},"minerpayouts":null,"transactions":null},"blockid":"0000000000000000000000000000000000000000000000000000000000000000","difficulty":"0","estimatedactivebs":"0","height":0,"maturitytimestamp":0,"target":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"totalcoins":"0","arbitrarydatatotalsize":0,"minerpayoutcount":0,"transactioncount":0,"coininputcount":0,"coinoutputcount":0,"blockstakeinputcount":0,"blockstakeoutputcount":0,"minerfeecount":0,"arbitrarydatacount":0},"blocks":null,"transaction":{"id":"0000000000000000000000000000000000000000000000000000000000000000","height":0,"parent":"0000000000000000000000000000000000000000000000000000000000000000","rawtransaction":{"version":0,"data":{"coininputs":[],"minerfees":null}},"coininputoutputs":null,"coinoutputids":null,"coinoutputunlockhashes":null,"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},"transactions":[{"id":"5ff6b9d7ff4062884bb3c1f587babfb1bb0cb48c6d99481ec85c7330eb284a99","height":34779,"parent":"62181b2a90b4d91d5b27b49a94a9aa48873fc93b0b512360376f822610139c63","rawtransaction":{"version":210,"data":{"pubkey":"ed25519:df16d739356671aefeb77b969f5210cbe3b3eac6042b43f11ae923b4d1e3a2aa","tftaddress":"015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee","erc20address":"0x24a905c0b713044b19e049d60b946ebe1cbe38e3","signature":"ca80bd9b8d539d1526f17d955d8ea1a1586ccec9fcd726fd256637238620c0c3c51e72fadff73510a61106a188fe9b9e2bd3416bdcadb648795a6ee22f30b80c","regfee":"10000000000","txfee":"1000000000","coininputs":[{"parentid":"bb36fea523dd37fbd64f1f8da6393bfae11ed94e4d7675a43edb0bfecfd0a2b1","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"02087ec3dff53ecf4776d328933ffd311692a1f8d83437549850bac951b531e6045bd971ec623a59aa8cf6b29b531f4c19410b6dc61e80c5fc2eeeb7689ff20f"}}}],"refundcoinoutput":{"value":"80000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}}}},"coininputoutputs":[{"value":"91000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["776ce102815895642656ede0a271c163c85458973ec9c18669e820c6264c6b67"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false}],"multisigaddresses":null,"unconfirmed":false,"erc20info":{"tftaddress":"015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee","erc20address":"0x24a905c0b713044b19e049d60b946ebe1cbe38e3","confirmations":1549}}')
      # add another unlock hash for this wallet (the last known one)
      explorer_client.hash_add('015db1a83b5a87f716e8f9f0ba6d1e04a2cddd1f4209bcc1f154b3cdccd4a635296cdf8192e284', '{"hashtype":"unlockhash","block":{"minerpayoutids":null,"transactions":null,"rawblock":{"parentid":"0000000000000000000000000000000000000000000000000000000000000000","timestamp":0,"pobsindexes":{"BlockHeight":0,"TransactionIndex":0,"OutputIndex":0},"minerpayouts":null,"transactions":null},"blockid":"0000000000000000000000000000000000000000000000000000000000000000","difficulty":"0","estimatedactivebs":"0","height":0,"maturitytimestamp":0,"target":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"totalcoins":"0","arbitrarydatatotalsize":0,"minerpayoutcount":0,"transactioncount":0,"coininputcount":0,"coinoutputcount":0,"blockstakeinputcount":0,"blockstakeoutputcount":0,"minerfeecount":0,"arbitrarydatacount":0},"blocks":null,"transaction":{"id":"0000000000000000000000000000000000000000000000000000000000000000","height":0,"parent":"0000000000000000000000000000000000000000000000000000000000000000","rawtransaction":{"version":0,"data":{"coininputs":[],"minerfees":null}},"coininputoutputs":null,"coinoutputids":null,"coinoutputunlockhashes":null,"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false},"transactions":[{"id":"ecbfe421121ded7e455ed02393a6a19d627329c7ce4d61a46124c278569811b4","height":28281,"parent":"eb9deffe8386702516311dc2b7caba919f19a36aea915ea1e7be7739376be3c6","rawtransaction":{"version":144,"data":{"addresses":["127.0.0.1"],"nrofmonths":1,"txfee":"1000000000","coininputs":[{"parentid":"2078c126bcf5ef84074245a7d382bfdf83aa4f651764254309a1d875a0a713e0","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"fb7831507b2d0e18b983bd784ce246f5e9e0127a5dd7a563bd6355ab91a85ddd221d10694e19ad511074c4b3882599b70b20a3f2d47a7e07031f0284c4bd9e04"}}},{"parentid":"f1b03c987ec8480d7415ac0bb7bfc81b04b5eeaa57488b19afa4fecd225674fd","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"db0d95c104ad4e5773fafc5ed55be200b345e4e35274b0a7b58811a197f82eaba42b67bed4536abae238c6ca83e970aa5181454ad27a334c8122d3766a60db09"}}},{"parentid":"b60a9fccdc06527ce758a2c332ad3e5a12732d75f8bff0291e52b75c8c55b527","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"122fc919e1a6dfe760f657b4d5d5d5df7d7ddc9d71d91c0e22affbc42160957aa10ce7cdb05f76fa5de548633f856cd5b1fae23f52cb46543948bdfea00d7108"}}},{"parentid":"77e85f744209688efdf22da4440a1f9f0a9906bf63a9892856535e5a22e43838","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"ce24055796a276f8f13b567db06b68e34c76a14f7ea4cdf60204b75345664cd521591a5e28e2c65c4b1e516e0e571c865af6263d6c83b9981d47ce174125bd0b"}}},{"parentid":"fba2db8f2657485bb6cc8ae52f5898a87d376d076199f7976d346b4087f02f5f","fulfillment":{"type":1,"data":{"publickey":"ed25519:e4f55bc46b5feb37c03a0faa2d624a9ee1d0deb5059aaa9625d8b4f60f29bcab","signature":"0c3e3b6ce30d800d95d46ad5c8f476db597f551ba1da1857008a1a25f64791afb41a3ee602d0d8a576afa71626626dd531e0130e4f95003dd49fe9d87e8d6203"}}}],"refundcoinoutput":{"value":"91000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}}},"identification":{"publickey":"ed25519:cdc8a87a19c6b89296ea703b0b8db4b3e4cfddc8c6b38d806bb244a57e43bcf3","signature":"dbc7b3a6966e20e13a80e541625d03bbf9daa58f341ea2e33e8e8b4720ecab84582380757fe4f1902cbe34d8d7b64f3c80e08c9306a4d263b63ea1a5da205e03"}}},"coininputoutputs":[{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"1000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"12000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"79000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"},{"value":"99000000000","condition":{"type":1,"data":{"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}},"unlockhash":"01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"}],"coinoutputids":["bb36fea523dd37fbd64f1f8da6393bfae11ed94e4d7675a43edb0bfecfd0a2b1"],"coinoutputunlockhashes":["01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0"],"blockstakeinputoutputs":null,"blockstakeoutputids":null,"blockstakeunlockhashes":null,"unconfirmed":false}],"multisigaddresses":null,"unconfirmed":false}')
      # overwrite the explorer get logic, as to use our stub client
      c.explorer_get = explorer_client.explorer_get
  
      # the devnet genesis seed is the seed of the wallet,
      # which receives all block stakes and coins in the genesis block of the tfchain devnet
      DEVNET_GENESIS_SEED="remain solar kangaroo welcome clean object friend later bounce strong ship lift hamster afraid you super dolphin warm emotion curve smooth kiss stem diet"
  
      # create a new devnet wallet
      w = tfchain.TFChainWallet.TFChainWallet(client=c, seed=DEVNET_GENESIS_SEED)
  
      # ERC20 addresses can be found for a given wallet address, by defining
      # its address index, or by specifying its address
      for value in [2, w.addresses[2]]:
          info = w.erc20.address_get(value)
          assert info.address_tft == '015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee'
          assert info.address_erc20 == '0x24a905c0b713044b19e049d60b946ebe1cbe38e3'
          assert info.confirmations == 1549
  
      # if an address is not registered as an ERC20 address,
      # the tfchain.errors.ExplorerNoContent error is raised
      with pytest.raises(tfchain.errors.ExplorerNoContent):
          w.erc20.address_get(0)
      with pytest.raises(tfchain.errors.ExplorerNoContent):
          w.erc20.address_get(1)
      with pytest.raises(tfchain.errors.ExplorerNoContent):
          w.erc20.address_get() # if no value is given, the first address is used
      with pytest.raises(tfchain.errors.ExplorerNoContent):
          w.erc20.address_get('01b73c4e869b6167abe6180ebe7a907f56e0357b4a2f65eb53d22baad84650eb62fce66ba036d0')
      with pytest.raises(tfchain.errors.ExplorerNoContent):
          w.erc20.address_get('015db1a83b5a87f716e8f9f0ba6d1e04a2cddd1f4209bcc1f154b3cdccd4a635296cdf8192e284')
  
      # if the value is invalid (e.g. negative index or one beyond upper bounds),
      # or it is of the wrong type, a ValueError is returned
      with pytest.raises(ValueError):
          w.erc20.address_get(value=False)
      with pytest.raises(ValueError):
          w.erc20.address_get(value='01blabla')
      with pytest.raises(ValueError):
          w.erc20.address_get(value=-1)
      with pytest.raises(ValueError):
          w.erc20.address_get(value=3)
  
      # if a wallet address is used that is not owned by this wallet,
      # a tfchain.errors.AddressNotInWallet error is raised
      with pytest.raises(tfchain.errors.AddressNotInWallet):
          w.erc20.address_get(value='015a080a9259b9d4aaa550e2156f49b1a79a64c7ea463d810d4493e8242e6791584fbdac553e6f')
  
      # you can also get all ERC20 wallet addresses registered by this wallet,
      # which returns an empty list if no addresses of that wallet are
      # registerd as ERC20 withdraw addresses
      results = w.erc20.addresses_get()
      assert len(results) == 1
      assert results[0].address_tft == '015f46114b110526537c42dbd61c89c91ccf1edf22dd6d445675740ac48c95fb60e378010aeeee'
      assert results[0].address_erc20 == '0x24a905c0b713044b19e049d60b946ebe1cbe38e3'
      assert results[0].confirmations == 1549
  