Wallet PnL
wallet_pnlCalculate realized and unrealized PnL for a Solana wallet's token trades. Analyzes swap history to compute profit/loss per token in SOL. Costs $0.05 USDC per call.
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": {
"walletAddress": "<walletAddress>"
},
"name": "wallet_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletAddress | Yes | Solana wallet address (base58) |