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.
Overview
Query aggregated trading activity for a wallet as a time-series chart. Supports custom time ranges and resolutions for building portfolio performance charts, volume histograms, and PnL overlays.
Aggregated volume (USD) per bucket
Realized profit (USD) per bucket
Swap counts per bucket
Optional per-network filtering
Custom start / end timestamps and resolution
Returns
See WalletChartResponse , WalletChartData , and WalletChartRange for full type details. Show View fields (WalletChartResponse)
Wallet address the chart was computed for.
Network ID if scoped to a single chain, otherwise null for all chains.
Time range of the returned series. Start timestamp (unix seconds).
End timestamp (unix seconds).
Bucket resolution used (e.g. 1h, 1d).
Ordered array of chart buckets. Bucket start timestamp (unix seconds).
Swap volume in USD for the bucket (filtered, excludes scam / low-quality tokens).
Total swap volume in USD for the bucket (includes all swaps).
Realized profit in USD for the bucket.
Number of swaps in the bucket.
backfillState
WalletAggregateBackfillState
Arguments
See WalletChartInput for full details. Wallet address to fetch the chart for.
Optional network ID to scope the chart to a single chain.
Inclusive start / end range (unix seconds). See RangeInput . Start timestamp (unix seconds).
End timestamp (unix seconds).
Bucket resolution (e.g. 5m, 1h, 1d).
Example
{
walletChart ( input : {
walletAddress : "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
range : { start : 1730000000 , end : 1732592000 }
resolution : "1d"
}) {
walletAddress
networkId
resolution
range { start end }
data {
timestamp
volumeUsd
volumeUsdAll
realizedProfitUsd
swaps
}
backfillState
}
}
Playground