BaseTokenState

Base token state corresponds to the state of a base token (aggregate of PoolPairState)

Name
Type
Description

baseSymbol

string

symbol of base token

quoteSymbol

string

symbol of quote token

processTimestamp

number

Timestamp when the baseTokenState has been processed

processBlockChainId

number | null

chain ID of the incoming block that triggered the processing of this BaseTokenState

Can be null: when the system starts, it fetches all states of all pools and processing of all BaseTokenStates at latest block on each chain, there was no incoming block that triggered the processing is this case.

processBlockNumber

number | null

Block number of the incoming block that triggered the processing of this BaseTokenState

Can be null: when the system starts, it fetches all states of all pools and processing of all BaseTokenStates at latest block on each chain, there was no incoming block that triggered the processing is this case.

processBlockTimestamp

number | null

Block timestamp of the incoming block that triggered the processing of this BaseTokenState

Can be null: when the system starts, it fetches all states of all pools and processing of all BaseTokenStates at latest block on each chain, there was no incoming block that triggered the processing is this case.

aggregatedLast7DaysBaseVolume

number

Aggregated base volume on last 7 days

price

number

price of base token related to quote token

aggregatedMarketDepthPlusOnePercentUsdAmount

number

aggregated +1% Market depth of all poolPairStates related to base token (USD amount)

aggregatedMarketDepthMinusOnePercentUsdAmount

number

aggregated -1% Market depth of all poolPairStates related to base token (USD amount)

aggregatedMarketDepthUsdAmount

number

sum of +1% Market depth and -1% market depth (USD amount)

aggregatedLast7DaysUsdVolume

number

Aggregated last 7 days USD volume

Last updated