Wallet trading profit and loss
get_wallet_pnlRealised and unrealised profit and loss of a wallet's DEX trading (FIFO, in ADA and USD), win rate (percent), trade count, volume (ADA) and the tokens that contributed most. Only covers swaps since coverageFrom. Slower than other tools and limited to fewer calls per minute: call it only when PnL is actually asked for.
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_wallet_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many tokens, largest PnL first, to return (1-30, default 10). | |
| address | Yes | addr1…, stake1… or $handle. |