mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00: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:
parent
9c9d9bede8
commit
76bd39a3ec
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue