New answers tagged


You can use an explorer like blockonomics that supports segwit xpubs and also has an API If you want to use 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 will still generate legacy P2PKH addresses from xpub, ...

Top 50 recent answers are included