About nansen-defi-exposure
A skill for using Nansen research commands to inspect a wallet’s DeFi positions and spot balances. It combines lending, LP, and staking positions with token holdings to show on-chain exposure.
Key features
- 01Inspect DeFi positions across protocols
- 02View spot token balances
- 03Combine positions and holdings
- 04See assets, debts, and rewards
Use cases
- 01Review a wallet’s DeFi exposure
- 02Check token holdings alongside protocol positions
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nansen-ai/ nansen-cli --skill nansen-defi-exposureAfter installing, type/nansen-defi-exposurein Claude Code to confirm it loaded.
Details
From the project READMEDeFi 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.
Comments
Markdown supported