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
Stats for the pair with optional time windows (e.g. 5m, 1h, 24h). See DetailedPairStats.Show View fields (DetailedPairStats)
Last transaction timestamp.
Number of buckets in windowed stats.
stats_min5
WindowedDetailedPairStats
stats_min15
WindowedDetailedPairStats
stats_hour1
WindowedDetailedPairStats
stats_hour4
WindowedDetailedPairStats
stats_hour12
WindowedDetailedPairStats
stats_day1
WindowedDetailedPairStats
stats_week1
WindowedDetailedPairStats
stats_day30
WindowedDetailedPairStats
Arguments
Network ID (e.g. 1, 42161).
Show TokenOfInterest (enum)
Optional timestamp for historical stats.
durations
[DetailedPairStatsDuration!]
Show DetailedPairStatsDuration (enum)
min5
DetailedPairStatsDuration
5-minute window.
min15
DetailedPairStatsDuration
15-minute window.
hour1
DetailedPairStatsDuration
1-hour window.
hour4
DetailedPairStatsDuration
4-hour window.
hour12
DetailedPairStatsDuration
12-hour window.
day1
DetailedPairStatsDuration
1-day window.
week1
DetailedPairStatsDuration
1-week window.
day30
DetailedPairStatsDuration
30-day window.
Number of buckets per window.
Show TokenPairStatisticsType (enum)
Example
{
getDetailedPairStats(
pairAddress: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
networkId: 1
tokenOfInterest: token0
durations: [hour1]
) {
pairAddress
networkId
tokenOfInterest
statsType
lastTransaction
pair {
token0
token1
token0Data {
address
name
symbol
}
token1Data {
address
name
symbol
}
}
stats_hour1 {
statsUsd {
volume {
currentValue
previousValue
change
}
buyVolume {
currentValue
previousValue
change
}
sellVolume {
currentValue
previousValue
change
}
}
statsNonCurrency {
transactions {
currentValue
previousValue
change
}
buyers {
currentValue
previousValue
change
}
sellers {
currentValue
previousValue
change
}
}
}
}
}
Playground