outputs fields added

This commit is contained in:
moneroexamples 2018-11-30 15:35:11 +08:00
parent 05f032ee36
commit c2c5e0b5f0

View file

@ -1899,6 +1899,12 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
{"spendkey", ""}, {"spendkey", ""},
{"amount", 0ull}, {"amount", 0ull},
{"change", 0ull}, {"change", 0ull},
{"outputs", json::array({json::array(
{"index placeholder",
"public_key placeholder",
"amount placeholder"}
)})
},
{"_comment", ""}}; {"_comment", ""}};
tx_json["recipient"] = json::array(); tx_json["recipient"] = json::array();
@ -1911,6 +1917,12 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
{"viewkey", ""}, {"viewkey", ""},
{"spendkey", ""}, {"spendkey", ""},
{"amount", 0ull}, {"amount", 0ull},
{"outputs", json::array({json::array(
{"index placeholder",
"public_key placeholder",
"amount placeholder"}
)})
},
{"_comment", ""}}); {"_comment", ""}});