Skip to content

Instantly share code, notes, and snippets.

@DicksonWu654
Created October 24, 2021 07:24
Show Gist options
  • Save DicksonWu654/7a7510cbadccca3ebe8bb9597f4376eb to your computer and use it in GitHub Desktop.
Save DicksonWu654/7a7510cbadccca3ebe8bb9597f4376eb to your computer and use it in GitHub Desktop.
query MyQuery {
users(where: {borrowedReservesCount_gte: 5}, first: 1000) {
borrowHistory {
borrowRate
borrowRateMode
amount
id
timestamp
}
liquidationCallHistory(where: {}) {
collateralAmount
id
timestamp
}
id
}
}
@DicksonWu654
Copy link
Author

Hi!

@DicksonWu654
Copy link
Author

Please go to: https://graphiql-online.com/

And enter: https://api.thegraph.com/subgraphs/name/aave/protocol-v2 at the endpoint

Then copy and paste the code above and we're ready to go!

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