Skip to main content

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

getDetailedTokenStats
DetailedTokenStats
Per-window stats for the token. See DetailedTokenStats.

Arguments

tokenAddress
String!
required
Token contract address.
networkId
Int!
required
Network ID (e.g. 1, 56).
timestamp
Int
Optional timestamp for historical stats.
durations
[DetailedTokenStatsDuration]
Which time windows to return. See DetailedTokenStatsDuration.
bucketCount
Int
Number of buckets per window.
statsType
TokenPairStatisticsType
FILTERED or UNFILTERED. See TokenPairStatisticsType.

Example

{
  getDetailedTokenStats(
    tokenAddress: "0xdac17f958d2ee523a2206206994597c13d831ec7"
    networkId: 1
    durations: [hour1, day1]
  ) {
    tokenId
    tokenAddress
    networkId
    lastTransactionAt
    statsType
    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