Created
October 31, 2018 03:37
-
-
Save dcb9/8f33540a4aa3408b210f9211a1b49e0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias qcli='docker exec -it qtumportal qcli' | |
qcli listunspent 0 999999 '["qLn9vqbr2Gx3TsVR9QyTVB5mrMoh4x43Uf"]' \ | |
| grep amount \ | |
| awk '{print $2}' \ | |
| awk -F, '{print $1}' \ | |
| awk BEGIN{RS=EOF}'{gsub(/\n/, " + "); print}' \ | |
| bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment