Y2K Finance
Search
K
Comment on page

Subgraph

View data related to markets, epochs and positions
Playground:
GraphQL API (HTTP):
request access via discord

Example Queries:

List Markets:
{
markets {
marketName
depositAsset
strikePrice
token
marketIndex
premiumVault
collateralVault
}
}
List Epochs:
{
epoches{
startEpoch
endEpoch
epochEnded
isDepegged
marketName
marketIndex
collateralVault
premiumVault
withdrawalFee
COLLAT_finalTVL
PREM_finalTVL
}
}
List Positions:
{
epochPositions {
id
address
balance
isFarming
marketName
marketIndex
epochId
type
}
}