New answers tagged

0

You can use an explorer like blockonomics that supports segwit xpubs and also has an API If you want to use blockchain.info only, you need to derive the segwit addresses from the ypub and then lookup these addresses to get the balance. Here is a script. Converting ypub to xpub won't work because bc.info will still generate legacy P2PKH addresses from xpub, ...


Top 50 recent answers are included