Wallet Performance Chart

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

NameTypeDescription
inputWalletChartInput!

Required

NameTypeDescription
networkIdInt

The network ID

rangeRangeInput!

The range of time for the chart

Required
resolutionString!

The resolution of the chart

Required
walletAddressString!

The wallet address

Required

Response

NameTypeDescription
data[WalletChartData!]!The data for the chart
networkIdIntThe network ID
rangeWalletChartRange!The range of time for the chart
resolutionString!The resolution of the chart
walletAddressString!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.

👋

Join our Discord

Ask questions, share what you're working on and request new features 👬👭