Skip to content

Instantly share code, notes, and snippets.

@ausbitbank
Created February 25, 2020 10:02
Show Gist options
  • Save ausbitbank/a8322618a9cc66a9486fbb6892b56415 to your computer and use it in GitHub Desktop.
Save ausbitbank/a8322618a9cc66a9486fbb6892b56415 to your computer and use it in GitHub Desktop.
curl 'https://anyx.io/' -H 'Connection: keep-alive' --data-binary '{"id":401,"jsonrpc":"2.0","method":"call","params":["database_api","get_witnesses_by_vote",["",100]]}' --compressed | jq '.result[] | {witness: .owner, ver: .running_version, approval_vests: (.votes), approval_sp: ( (.votes|tonumber/1000000000000) * (509.6451627091090586|tonumber) )}'
@ausbitbank
Copy link
Author

https://steemviz.com/witnesses created to track versions and approval by SP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment