Returns time-series PnL data for a wallet, optionally filtered by network
This endpoint is available on Codex Growth and Enterprise Plans
Endpoint: walletChart
This endpoint generates a chart for a wallet's activity/PnL over any supported time resolution. You can also filter results by network, allowing granular insights into how a wallet has performed over time and where most of its activity occurred.
Method: POST
Arguments
| Name | Type | Description |
|---|---|---|
| input | WalletChartInput! | Required |
| Name | Type | Description |
|---|---|---|
| networkId | Int | The network ID |
| range | RangeInput! | The range of time for the chart Required |
| resolution | String! | The resolution of the chart Required |
| walletAddress | String! | The wallet address Required |
Response
| Name | Type | Description |
|---|---|---|
| data | ! | The data for the chart |
| networkId | Int | The network ID |
| range | WalletChartRange! | The range of time for the chart |
| resolution | String! | The resolution of the chart |
| walletAddress | String! | The wallet address |
Explore
Note: We recommend a date range of ~30-120 days with a resolution of 1D. Returns are limited to a bucket size of 200.
Ask questions, share what you're working on and request new features 👬👭