Get Transaction

gettransaction "txid" ( include_watchonly ) (waitconf)

Get detailed information about a send or receive of an address in same wallet. Here is a send transaction:

gettransaction 723a0882b43d55cabaf02ef61448afca334761f611e93623049f6f972fda51b

{
"amount": -0.05000000,
"fee": -0.00268000,
"confirmations": 63527,
"blockhash": "0f14fceabdef3810337abcc8dd5c42cde08d238fdcd23d70d8345249cfc24c",
"blockindex": 2,
"blocktime": 1533602584,
"txid": "723a0882b43d55cabaf02ef61448afca334761f611e93623049f6f972fda51b",
"walletconflicts": [
],
"time": 1534602524,
"timereceived": 1534602524,
"bip125-replaceable": "no",
"details": [
{
"account": "",
"address": "GT3JKH5J9DxbRvv97Pf3BjSXupMC37cn5",
"category": "send",
"amount": -0.05000000,
"label": "Test label",
"vout": 0,
"fee": -0.00218000,
"abandoned": false
},
{
"account": "First",
"address": "GU439d7Kq5wb2dx5wZ4yW8852gP2dVj8t",
"category": "send",
"amount": -0.00250255,
"label": "Default acct",
"vout": 1,
"fee": -0.00267000,
"abandoned": false
},
{
"account": "First",
"address": "GU439d7Kq5wb2dx5wZ4yW8852gP2dVj81",
"category": "receive",
"amount": 0.00250255,
"label": " Default acct",
"vout": 1
}
],
"hex": "02000000adf10300"
}