Is this what you mean?
https://www.multichain.com/developers/json-rpc-api/
issue address name|params qty (units=1) (native-amount=min-per-output) ({"custom-field-1":"x",...})
Or
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...} (data=[]) (action="")
Update:
createrawtransaction | [{"txid":"id","vout":n},...] {"address":amount,...} (data=[]) (action="") |
Issue API: I will have to dive into the code, but I dont think data is part of issue or issuefrom
here is the raw JSON-RPC for Issue as you would add your custom data. replace the address with your address, closed (your choice), units qty etc are your choice. MyKey1 is where you place your custom key/value pair
{
"method": "issue",
"params": ["address", {
"name": "AssetName",
"open": true
}, 10, 1.0, 0.0, {
"MyKey1": "MyVal",
"MyKey2": "MyVal",
}],
"int": 0
}