This example tx has been signed & sent successfully on the chain; it
1) sends 4 native asset from party A to party B
2) issues a new asset to a 2 of 2 multisig address
It's inputs are an unspent output of the native asset from the purchaser (A) to pay for the tx, and a unspent input signed by the issuer (B).
I'd like to return change to A, but using appendrawchange (before any signing) results in an error:
Error: Unconfirmed issue transaction in input
The appendrawchange call is
<txhex> ,1bbSCJn8Ziz9Z3EsBycbStjxrqyNsfYPeaPpvb,
I found another question from a couple years back that looks to be the same issue; that response says the issue was resolved in alpha 19
https://www.multichain.com/qa/1131/appendrawchange-throws-insufficient-funds-why?show=1131#q1131
I'm using V2.0.2
Am I missing something obv, or is this a known issue / regression?
Thanks,
-T
{
"txid": "dc7237e18581e2e9abbc39e8c71b679cbb918ded7ecb5a4a4a326e4b25404ab2",
"version": 1,
"locktime": 0,
"vin": [
{
"txid": "27bcf56d24a356306f6c8ef82515dffb68657017566b33e1b4ee8b01dd45724f",
"vout": 0,
"scriptSig": {
"asm": "",
"hex": ""
},
"sequence": 4294967295
},
{
"txid": "17cf9c8d79d27ada6bea37cd19392c5d85888e172c6b13ed0c3763801c385079",
"vout": 0,
"scriptSig": {
"asm": "",
"hex": ""
},
"sequence": 4294967295
}
],
"vout": [
{
"value": 0,
"n": 0,
"scriptPubKey": {
"asm": "OP_HASH160 7aea63c9c90256ccdef5cee2b7e493919dadf0b8 OP_EQUAL 73706b670100000000000000 OP_DROP",
"hex": "a9147aea63c9c90256ccdef5cee2b7e493919dadf0b8870c73706b67010000000000000075",
"reqSigs": 1,
"type": "scripthash",
"addresses": [
"4GcRSJJKbD64fDy81U77EcG3cxTeYD3wKe21kh"
]
},
"assets": [
{
"name": null,
"issuetxid": null,
"assetref": null,
"qty": null,
"raw": 1,
"type": "issuefirst"
}
]
},
{
"value": 4,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 aa0662d72928316f52031fe83120996ea6994795 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a914aa0662d72928316f52031fe83120996ea699479588ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"1PypeJZgeCXpXFKcqKDFBMR4SAejWxeBtsVEC8"
]
}
},
{
"value": 0,
"n": 2,
"scriptPubKey": {
"asm": "73706b6e01000114454d422d34476352534a4a4b624436346644793800410401000000000201000005117b6906637573746f6d536904646174617d OP_DROP OP_RETURN",
"hex": "3b73706b6e01000114454d422d34476352534a4a4b624436346644793800410401000000000201000005117b6906637573746f6d536904646174617d756a",
"type": "nulldata"
}
}
],
"issue": {
"type": "issuefirst",
"name": "EMB-4GcRSJJKbD64fDy8",
"multiple": 1,
"open": false,
"details": {
"custom": "data"
}
}
}