Main Menu

[API] get decoded memo?

Started by monsterer, October 25, 2015, 05:58:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

monsterer

Quote from: roadscape on October 26, 2015, 04:22:31 AM
The easiest way is to use get_account_history, which includes decrypted memo.

Yeah would be great to have a specific method for this.. I don't believe one exists yet.

There's xeroc's python code for encrypting/decrypting memos:
https://github.com/xeroc/python-graphenelib/blob/master/graphenebase/memo.py

The reason I'm using get_block in the first place is because I can't make any sense of get_account_history... I'll take a look at xeroc's code, thanks :)
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

roadscape

The easiest way is to use get_account_history, which includes decrypted memo.

Yeah would be great to have a specific method for this.. I don't believe one exists yet.

There's xeroc's python code for encrypting/decrypting memos:
https://github.com/xeroc/python-graphenelib/blob/master/graphenebase/memo.py
http://cryptofresh.com  |  witness: roadscape

monsterer

So, I got my transaction from get_block, and of course the memo is encoded. Is there a way to get the API to decode this for me?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads