New answers tagged

0

How are you signing it? Also what version of bitcoinjs are you using? Looks like an older one (v3.3?)prior to PSBTs. It might be a little different depending on version. Spending from segwit addresses (p2sh or native) you must specify inputvalue, this is the full value of the unspent output being spent. txb.sign(0, keypairSpend, null, null, inputvalue); As ...


Top 50 recent answers are included