Hey all,
I could use some expert help here. I'm trying to access multisig outputs from a particular transaction and I have tons like it. Looking to collect them all, worth over $1k in BTC. Here's the link to one of them:
https://mempool.space/tx/YOUR_TXID_HERE
I created a transaction that tries to spend the outputs to the original address, but I keep getting the error "bad-txns-inputs-missingorspent" on Electrum.
Pretty sure they’re unspent since I redeemed some back in 2014.
Need Help with Spending Multisig Outputs from Counterparty
20 replies 386 views
You're gonna need to run your own node if you want to handle those non-standard transactions. Or... just pay a miner to include them in a block.
I wish I could, but I don't have Bitcoin Core installed. I feel like there’s a way to do this via a push tx service. I’d rather not pay a miner if my transaction is messed up, which it might be. I tried using this one:
https://bitaccelerate.com/pushtx/
But got the same error.
Did you try reaching out to dexx@? It might be worth checking since that service was originally made when Bitcoin prices were lower.
Good point! I checked the decode results and the prev_hash in the inputs refers to something that doesn't exist on the Bitcoin blockchain. Looks like I'm trying to spend fake Bitcoin.
Nice find! If you fixed it great. Although now I'm hitting a new error: "RPC error -26: bad-txns-nonstandard-inputs". I really need someone with a custom version of Bitcoin to help push this through.
Yeah, I looked it up those outputs are recognized by quite a few Counterparty explorers. If you need to push non-standard transactions, reach out to a miner or try to get someone willing to accept it.
gwei_blockNewbie
Posts: 76 · Reputation: 37
#8Dec 23, 2018, 11:37 AM
Slipstream.mara.com is a good option for non-standard transactions. They accept those that regular nodes won’t relay, which means they’re less likely to get ignored.
Just a guess, but your transaction has an empty scriptsig, that might be causing issues.
Here's a cool update managed to consolidate and spend some outputs using a new feature from Counterparty. Check this out:
https://mempool.space/tx/YOUR_CONSOLIDATION_TXID_HERE
Some multisig outputs are consolidatable while others are not.
I figured out some bare multisig outputs can be spent, but I keep getting this annoying error on Electrum:
'Imported_Wallet' object has no attribute 'add_unspent_tx'. Trying to use other services gives me "bad tx input missing or spent".
Is this linked to your post about "permitbaremultisig"? I checked one of the non-standard outputs and it’s using a non-canonical public key. Maybe that’s why.
I had a major revelation! These outputs can be redeemed if they’re a 1-of-3 multisig. I tried using vout=0 for one but still got the same error. It says "bad-txns-inputs-missingorspent". What gives?
Same error here... Checking the block explorers, they do see the transaction. It might be that something’s still off in how the transaction is built.
Maybe check the signed raw transaction with decoderawtransaction. Look at the inputs there might be something wrong.
I appreciate the help! By the way, I had a mistake in my script. Now it’s giving me "bad-txns-nonstandard-inputs". I’m trying to figure out the correct input structure.
Let’s test it in regtest. Start with an empty wallet, import your multisig, and then try generating some regtest coins. Should give you something to work with.
gwei_blockNewbie
Posts: 76 · Reputation: 37
#18Dec 27, 2018, 02:40 AM
I see the issue. If a public key starts with 02 or 03, it's standard. But if it starts with something else, it’s non-standard, meaning miners won't touch it.
Use the Slipstream service for non-standard transactions. Pretty affordable fee rate but you gotta get a client code first which can be slow.
Thanks! But I’m coding everything with Python. That might be the issue? Also, I applied for the Slipstream code weeks ago and still no word.
Related topics
- Need Help Cracking My Bitcoin Wallet Password 19
- Need Help! My Electrum Wallet Won't Sync 6
- Need Help Redirecting Bitcoin Knots to Existing Blockchain 3
- Need Help Recovering Old Bitcoin Wallet from 2009 19
- Help Needed for Long-Stuck Bitcoin Transactions since February 19
- Help Needed with Blockchain.info Backup 6