gettransaction - Okcash RPC

gettransaction "txid" 

Get detailed information about in-wallet transaction <txid>

Arguments:
1. "txid"                  (string, required) The transaction id

Result:
{
   "txid" : "133711d8c7f7aeda645f77034fcb7e75ab29135e4547eac72da0fafb64daca02",
    "version" : 1,
    "time" : 1485328944,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "878ceb445cef7454afd59cfc3908a2ea4fc943ab5ec57806c57b0d461b6676e9",
            "vout" : 2,
            "scriptSig" : {
                "asm" : "3045022100cd3d25e50af40f383417898f1be3a770ad8e5dc534fedc2525e3b6be48e6e34a0220599faa77062d7e619c0907e669dece081c89e597147e933626b8816703edc6ca01",
                "hex" : "483045022100cd3d25e50af40f383417898f1be3a770ad8e5dc534fedc2525e3b6be48e6e34a0220599faa77062d7e619c0907e669dece081c89e597147e933626b8816703edc6ca01"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 0.00000000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "",
                "type" : "nonstandard"
            }
        },
        {
            "value" : 2844.48124697,
            "n" : 1,
            "scriptPubKey" : {
                "asm" : "0398bafce02e060adacd59572576a237c77a54e20a664d40b95ee3de4fbe58e15a OP_CHECKSIG",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "PLQLHgwsaYrWVQpaQPmwAFFmfnJhJQ1fFr"
                ]
            }
        }
    ],
    "blockhash" : "d5763c1fe110dfb33bc8155544ec4ed620099180db208c72a6cbaa18dc7d3d83",
    "confirmations" : 1344389

}

Examples:
> okcashd gettransaction "133711d8c7f7aeda645f77034fcb7e75ab29135e4547eac72da0fafb64daca02"

> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["133711d8c7f7aeda645f77034fcb7e75ab29135e4547eac72da0fafb64daca02"] }' -H 'content-type: text/plain;' http://127.0.0.1:6969/


Okcash Core RPC documentation.

Okcash version: 5.0.0.3

OK RPC docs at:Github