Once a transaction is completed on Ethereum Wallet then we can see the address of the transaction in our geth console : [ Tx("{txn address}") to: "{contract_address}" ]before mining starts. Pic attached for reference.
How can I capture that address and the address of contract which is shown just along transaction address in any format possible so that I can show the transaction address in UI ?