ledger_realized_pnl
Read recorded FarmDash spot and futures activity and costs for an authorized EVM agent. Requires Pioneer-equivalent route access plus a wallet-bound API key or matching active session. Returns a summary, up to 20 recent events per lane, and warnings. Contains no realized P&L. Only confirmed settlement counts as confirmed.
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": {
"agentAddress": "<agentAddress>"
},
"name": "ledger_realized_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Inclusive ISO 8601 range end. Defaults to now. | |
| start | No | Inclusive ISO 8601 range start. Defaults to 30 days before now. | |
| sessionId | No | Active FarmDash session ID when authenticating without a wallet-bound API key. | |
| agentAddress | Yes | 0x-prefixed EVM agent address bound to the API key or matching session. | |
| sessionToken | No | Active FarmDash session token proving ownership of agentAddress when authenticating without a wallet-bound API key. |