Hello,
I am looking for help in identifying the fields and the data that the Web Socket Kafka Producer API produces. Below is a sample of a block. Is there a resource that explains the JSON below?
closing websocket
CloseReason[1000,Session closed by the container because of the idle timeout.]
opening websocket
--Sending 53 to topic: bitcoin --------
{
"op" : "utx",
"x" : {
"lock_time" : 0,
"ver" : 1,
"size" : 408,
"inputs" : [ {
"sequence" : 4294967295,
"prev_out" : {
"spent" : true,
"tx_index" : 336028388,
"type" : 0,
"addr" : "3Q6gAbAEoBMFA8kdRit1g7agoCjzZF6JRt",
"value" : 177182689,
"n" : 1,
"script" : "a914f5cc41dfe156bd6bb4b44c1dfd19564187bcd2ca87"
},
"script" : "220020c5439b038acf098b546010ad591d8ab6b3be6eff52c0f957983942badc911918"
} ],
"time" : 1520908327,
"tx_index" : 336033077,
"vin_sz" : 1,
"hash" : "d9b95f25a38cda92db18f7cab1643601492ed81a7876abddd60eb478673bd7fb",
"vout_sz" : 2,
"relayed_by" : "0.0.0.0",
"out" : [ {
"spent" : false,
"tx_index" : 336033077,
"type" : 0,
"addr" : "32CD6SjV2PkdpnL9qpB7XiCr1o4rDRmKdc",
"value" : 176843231,
"n" : 0,
"script" : "a91405856341e929164a5ba7584bbe6fcd706576938687"
}, {
"spent" : false,
"tx_index" : 336033077,
"type" : 0,
"addr" : "1GqXdfPBzFJJsVfvquibWkwBC58JNhq6dF",
"value" : 338497,
"n" : 1,
"script" : "76a914adb76c5e23d0ab92404bd77059ce26c5d278be0d88ac"
} ]
}