Analyzing wallet performance
wallet_pnl_summaryGet aggregate stats of overall realized PnL for the input address. For Hyperliquid perp traders (chain='hyperliquid'), includes realized PnL from fills plus a current unrealized snapshot of open positions. For chain='all'/'evm' on an EVM address, reports spot/on-chain and Hyperliquid perp results as separate sections (never summed). For a single named chain, this tool covers realized PnL only. Use this tool for analysing the performance of the wallet over a time period.
For a trader, send trader_id instead of walletAddress: the spot PnL of all wallets of the trader and a separate Hyperliquid perp section.
Query by trader
{"trader_id": "5482f9aeb02f67b7", "dateRange": {"from": "30D_AGO", "to": "NOW"}}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "wallet_pnl_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Complete request for wallet PnL summary (flattened). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |