Issue with custom-field : how to find back data after transaction ?

+1 vote

Hi,

I did an issuemore and fill with data cutom-field. After that, I can see my data looking at information using a simple getwallettransaction :

    "issue" : {
        "name" : "test1",
        "assetref" : "14616-266-12229",
        "details" : {
            "customInfo" : "MyData"
        }

But I send this "test1" from an address to antoher, I don't know how to find back the details ? I don't find it neither using getwallettransaction, nor gettransaction, nor gettxout, nor decoderawtransaction based on hex of the transaction.

Then, if I send units of asset created with custom-filed, how the address I send units to will be able to find this information ?

 

asked Nov 24, 2016 by Ub

1 Answer

0 votes
 
Best answer

You should call listassets test1 true to get the full history of all issuances for that asset.

answered Nov 25, 2016 by MultiChain
selected Nov 25, 2016 by Ub
The problem is : I'm able to know custom-field information in the BlockChain, but not in my own wallet.

Given information is :
            {
                "txid" : "...", //Creation txId
                "qty" : 1.00000000,
                "raw" : 1,
                "details" : {
                    "customInfo" : "MyData"
                },
                "issuers" : [
                    "..." // Issuer address
                ]
            }


Imagine :
- I create 100 units of asset
- each unit is progressively created using issuemore and giving a particular custom-field value for each
- each unit is sent to a new address and sent again and again ... 100 times so much that I not able to be sure of the txId

In this case, how can I know which custom-field value is given to the units I have in my own wallet ?
All units of an asset are fungible from the blockchain's perspective, even if they come from different issuances. If you want to identify issuances separately you should use multiple assets, not multiple issues of one asset.
...