From 76bd39a3ecc3cf9884257e829d5ba2b34a81eed6 Mon Sep 17 00:00:00 2001 From: jmacxx <47253594+jmacxx@users.noreply.github.com> Date: Mon, 10 Aug 2020 11:10:12 -0500 Subject: [PATCH] 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. --- src/page.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/page.h b/src/page.h index e170d14..7f9a5ce 100644 --- a/src/page.h +++ b/src/page.h @@ -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";