Welcome to the Developer Q&A for the MultiChain enterprise blockchain platform.

Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.

If you wish to register as a new user, please contact us.

inline data for NFT token

+2 votes

Hi,

I'm trying non-fungible token in multichain and searched previous Q&A list, it suggested inline data to tag information in each transaction. Below link is my trying capture, https://reurl.cc/AqMQ4K​  

I used sendfrom with amount parameter to add the inline data, but it can't  show each token identity. I saw the previous idea suggested to use " listunspent+createrawtransaction", I tried bit got confused, 1. listunspent shows all the txid records, it's hard to check which one is my targeted transaction; 2. createrawtransaction can tag data into each transaction, but it can't identify each token if it contains lots of token in a transaction;

Besides, with smart filter, does it just check/verify the inline data in each transaction? 

I'm still new in multichain development, please advise or share experience. 

Thank you.Walter 

asked May 13, 2020 by Walter

1 Answer

0 votes
There's an example transaction filter for non-fungible tokens here:

https://github.com/MultiChain/smart-filter-examples/blob/master/transaction-filters/track-asset-units.js

It includes information on how transactions should be built.
answered May 14, 2020 by MultiChain
createrawsendfrom to issue asset
...