Subgraphs and analytics
Introduction
Subgraph Schema
Factory entity
{
# factory address
id: ID!
# amount of pools created
poolCount: BigInt!
# amoutn of transactions all time
txCount: BigInt!
# total volume all time in derived USD
totalVolumeUSD: BigDecimal!
# total volume all time in derived Matic
totalVolumeMatic: BigDecimal!
# total swap fees all time in USD
totalFeesUSD: BigDecimal!
# total swap fees all time in USD
totalFeesMatic: BigDecimal!
# all volume even through less reliable USD values
untrackedVolumeUSD: BigDecimal!
# TVL derived in USD
totalValueLockedUSD: BigDecimal!
# value that will be set in the pool when the pool is created
defaultCommunityFee: BigInt!
# TVL derived in Matic
totalValueLockedMatic: BigDecimal!
# TVL derived in USD untracked
totalValueLockedUSDUntracked: BigDecimal!
# TVL derived in Matic untracked
totalValueLockedMaticUntracked: BigDecimal!
# current owner of the factory
owner: ID!
}Bundle entity
Token entity
Pool entity
PoolPosition entity
Tick entity
Position entity
PositionSnapshot entity
Transaction entity
Mint entity
Burn entity
Swap entity
Collect entity
Flash entity
AlgebraDayData entity
PoolDayData entity
PoolFeeData entity
PoolHourData entity
TickHourData entity
TickDayData entity
TokenDayData entity
TokenHourData entity
FeeHourData entity
Last updated