Skip to content

Commit

Permalink
Merge pull request #450 from Cryptonomic/bug/fix_balance_update_query
Browse files Browse the repository at this point in the history
Fix default balance_updates query
  • Loading branch information
leenpaws authored Jun 26, 2020
2 parents 6c73681 + aeacc23 commit 2880392
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/utils/defaultQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ export const defaultQueries: any = {
limit: 1000
},
balance_updates: {
fields: [],
predicates: [{ field: 'level', set: [805066], operation: 'gt', inverse: false }],
orderBy: [],
limit: 1000
"fields": [],
"predicates": [],
"orderBy": [
{
"field": "block_level",
"direction": "desc"
}
],
"aggregation": [],
"limit": 1000
},
bakers: {
fields: ["pkh", "balance", "rolls", "delegated_balance", "frozen_balance", "staking_balance", "block_level"],
Expand Down

0 comments on commit 2880392

Please sign in to comment.