"gettransaction \"txid\" ( includeWatchonly )\n\nGet detailed information about in-wallet transaction \n\nArguments:\n1. \"txid\" (string, required) The transaction id\n2. \"includeWatchonly\" (bool, optional, default=false) Whether to include watchonly addresses in balance calculation and details[]\n\nResult:\n{\n \"amount\" : x.xxx, (numeric) The transaction amount in btc\n \"confirmations\" : n, (numeric) The number of confirmations\n \"bcconfirmations\" : n, (numeric) The number of Blockchain confirmations\n \"blockhash\" : \"hash\", (string) The block hash\n \"blockindex\" : xx, (numeric) The block index\n \"blocktime\" : ttt, (numeric) The time in seconds since epoch (1 Jan 1970 GMT)\n \"txid\" : \"transactionid\", (string) The transaction id.\n \"time\" : ttt, (numeric) The transaction time in seconds since epoch (1 Jan 1970 GMT)\n \"timereceived\" : ttt, (numeric) The time received in seconds since epoch (1 Jan 1970 GMT)\n \"details\" : [\n {\n \"account\" : \"accountname\", (string) The account name involved in the transaction, can be \"\" for the default account.\n \"address\" : \"PHCaddress\", (string) The PHC address involved in the transaction\n \"category\" : \"send|receive\", (string) The category, either 'send' or 'receive'\n \"amount\" : x.xxx (numeric) The amount in btc\n }\n ,...\n ],\n \"hex\" : \"data\" (string) Raw data for transaction\n}\n\nbExamples\n> phcd gettransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"gettransaction\", \"params\": [\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"] }' -H 'content-type: text\/plain;' http:\/\/127.0.0.1:9998\/\n(Error Code: -1)"