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

How do you spend from multisig address? #13

Description

@blanxii

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions