mcpField
N
nansen-defi-exposure

nansen-defi-exposure

github.com/nansen-aiData & databases14481 installsUpdated today
Repository

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

  1. 01Inspect DeFi positions across protocols
  2. 02View spot token balances
  3. 03Combine positions and holdings
  4. 04See assets, debts, and rewards

Use cases

  1. 01Review a wallet’s DeFi exposure
  2. 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-exposure

After installing, type/nansen-defi-exposurein Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported