mirror of
https://github.com/wownero/onion-wownero-blockchain-explorer-themefork.git
synced 2026-10-17 07:41:27 +02:00
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.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user