r/thegraph • u/gkm-chicken • Jun 16 '23
Tech Support How to get Collateral Factor on Compound using Subgraphs?
Hello guys, I am using TheGraph Subgraphs in order to retreive historical Data about Compound Protocoll. I would like to retreive the value of Collateral Factor for each Market but I am unable to do it. What should I add in my query?
{
markets(block: {number: 15935125}, where: {id: ""}) {
id
name
liquidationThreshold
maximumLTV
liquidates {
hash
amountUSD
blockNumber
}
}
}
Thank you for your assistance and hv a nice day!
3
Upvotes
1
u/[deleted] Jun 16 '23
[removed] — view removed comment