Last active
September 15, 2020 12:04
-
-
Save patricklodder/bf7b0fba498325ec2f022ffc834a2216 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
curl -s -H 'Content-Type: application/json' \ | |
--data '{"code":"newdexpublic","table":"buyorder","scope":"..........12a","json":true,"limit":1000}' \ | |
https://eos.greymass.com/v1/chain/get_table_rows | \ | |
jq '.rows[] | select( (.remain_convert | match("[0-9]+").string | tonumber > 5) and (.price | tonumber > 20)) | [.owner, .remain_quantity, "@", .price] | join(" ")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment