Stellar newbie here, using the ZuluCrypto PHP SDK. I can successfully submit this transaction:
$transaction = Server::testNet() ->buildTransaction(xxx_Account_A_xxx) ->addCustomAssetPaymentOp($asset, $amount, xxx_Account_B_xxx) ->setMemo( new Memo(3, 'DEADMEATDEADMEATDEADMEATDEADMEAT'));
3 is the
MEMO_TYPE for a 32 byte hash.) But then transaction record retrieved from
horizon-testnet shows the memo as
REVBRE1FQVRERUFETUVBVERFQURNRUFUREVBRE1FQVQ= (with the correct
memo_type 3), and the Stellar Lab XDR viewer won't decode this as a "Memo" or anything else.
How do I set a memo and then retrieve that memo from the transaction record?