Wallet - PnL Chart

Retrieve the realized PnL chart of a wallet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The wallet of the account.

string
enum
Defaults to duration_only

Calculation mode for PnL. duration_only calculates PnL only for each selected time bucket. cumulative calculates realized_pnl cumulatively from the start time, while unrealized_pnl is based on the all-time open position. Defaults to duration_only.

Allowed:
string

Specify the start time in YYYY-MM-DD HH:mm:ss format. Defaults to 100 days before the current time. The time range between time_from and time_to must not exceed 100 days.

string

Specify the start time in YYYY-MM-DD HH:mm:ss format. Defaults to the current time.

Headers
string
enum
Defaults to solana

The chain support PNL data.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json