0

I am learning the Bitcoin-cli, and when I run a command like getbalances, I get a JSON with "mine" and "watchonly". Is there a way i can only return the watchonly portion? My broader question is can I specify parts of a JSON to return, such as getnetworkinfo["version"].

  • pipe the output into something like jq and use it to parse out what you need – chytrik Apr 1 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.