Returns
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Show Properties
Arguments
Show Properties
Show Properties
day1: 6 buckets (4 hours each) plus 1 partial bucket duration hour12: 12 buckets (1 hour each) plus 1 partial bucket duration hour4: 8 buckets (30 min each) plus 1 partial bucket duration hour1: 12 buckets (5 min each) plus 1 partial bucket duration min5: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a min5 duration will return the last 10 minutes worth of data plus a snapshot for the current minute.Usage Guidelines
- Query multiple pairs in a single request by passing an array of inputs
- Each input requires
pairAddress,networkId, and optionallytokenOfInterestanddurations - Use
tokenOfInterest(token0ortoken1) to specify which token’s perspective for buy/sell metrics - Available durations:
min5,min15,hour1,hour4,hour12,day1,week1,day30 - Stats are returned in fields like
stats_hour1,stats_day1based on requested durations - More efficient than multiple
getDetailedPairStatscalls when querying several pairs
Troubleshooting Tips
How is this different from getDetailedPairStats?
How is this different from getDetailedPairStats?
getDetailedPairsStats (plural) accepts an array of pair inputs, allowing you to fetch stats for multiple pairs in a single request. getDetailedPairStats (singular) only accepts one pair at a time.What's the maximum number of pairs I can query?
What's the maximum number of pairs I can query?
Can I request different durations for different pairs?
Can I request different durations for different pairs?
durations array. This lets you request hourly stats for one pair and daily stats for another in the same query.Why use this over separate queries?
Why use this over separate queries?