Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
Returns
Detailed pair-level windowed stats pushed on every swap on the pair. See DetailedPairStats.Show View fields (DetailedPairStats)
Which side of the pair stats are computed against (
token0 or
token1). See
TokenOfInterest.
Unix timestamp (seconds) of the most recent swap on the pair.
stats_min5
WindowedDetailedPairStats
stats_min15
WindowedDetailedPairStats
stats_hour1
WindowedDetailedPairStats
stats_hour4
WindowedDetailedPairStats
stats_hour12
WindowedDetailedPairStats
stats_day1
WindowedDetailedPairStats
stats_week1
WindowedDetailedPairStats
stats_day30
WindowedDetailedPairStats
Number of buckets per window.
Unix timestamp (seconds) at which the payload was computed.
Pair metadata (only fetched when the client selects it). See
Pair.
Arguments
Pair identifier in <pairAddress>:<networkId> form. Invalid inputs return BAD_USER_INPUT.
Which side of the pair stats are computed against (token0 or token1). See TokenOfInterest.
Number of buckets per window. Server may clamp to a reasonable maximum.
Example
subscription OnDetailedStatsUpdated {
onDetailedStatsUpdated(
pairId: "BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y:1399811149"
tokenOfInterest: token0
statsType: UNFILTERED
bucketCount: 12
) {
pairAddress
tokenOfInterest
statsType
stats_hour1 {
duration
start
end
statsUsd { volume { change currentValue previousValue } }
statsNonCurrency { transactions { currentValue } buys { currentValue } sells { currentValue } }
}
}
}