Nansen Defi Positions
Researchnansen-defi-positionsNansen Defi Positions is an Agent Skill for research published in the nansen-ai/nansen-cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
What DeFi positions does a wallet hold? Protocol-by-protocol breakdown of assets, debts, and rewards across chains.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nansen-ai/nansen-cli/blob/HEAD/skills/nansen-defi-positions/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nansen-defi-positions, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
DeFi Exposure
Answers: "What DeFi positions does this wallet have across protocols?"
ADDR=<address>
nansen research portfolio defi --wallet $ADDR
# → protocol_name, chain, total_value_usd, total_assets_usd, total_debts_usd, total_rewards_usd, tokens
nansen research profiler balance --address $ADDR --chain ethereum
# → token_symbol, token_name, token_amount, value_usd per holding
nansen research profiler balance --address $ADDR --chain base
Combine DeFi positions (lending, LPs, staking) with spot balances for a complete picture of on-chain exposure.
Note: portfolio defi may return empty for wallets with no tracked DeFi positions.