Get detailed information about in-wallet transaction.
txidstringREQUIREDinclude_watchonlybooleanoptionalverbosebooleanoptionalcurl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"gettransaction","params":["txid"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/{
"amount": 0.50000000,
"confirmations": 12,
"blockhash": "00000000000000...",
"blockheight": 840000,
"txid": "a1075db55d...",
"time": 1713571767,
"details": [...]
}