Author

Topic: trouble trying to joinpsbts (Read 166 times)

newbie
Activity: 21
Merit: 11
February 01, 2020, 11:33:08 PM
#3
When I try
> bitcoin-cli combinepsbt ["myPSBT1", "myPSBT1"]
I get
Error: Error parsing JSON:[myPSBT1
Try to enclose them in single quotation marks like this (before [) and ( after ]):
Code:
> bitcoin-cli combinepsbt '["myPSBT1", "myPSBT1"]' 

Holy moley that did it! THANK YOU! I was messing with this for a long time.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
February 01, 2020, 11:27:02 PM
#2
When I try
> bitcoin-cli combinepsbt ["myPSBT1", "myPSBT1"]
I get
Error: Error parsing JSON:[myPSBT1
Try to enclose them in single quotation marks like this (before [) and ( after ]):
Code:
> bitcoin-cli combinepsbt '["myPSBT1", "myPSBT1"]' 
newbie
Activity: 21
Merit: 11
February 01, 2020, 07:36:52 PM
#1
I'm having some trouble with the PSBT workflow on testnet for my first time. I was able to create 2 PSBTs and I can successfully decode them both using decodepsbt but when I try to run joinpsbts I am getting JSON parsing errors.

Help tells me;
joinpsbts ["psbt",...]
Examples:
> bitcoin-cli joinpsbts "psbt"


I have 2 PSBTs, I ran the command, but I must be messing something up...

I have 2 outputs that are basically;
"psbt": "myPSBT1",

and

"psbt": "myPSBT2",
  "complete": true

When I try
> bitcoin-cli joinpsbts "myPSBT1","myPSBT1"

I get;
Error: Error parsing JSON:myPSBT1

Not sure what I am doing wrong, but 1st time, so I'm sure some user error...

EDIT: For clarity, I ran createpsbt and then walletprocesspsbt separately on 2 unique PSBTs. Now I'm having trouble running joinpsbts and/or combinepsbt successfully. Both give the same JSON errors.

Further edit, I used my same 2 original transactions and instead of createpbst, I used walletcreatefundedpsbt and then tried to joinpsbts on those outputs, and no luck either.

Jump to: