A HyperCore wallet's PnL curve
get_hypercore_wallet_pnlThe HyperCore PnL curve of any address (or a named wallet's handle): per hour or day, realized PnL, fees, funding, net and cumulative net, plus the perp account value at each bucket's end and the net transfers in it, over 7d, 30d, 90d or all history. Account values are walked back from our node's state now (standard accounts; unified and portfolio-margin ones get none, accountValue.status says why). Open positions now: get_hypercore_account.
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": {
"address": "<address>"
},
"name": "get_hypercore_wallet_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Bucket: 1h (window 7d or 30d) or 1d. Default 1d (default 1d) | |
| window | No | UTC days ending today: 7d, 30d, 90d, or all (since `dataStart`). Default 30d (default 30d) | |
| address | Yes | 0x address, or a named wallet's handle <entityId>.<hex> |