-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a query/function to fetch pools based on tvl and swap fee.
- Loading branch information
1 parent
004d88d
commit 8bb1838
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
query getSwapFees($where: GqlPoolFilter) | ||
{ | ||
poolGetPools(where: $where) { | ||
chain | ||
id | ||
symbol | ||
address | ||
type | ||
dynamicData { | ||
totalLiquidity | ||
swapFee | ||
} | ||
} | ||
} | ||
## Example Where | ||
#{ | ||
# "where": { | ||
# "minTvl": 100000, | ||
# "poolTypeIn": [ | ||
# "STABLE", | ||
# "META_STABLE", | ||
# "COMPOSABLE_STABLE" | ||
# ], | ||
# "chainIn": ["ARBITRUM", "MAINNET"] | ||
# } |
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