Add tx_confirmations to resultset in api/outputs

Adding the count of confirmations (tx_confirmations) enables this
API to prove that an XMR transaction has been both sent and
confirmed in the blockchain.
master
jmacxx 4 years ago
parent 9c9d9bede8
commit 76bd39a3ec
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B

@ -5413,6 +5413,7 @@ json_outputs(string tx_hash_str,
j_data["address"] = pod_to_hex(address_info.address);
j_data["viewkey"] = pod_to_hex(prv_view_key);
j_data["tx_prove"] = tx_prove;
j_data["tx_confirmations"] = txd.no_confirmations;
j_response["status"] = "success";

Loading…
Cancel
Save