I am building a blockchain explorer and found a couple of transactions which are causing problems for me.
These transactions have no inputs and have negative value outputs. Furthermore, the negative value outputs have been spent in transactions which appear to have greater outputs than inputs. When I check these transactions on block explorers like Blockchain.com these transactions look ok. But what I get from running getrawtransaction and decoderawtransaction is not consistent with those explorers.
The outputs that I'm looking at are:
Created in tx
9789cf1e36def70ea44219c6c2bd633bf831a67cb659a19c2757b709883cdd6eSpent in tx
4faba86e9cc006378216defa5bb29c87826d8aa5d02c7a03af2c1f237ec98354Created in tx
797d455d6a13c9418a8c6d75aa119827c3b6036b015687e9de7f4d2f16bfadeeSpent in tx
8728c4ddc43c8f1259cb4fe08c28eea732f168b9960c3f40c0e5ac81baeddc0cCan anyone help me understand what's going on with these transactions? If this isn't the right place for this issue, please direct me appropriately.
decoderawtransaction returns the following for the creation transactions:
9789cf1e36def70ea44219c6c2bd633bf831a67cb659a19c2757b709883cdd6e
{
"txid": "2666d2a297ebfae94acde2de646da030e89390f8a5db47b28b2facd2aa115de8",
"hash": "2666d2a297ebfae94acde2de646da030e89390f8a5db47b28b2facd2aa115de8",
"version": 2,
"size": 247,
"vsize": 247,
"weight": 988,
"locktime": 577040,
"vin": [
],
"vout": [
{
"value": -17534850228.57082879,
"n": 0,
"scriptPubKey": {
"asm": "f741af6d43f263469ebdd637ef675f3993c8a4ba3a484700000000171600149f056ad3eca966bcc 2fd0d42094f832b OP_GREATERTHANOREQUAL b96ffeffffff0208154000000000 0 a9145d1de5b2624c864dec38c31c03ce231fc98d941d87 a107000000000017a91469f3770869d3e1050705a261ce889a5ad06279668702 30440220199d3ee61b66f104dedb00cd2c2ef9ec5f14d4c01616774d823ca005eeda10f502206c1 0a5c0b54d0c3afa453d2398b7972ee641290de2030ec5f0a827a0a3bbfad301 0270f02837ac8a22f0339de1682c691e09e329ed10cbabdcb327bbc5aa55688020",
"hex": "2ff741af6d43f263469ebdd637ef675f3993c8a4ba3a484700000000171600149f056ad3eca966b cc2fd0d42094f832ba20eb96ffeffffff02081540000000000017a9145d1de5b2624c864dec38c3 1c03ce231fc98d941d8720a107000000000017a91469f3770869d3e1050705a261ce889a5ad0627 96687024730440220199d3ee61b66f104dedb00cd2c2ef9ec5f14d4c01616774d823ca005eeda10 f502206c10a5c0b54d0c3afa453d2398b7972ee641290de2030ec5f0a827a0a3bbfad301210270f 02837ac8a22f0339de1682c691e09e329ed10cbabdcb327bbc5aa55688020",
"type": "nonstandard"
}
}
]
}
797d455d6a13c9418a8c6d75aa119827c3b6036b015687e9de7f4d2f16bfadee
{
"txid": "d8467acfda16257379be1382ea79119157d2e44df8fae0e694f6f0b18f3faac9",
"hash": "d8467acfda16257379be1382ea79119157d2e44df8fae0e694f6f0b18f3faac9",
"version": 1,
"size": 225,
"vsize": 225,
"weight": 900,
"locktime": 0,
"vin": [
],
"vout": [
{
"value": -85052256939.66577919,
"n": 0,
"scriptPubKey": {
"asm": "15 dcd732092c3063a77677e25289666c3482343b9949a70100000000ffffffff0277baae000000000 01600148cd6335dc07c41004977476a589eca62 b6ea8be0a28d08000000001976a914fbc4c33466c70d971163ef30b3fcf0acc2698ee988ac02473 04402204ad820377dff239d04ff25dddb294f28cb22956586 11 c2fa8ddbcef9122b9202200fc0935ca6f50c85b80022ab2b62d527d625e4dce4c1dc48295d0de1c 77eb83b01 02d4e71f92096d026a383c3500c6bdb5688b40281e2e0cf42636aff8a8e271f828",
"hex": "5f3bdcd732092c3063a77677e25289666c3482343b9949a70100000000ffffffff0277baae00000 000001600148cd6335dc07c41004977476a589eca6240b6ea8be0a28d08000000001976a914fbc4 c33466c70d971163ef30b3fcf0acc2698ee988ac0247304402204ad820377dff239d04ff25dddb2 94f28cb229565865b2cc2fa8ddbcef9122b9202200fc0935ca6f50c85b80022ab2b62d527d625e4 dce4c1dc48295d0de1c77eb83b012102d4e71f92096d026a383c3500c6bdb5688b40281e2e0cf42 636aff8a8e271f828",
"type": "nonstandard"
}
}
]
}