nansen-wallets: nansen_wallet_pnl
nansen_wallet_pnlPer-token PnL for a wallet: bought/sold USD, current holding, realized and unrealized PnL and ROI for each token it traded. 1 credit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nansen_wallet_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days ending now (default 90). Ignored when date_from is set. | |
| page | No | Page number for pagination (default 1) | |
| chain | No | ethereum, solana or robinhood. Default: solana for base58 addresses, ethereum for 0x addresses. For a 0x wallet call again with robinhood to cover Robinhood Chain. | |
| limit | No | Rows to return (1-100, default 20) | |
| date_to | No | Explicit end (YYYY-MM-DD or ISO 8601). Defaults to now. | |
| sort_by | No | Sort field (default pnl_usd_realised) | |
| date_from | No | Explicit start (YYYY-MM-DD or ISO 8601). Overrides days. | |
| entity_name | No | Instead of an address, query a whole Nansen entity by exact name (e.g. 'Binance', 'Wintermute'). Find names with nansen_search. | |
| token_address | No | Only this token | |
| sort_direction | No | Sort direction (default DESC) | |
| wallet_address | No | Wallet address (0x... for Ethereum/Robinhood, base58 for Solana) |