Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

How do you spend from multisig address? #13

Open
blanxii opened this issue Jan 10, 2017 · 2 comments
Open

How do you spend from multisig address? #13

blanxii opened this issue Jan 10, 2017 · 2 comments

Comments

@blanxii
Copy link

blanxii commented Jan 10, 2017

Hello,

We have problems when we try to make a TX with multisig address

bcapi.newTX({ inputs: [{ addresses: ['35wm5tDfFeEYjeeTZ17Lee16JCi9DkXBBG']}], outputs: [{ addresses: ['1AxY6mEfFn9r2ynScSyb3KRXRS7q6FBGX'], value: 2500 }] }, printResponse)

Output:

{ error: 'Error building input: Cannot use P2SH as input without \'script_type\' set to \'multisig-n-of-m\'' }, { error: 'Not enough funds in 1 inputs to pay for 1 outputs, missing -2500.' }, { error: 'Not enough funds after fees in 0 inputs to pay for 1 outputs, missing -11200.' }, { error: 'Error validating generated transaction: Transaction missing input or output.' } ],

Also, we try with 'script_type': 'multisig-2-of-3' any ideas how to solve it?

@poffdeluxe
Copy link

Havin a similar issue. Not really finding a lot in documentation either.

@bogdyak
Copy link

bogdyak commented Aug 2, 2018

  • have same issue
    Anyone know how to resolve?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants