@@ -3788,6 +3788,7 @@ UniValue issueasset(const JSONRPCRequest& request)
37883788 " \n Result:\n "
37893789 " { (json object)\n "
37903790 " \" txid\" :\" <txid>\" , (string) Transaction id for issuance.\n "
3791+ " \" vin\" :\" n\" , (numeric) The input position of the issuance in the transaction.\n "
37913792 " \" entropy\" :\" <entropy>\" (string) Entropy of the asset type.\n "
37923793 " \" asset\" :\" <asset>\" , (string) Asset type for issuance if known.\n "
37933794 " \" token\" :\" <token>\" , (string) Token type for issuance.\n "
@@ -3866,7 +3867,7 @@ UniValue issueasset(const JSONRPCRequest& request)
38663867
38673868 UniValue ret (UniValue::VOBJ);
38683869 ret.push_back (Pair (" txid" , wtx.tx ->GetHash ().GetHex ()));
3869- ret.push_back (Pair (" vin" , " 0 " ));
3870+ ret.push_back (Pair (" vin" , 0 ));
38703871 ret.push_back (Pair (" entropy" , entropy.GetHex ()));
38713872 ret.push_back (Pair (" asset" , asset.GetHex ()));
38723873 ret.push_back (Pair (" token" , token.GetHex ()));
@@ -3886,7 +3887,10 @@ UniValue reissueasset(const JSONRPCRequest& request)
38863887 " 1. \" asset\" (string, required) The asset you want to re-issue. The corresponding token must be in your wallet.\n "
38873888 " 2. \" assetamount\" (numeric or string, required) Amount of additional asset to generate.\n "
38883889 " \n Result:\n "
3889- " \" txid\" (string) Txid of the issuance transaction\n "
3890+ " { (json object)\n "
3891+ " \" txid\" :\" <txid>\" , (string) Transaction id for issuance.\n "
3892+ " \" vin\" :\" n\" , (numeric) The input position of the issuance in the transaction.\n "
3893+ " }\n "
38903894 " \n Examples:\n "
38913895 + HelpExampleCli (" reissueasset" , " <asset> 0" )
38923896 + HelpExampleRpc (" reissueasset" , " <asset>, 0" )
@@ -3989,7 +3993,7 @@ UniValue listissuances(const JSONRPCRequest& request)
39893993 " \" asset\" :\" <asset>\" , (string) Asset type for issuance if known.\n "
39903994 " \" assetlabel\" :\" <assetlabel>\" , (string) Asset label for issuance if set.\n "
39913995 " \" token\" :\" <token>\" , (string) Token type for issuance.\n "
3992- " \" vin\" :\" <vin> \" , (numeric) The vin for the issuance.\n "
3996+ " \" vin\" :\" n \" , (numeric) The input position of the issuance in the transaction .\n "
39933997 " \" assetamount\" :\" X.XX\" , (numeric) The amount of asset issued. Is -1 if blinded and unknown to wallet.\n "
39943998 " \" tokenamount\" :\" X.XX\" , (numeric) The reissuance token amount issued. Is -1 if blinded and unknown to wallet.\n "
39953999 " \" isreissuance\" :\" <bool>\" , (bool) True if this is a reissuance.\n "
0 commit comments