Get Raw Transaction

getrawtransaction "txid" ( verbose "blockhash" )

To get the complete information of transaction. Here formatted data is shown.

getrawtransaction

cbd113e947d5c1b3fccae149d0d16c82e13e947d5c1b3fccae149d0d16c82eqw true

{
"txid": "cbd113e947d5c1b3fccae149d0d16c82e13e947d5c1b3fccae149d0d16c82eqw",
"hash": "cbd113e947d5c1b3fccae149d0d16c82e13e947d5c1b3fccae149d0d16c82eqw",
"version": 1,
"size": 225,
"vsize": 225,
"locktime": 0,
"vin": [
{
"txid": "585c69575402000d74bbsakdhkahdskhdhk67886gqw88781gggahghhhaaqx1cd",
"vout": 1,
"scriptSig": {
"asm": "304402201df556eb5aa6bd97756d6fc3262cf2c38ab8e00b57bd988e1ef172621e2d2e480220585c69575402000 74bbsakdhkahdskhdhk67886gqw88781 gggahghhhaaqx1cd[ALL|ANYONECANPAY] 03845440d93fcaafc1a55d079217efcdd137de3ba0df39e747619d829a972cc150",
"hex": "47304402201df556eb5aa6bd97756d6fc3262cf2c38ab8e00b57bd988e1ef172621e2d2e480220130e3 aea45fad2f26d4eab57426273a4159b71139b585c69575402000d74b1212bsak dhkahdskhdhk67886gqw88781gggahghhd079217efcdd137de3ba0df39e747619d829a972cc150"
},
"sequence": 4294933395
}
],
"vout": [
{
"value": 100.78541000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 917e59bd55c357c0701c62edf8f243332c48f055 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a91497e59bd55c35112212121212df8f43332c80588ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"GaT9CkyU546ZnFL7KRi5h6p4XyghKRkifT"
]
}
},
{
"value": 10000.00000000,
"n": 1, "scriptPubKey": {
"asm": "OP_DUP OP_HASH160 e8e41858c07e8e41858c0726783e88e4954a1 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a914e8e41e8e41858c0726783e88ad1244e4954a188ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"Gtum8SyVMN2sZ2KC8Wsa6hbTXHVMHFf2D"
]
}
}
],
"hex": "0100000001fa179a9c8ad5934f609ff49e4d8bc7633f6d2f5dbe8e41858c0726783e8873a0000006a47304402201 df558ab8e6eb5aa6bd97756d6fc3262cf2c300b57bd988e1ef172621e2d2e480220130e3aea45fad2f26d4 eab57426273a4159b71139b7c9ea68ee9ed83776e15ae812103845440d93fcaafc1a55d079217efcdd137de3ba0df39e7476 19d829a972cc150ffffffff0248863900070000001976a91497e59bd55c357c0701c7e930c62df8f43332c80588acb03c650912 0100001976a914e8e41858c0726783e88cdd2d0119aa872e4954a188ac00000000",
"blockhash": "f4119bc4e7b925ba1c460833bddaa8a0730cf3fca06deb6dec578894ca0cd6a4",
"confirmations": 17,
"time": 1512315856,
"blocktime": 1512315856
}


The first output "vout" sends 100.78541000 GLITCH to a receiving address, the second sends 10000 GLITCH to a change address. The transaction fee is difference between the inputs and outputs.