BitShares Forum
Main => Technical Support => Topic started by: monsterer on October 25, 2015, 05:58:53 pm
-
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?
-
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 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 :)