Skip to content

Instantly share code, notes, and snippets.

@donovanhide
Created September 30, 2014 22:17
Show Gist options
  • Save donovanhide/427dba87380c0d892ff2 to your computer and use it in GitHub Desktop.
Save donovanhide/427dba87380c0d892ff2 to your computer and use it in GitHub Desktop.
Get XRP balances
./rippled ledger current full| jq -r '.result.ledger.accountState[]|select(.LedgerEntryType=="AccountRoot")|"\(.Account),\(.Balance|tonumber|./1000000)/XRP"'| sort -n -k2 -t, -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment