appendrawmetadata

+1 vote
i did the following, preparelockunspentfrom,createrawexchange and lastly fired appendrawmetadata. it generates hex , however when i fire getblock with block number, i cannot see the metadata. if i fire the decoderawtransaction  command i can see the metadata.
asked May 8, 2018 by dannydias

1 Answer

0 votes

It sounds like you didn't call sendrawtransaction to actually send the transaction on the blockchain.

Please also note that if you call appendrawmetadata after completing an exchange, you will need to call signrawtransaction again, since otherwise the metadata will not have been signed. So you're better off using completerawexchange which can take care of all this in a single step.

answered May 9, 2018 by MultiChain
...