> ## 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.

# walletChart

> Fetch time-series chart data (volume, realized profit, swaps) for a wallet across a custom time range and resolution.

### 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

<ResponseField name="walletChart" type="WalletChartResponse!">
  See [WalletChartResponse](/api-reference/graphql/types/WalletChartResponse), [WalletChartData](/api-reference/graphql/types/WalletChartData), and [WalletChartRange](/api-reference/graphql/types/WalletChartRange) for full type details.
</ResponseField>

### Arguments

<ResponseField name="input" type="WalletChartInput!">
  See [WalletChartInput](/api-reference/graphql/types/WalletChartInput) for full details.
</ResponseField>

### Example

```graphql theme={null}
{
  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

<iframe src={`https://graphql.mobula.io/graphql?query=${encodeURIComponent('{ walletChart(input: { walletAddress: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", range: { start: 1730000000, end: 1732592000 }, resolution: "1d" }) { walletAddress networkId resolution range { start end } data { timestamp volumeUsd volumeUsdAll realizedProfitUsd swaps } backfillState } }')}`} title="GraphQL Playground" style={{ width: '100%', minHeight: '600px', border: '1px solid var(--color-border)', borderRadius: '8px' }} />
