How can i get the 'Comment' and 'Comment-to' from the transaction?

+1 vote

   Hi , i'm using sendtoaddress and i can't find a way to read the comment and comment-to 

 

anyone know ?

 

tnx a lot

asked Aug 5, 2016 by Amos

1 Answer

0 votes

These 'comment' fields are local to the node and not embedded in the blockchain transaction. If you want to add globally visible data to a transaction, use an API like sendwithmetadata whose last parameter provides hexadecimal metadata to be embedded in the chain.

answered Aug 5, 2016 by MultiChain
...