Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Asked
Viewed
14 times
I am trying to add a Bitcoin Cash (BCH) CashAddr output to a Partially Signed Bitcoin Transaction (PSBT) , but it seems not to support CashAddr format. I’m looking for guidance on how to correctly add a BCH CashAddr output to a PSBT.
I attempted to add an output to a PSBT with a CashAddr address as follows:
psbt.addOutput({
address: 'qpmxj39jt07sm53s04p9xqysyeg9dxm83qj824xss3',
value: output.value,
});
it gives error : error: qpmxj39jt07sm53s04p9xqysyeg9dxm83qj824xm63 has
no matching Script”