sendassettoaddress function - where does comment go to ?

+2 votes
Hey guys ,

I am sendign one asset to another with the follwoign parameters :

return $this->jsonRPCClient->execute("sendassettoaddress", array($address, $asset, $qty, $nativeAmount, $comment, $commentTo));


I am sending a string in the comment but how do i retrieve it ?

I'm checking in the web demo and even block explorer but can't seem to find the comment anywhere ?
asked Sep 14, 2017 by anonymous

1 Answer

0 votes

The comment fields are just for internal use by the node and are not written to the blockchain. Take a look at the sendwithmetadata API call to attach on-chain metadata to an asset sending transaction.

answered Sep 14, 2017 by MultiChain