4

I am working with the nodeJS lib. I made a transaction with an address, amount, message and tag as inferred from api.prototype.prepareTransfers in the JSlib. Then I looked up that transaction with api.getBundle. It gave me a whole lot of trytes. I found the tag, and after removing the trailing 9's was able to convert it back with Utils.fromTrytes. But I never found the message in there.

Where can I find that? What am I missing ? Here are the trytes:

[{"hash":"TDFXQNGTLMCZLJZDCZAQTTCUONZ9MBVWCECZPQHOYMLMLNPQZGZGTOJGQVWHCI9YRVJCEMQAXNFVA9999","signatureMessageFragment":"GACDZCTCEAADTCGDGDPCVCTCGA9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999","address":"FKIXXQEHPUMCAXEKPUERAYTZBFLNT9FBSZGKZSIYLMSFVLAJRFLPFPWOTCZYCMM9NFLZKISDEUFMSTNDZ","value":1,"obsoleteTag":"CCTCBDBDBDEASCTCEAHDPCVCGA9","timestamp":1513808981,"currentIndex":0,"lastIndex":2,"bundle":"B9EVNFDKAUNZCXYFSBVKWPDYVKIKFFXKBGZLOHIBUZNPVQQLQVKAUFKWMEEAZKHTHJ9WKWAC9YECHDTEC","trunkTransaction":"CQDPNDQOOZEZUZXTQBUISEYWDIHYRQQEFEFTBDDSUJUIKDDYRUZQLXGYRCLCVJCWDK9EQOUBUL9X99999","branchTransaction":"XIWXXIUQ9DYTWDAELVPGNYNKTHOSFFUHBIZ9RRQWPZCAZETAHXIWYPSEGZGABCMPOHLUVIXZJMXTZ9999","tag":"GATCBDBDBDEASCTCEAHDPCVCGA9","attachmentTimestamp":0,"attachmentTimestampLowerBound":0,"attachmentTimestampUpperBound":0,"nonce":"BA99999999XFB99999999999999"},{"hash":"CQDPNDQOOZEZUZXTQBUISEYWDIHYRQQEFEFTBDDSUJUIKDDYRUZQLXGYRCLCVJCWDK9EQOUBUL9X99999","signatureMessageFragment":"RHAZUQLZEU9XTWQVTCXFBR9RJYEIIEOEEUGLZKIBDJESEWEJMGJKYVYOPCSJCEBIGHGVXWNYFDCOYYTADIRX9BJOCTYGLYACDZHHMVFO9WCA99WMMLLPHBFGNQ9KS9RSRZOJOGDTVCPACNF9LEXZVGMOYJPADNZTZZDFMDIJQNAWKAIEJWWDHMLWJMNUIWAHFVBKGKE9BEQCFWM9KZWCODSNTNELDBHJYHCOG9PXBTODG9SAOYALTGVKQEVMCJRMNRHLSOAGJEKMIREAPDYACKCJSGUZ9DKGHCYFZHNIOZJDGYBYETJIVXCQ9TR9WRQHPFRZNBBNUKSGHSJOZWXLOIZEXQAXCHSRUQS9QSKNVCJUIOYDZGRZVZSTSICKPUPBYJUPAJESHMRTJYYMSDJR9ZSDQPZCLUHHTJXZEPFTKX9GSLBJM9HARBRYB9DIZDGBE99G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V9PBMEXOVARLVDKWBAQN9FBBHAWEDREFWFCA9XAZONVVKEUIPKLLDEKYXIXFPOESUINSYYD9HNADIKREVMSXCIHUX9UFAVUUOXQNVPPAMVUC9OGRURTSYMXWTINFAAWXGLLWHKGDCVFL9AXBJSVOMBYBMXTBMAAFDHFUVJGMKHJHRRELJVOGO9DFYHNPCN9JLRISWQXCY9YOUUFCACJJJXEVMLWUBOBCDIKMRYCBXEPQFGVTGH9IPREIXGJ9HAFYHKNMNUPHLRFDFRHKQZNXVLCNPDYS9VJUUJFOAXJWKOO9KDWKCRDGQRUABNJAEEZDYGPBMCRIUOFSZZG9GGEOXJGJCJFIKOOSAAZPAMWGMBXXHEBOTCYQXR9NLXAZTO9VDXTVECQTJQWRDSWJKFXKWRZMDTZVVFVUSQSKZAEAWIXGYPGTPOHDUZFRARF9KKCMIHYUWPHEHTGVYTTYJFKIMLTBTYQAJHBCCEJHFEVVK9IXOGRW99SEBTAFCUIPVDYORHPXTKLTEMSIWBCFNAOJY9SPPLIAGXAWIXNBDLZCXN9KDLS9ZWFYPNALMHDFDU9EHGA9FASFMVKDEZEGIFNUYATOXUDPGYWONINYYZAUXFZWGGZNODUEDLTYJYJKNPDYOIAOZVCISKHJVATGBSWP9VAXRTVACJBWDOOBQSHDBY9BO9D","address":"GDHPTALLKXGXOQXOFNWFYTDTGW9QFWZLSEH9SPZISBSQ99QJOXDVHDRJKVQD9PBDOFFDTYYZLOGUTFAN9","value":-1,"obsoleteTag":"GATCBDBDBDEASCTCEAHDPCVCGA9","timestamp":1513808981,"currentIndex":1,"lastIndex":2,"bundle":"B9EVNFDKAUNZCXYFSBVKWPDYVKIKFFXKBGZLOHIBUZNPVQQLQVKAUFKWMEEAZKHTHJ9WKWAC9YECHDTEC","trunkTransaction":"BHEWKNEXOUCUKQUQATMUHLLMNCCCKOGPUN9GZTD9SWBYNZVBXBFKLKYAUFYLCRVUBIWPVNLNZYQCZ9999","branchTransaction":"XIWXXIUQ9DYTWDAELVPGNYNKTHOSFFUHBIZ9RRQWPZCAZETAHXIWYPSEGZGABCMPOHLUVIXZJMXTZ9999","tag":"GATCBDBDBDEASCTCEAHDPCVCGA9","attachmentTimestamp":0,"attachmentTimestampLowerBound":0,"attachmentTimestampUpperBound":0,"nonce":"HJB99999999SA99999999999999"},{"hash":"BHEWKNEXOUCUKQUQATMUHLLMNCCCKOGPUN9GZTD9SWBYNZVBXBFKLKYAUFYLCRVUBIWPVNLNZYQCZ9999","signatureMessageFragment":"ERXAQOQAWCTFBGKMGHQRGVFYIAZNBMJCIEQYNQVKVPICMSOGEMFMFJTPCBFXEMOMBWC9NRZEQMYNNNYWAGKKQZNAUULKQCSSWZLGJIWHXJESLPYHQPFEISMJEL9XDDXYT9OECKKZWHUMACVXTLSPWUHQFFRYLEPQMDNCDDHQ9RUOQVFILOUOIEWDHE9RNDXPVDMATQBMCYHTNLEEBQJYMZJBFIVRZTQDYUIDVAIYXZBROVBYQDBUVTFXEWSRQCXDKNAYVGSQIXHKGIKYWUTWRWGNDBCGFMTUF9HB9FPFQFFYNJIVALYBSLFOURPNALLLHZCZJS9X99ULPKJWLJEUUHZOCQNIZGASPWEPEXXE9SSVXVAAMAZL9SYTPQUVRLCXLJGEIVP9AKVIEZCBZJFWWOWYEKGZ9MAFZMAHWTOZV9EJBCMXKSUCVNSZIWHSZKCBVNIIERBMT9WGMCJSOGQDJHN9TBRHLQUSLHHTEWTEKBCLSEARDRVB9MBNTQDRZKOOMFBHNXMMHOTRQZKUSPVYZIEMRPMORSOOYDZDXKAUYCBHOYTSAJYSBUWKEECQITKSRDRNOCQUMJQRLOXWOCXXZBRKO9DKIX9AZNEBPJGEPAR9DKYJNSHGZDGJRQVLDUJJJPRKXISXOFHHRVETKBQCPOZRCO9BIAMAKYHIGA9KRHTJPOMW9VAVJAVCNJXEBQANGYOMOKNSIPUPXIBUZXYHTIYDCLMNCTGKNKXDOMEIBSRYSGGUVCGFBHAZTUKDARVSBF9KFPGBXWWKXMTCPPLIXGHUEMA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DNRJVGZDS9ITRKHQXXRZVPISTIRIIHUS99BIFDCIABIUHVIGFXXAKZNMYJOAYVTXBMEZMURYBERGEVQPLYCUPUSDYNLCXKCKXEVVDUYKYKDIZHM9QGBUBCPZVSNKAFAGW9DTULALMCJXGLIXQFZQWJ9LKHEN9JGEE9POPJX9TSVMZ9ZUPMQSWBGLXLZLMMEGTDLIACBQHIDYGOXGOOGZY99DMQJXMXUYEBUEYUGVCDKOFZDMJUYQ9WHFDFPXVHZGKXNHZKZRISBUDRIJSEESAQOCHOLMK9IGWS9MREVYFFYLECINPU9MD9POLPXGHLPFACVDSGHVK9UTFJPFGWOJRPY9","address":"GDHPTALLKXGXOQXOFNWFYTDTGW9QFWZLSEH9SPZISBSQ99QJOXDVHDRJKVQD9PBDOFFDTYYZLOGUTFAN9","value":0,"obsoleteTag":"GATCBDBDBDEASCTCEAHDPCVCGA9","timestamp":1513808981,"currentIndex":2,"lastIndex":2,"bundle":"B9EVNFDKAUNZCXYFSBVKWPDYVKIKFFXKBGZLOHIBUZNPVQQLQVKAUFKWMEEAZKHTHJ9WKWAC9YECHDTEC","trunkTransaction":"XIWXXIUQ9DYTWDAELVPGNYNKTHOSFFUHBIZ9RRQWPZCAZETAHXIWYPSEGZGABCMPOHLUVIXZJMXTZ9999","branchTransaction":"XAUKTLYOVWWARZZTVSXIQSUGNDNJQKIMAGSFNJQURDZUHSWJJMOSUJT9UYXCMQTJ9MDVZBRXRVBD99999","tag":"GATCBDBDBDEASCTCEAHDPCVCGA9","attachmentTimestamp":0,"attachmentTimestampLowerBound":0,"attachmentTimestampUpperBound":0,"nonce":"CAD9999999XXH99999999999999"}]

2

The message is stored in the space where the signature normally would be. In the signatureMessageFragment of the first transaction in the bundle, there is GACDZCTCEAADTCGDGDPCVCTCGA and a whole lot of 9's. These trytes translate to "oke message" as you can see on the ASCII Message to Trytes converter here.

  • ahhh perfect! Is it always stored there? Seems a bit confusing .. ? – Chai Dec 20 '17 at 23:03
  • It's called the signatureMessageFragment because it can hold either a signature or a message, which may be fragmented over multiple transactions in a bundle. – Laurence Dec 20 '17 at 23:12
  • Allright. Thanks. I am going to look into that part anyway. Got a good place to start! – Chai Dec 20 '17 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.