Skip to main content

Entities

Entities for the DexCandles subgraph are all listed below.

Pair

FieldTypeDescription
idIDpair address
token0Byteshalf of pair
token1Byteshalf of pair

Candle

FieldTypeDescription
idIDconcatenation of time + period + token0 + token1
timeInttimestamp
periodInttime period
lastBlockIntlast block
token0Byteshalf of pair for candle
token1Byteshalf of pair for candle
token0TotalAmountBigInttotal amount of token0
token1TotalAmountBigInttotal amount of token1
openBigDecimalopen price
closeBigDecimalclose price
highBigDecimalhigh
lowBigDecimallow