Reading memo given the txid, how?


#1

I’m trying to extract details of a zaddr receipt using just the txid & zcash-cli on the receiving wallet/node.

For some reason I’m struggling & can’t find anything in the docs, perhaps I’m just getting old or maybe someone secretly switched my coffee for decaf.

Would appreciate some pointers.


#2

You need z_listreceivedbyaddress see https://zcash-rpc.github.io/z_listreceivedbyaddress.html - it’ll return the memo in hexadecimal.

Alternatively zec-qt-wallet does a great job of memo support https://github.com/ZcashFoundation/zec-qt-wallet


#3

Thanks, I’m back on the right track.

I’m using multiple zaddrs & had daftly assumed I could scan them all at once for a txid. Obviously it needs the address to get the key before it can scan.