Raw-Transaction
rawtransaction 中的 OP_RETURN 被拒絕,錯誤程式碼為 -25
我是比特幣的新手,我正在嘗試生成一個 rawtransaction,但 bitcoin-cli sendrawtransaction 返回一個錯誤程式碼 -25。
交易是
{ "locktime": 0, "version": 1, "vin": [ { "sequence": 4294967295, "scriptSig": { "hex": "48304502204912c3f006284a9d0b57ded3fc8f04f72e2a48000f28967e0069bda6a9d8bac6022100e7af707986ff5b52e5d5868726156eded2ef29ccda1a8ad83f98d71597dcdce3012102d7c641bc6e04d3717416356e1b42fb5c5be6780f8c819715789efc6dafdf0539", "asm": "304502204912c3f006284a9d0b57ded3fc8f04f72e2a48000f28967e0069bda6a9d8bac6022100e7af707986ff5b52e5d5868726156eded2ef29ccda1a8ad83f98d71597dcdce301 02d7c641bc6e04d3717416356e1b42fb5c5be6780f8c819715789efc6dafdf0539" }, "vout": 1, "txid": "a713489612f927ccc3c410173a8d616d6f17df0774e3e79d7715b4cfc72ec6a4" } ], "vout": [ { "scriptPubKey": { "type": "nulldata", "hex": "6a0a444b4559736563726574", "asm": "OP_RETURN 444b4559736563726574" }, "value": 0.0, "n": 0 } ], "txid": "4481f82e7d6b298597d211881b107740bc0f2b2244e898261c42c38505a3efb8" }
怎麼了?
區塊鏈中沒有 txid=a713489612f927ccc3c410173a8d616d6f17df0774e3e79d7715b4cfc72ec6a4。您正在嘗試花費不存在的輸出。