Docs menu

Wallet

Solana wallet portfolio

View priced SPL and Token-2022 balances, rug-check holdings, and plan or auto-compose a target portfolio allocation. Non-custodial: viewing never signs, and compose transactions require explicit wallet approval.

Open the tool

Step by step: how to check a Solana token for a rug pull.

Features

  • Lists every SPL Token and Token-2022 balance in the connected wallet
  • One-tap link from each token to the rug-checker
  • Holdings view is read-only: connecting doesn't authorize any transfer
  • Auto compose charges a disclosed 0.7% SolKnife fee on legs that swap to or from SOL, only when a fee account is configured
  • Non-custodial: keys never used; reads public on-chain balances
  • Target composition planner accepts mint addresses and percentages that total 100%
  • Best-effort single transaction compose through Jupiter Router
  • Token-2022 with any extension state supported (confidential transfer, transfer fee, etc.)
  • Empty token accounts shown, with a link straight straight to the reclaim-rent tool

How it works

Connect a Solana wallet. SolKnife reads token accounts via Helius RPC, prices holdings through Jupiter data, and exposes one-tap rug checks. In Compose mode, enter target mint percentages that total 100%; SolKnife plans the USD rebalance and can build a best-effort single Jupiter Router transaction. Your wallet signs only if you approve auto compose.

Fees

Viewing holdings and planning a composition are free. Auto compose charges a percentage of the swapped volume, shown before you sign, plus the Solana network fee. Current amounts are on the pricing page.

API and MCP

Everything the page does is callable over HTTP, or as a tool on the MCP server at /api/mcp. Authentication and payment are in the agent docs.

GET /api/portfolio

List a wallet's priced token holdings. Prices the largest balances first; when partial is true, the rest are listed unpriced.

MCP tool solknife_portfolio_holdings · inputs owner

POST /api/portfolio/compose/plan

Plan a USD-valued portfolio rebalance from target mint percentages.

MCP tool solknife_portfolio_compose_plan · inputs owner, targets, slippageBps

POST /api/portfolio/compose/build

Build a best-effort single auto-compose transaction for a target portfolio.

MCP tool solknife_portfolio_compose_build · inputs owner, targets, slippageBps

POST /api/portfolio/compose/execute

Submit a wallet-signed portfolio compose transaction.

MCP tool solknife_portfolio_compose_execute · inputs owner, signedTransaction, lastValidBlockHeight

Errors

A failed call returns { ok: false, error: { code, message } }. The codes: invalid-input (400), not-found (404), rate-limited (429), upstream-error (502), degraded (503). A rate-limited error can carry retryAfter, in seconds.

Key terms

Non-custodial
SolKnife never holds your funds or your keys. Viewing a portfolio is a read of public on-chain balances. Auto compose builds an unsigned transaction that your wallet must approve before anything moves.
Read-only holdings
Connecting a wallet to view holdings doesn't grant any authorization beyond identifying which address to query. The compose flow is separate and only asks for a signature after you review a transaction.
Token account vs holding
Each token you hold lives in a separate Solana token account (one per mint per wallet). The portfolio lists them by mint; empty token accounts are included so you can clean them up in the reclaim-rent tool.
SPL Token vs Token-2022
Two on-chain token programs. SPL Token is the classic; Token-2022 supports extensions (transfer fee, confidential transfer, interest-bearing, etc.). The portfolio renders both transparently; each holding is tagged with its program.

Frequently asked

How do I see all my Solana tokens?

Connect any Solana wallet using the connect button. SolKnife reads token accounts from the chain and lists priced balances. The holdings read does not request a signature.

Is connecting a wallet here safe?

Yes. Viewing holdings only reads public on-chain balances. If you use Compose, SolKnife shows the rebalance plan and transaction review first; funds can move only after your wallet signs the auto-compose transaction.

Does this work for Token-2022 tokens?

Yes. Both SPL Token and Token-2022 holdings appear in the list, with each tagged by its program. Token-2022 mints with any combination of extensions (confidential transfer, transfer fee, interest-bearing, etc.) render the same way as classic SPL Token holdings.

Why are some tokens worth $0 or missing prices?

SolKnife uses Jupiter's token list for names, symbols, and price data. Tokens that aren't on Jupiter's list show as their mint address with the balance, but no name or price, usually because the token has no liquidity on Solana's major DEXs. The holding is real; the lack of a price just means nobody is currently trading it.

How do I rug-check a token from my portfolio?

Each holding in the list has a one-tap link straight to the rug-checker with the mint pre-filled. The link runs the full scan (authorities, holder concentration, sellability, Token-2022 extensions, liquidity) in a few seconds without you having to copy or paste a mint address. Useful for sweeping a wallet of accumulated airdrops before deciding what to keep, sell, or burn.

Can I see another wallet's portfolio?

Not via the connect button: that requires the connected wallet to actually be the wallet you're viewing. For arbitrary wallet inspection, use any Solana explorer (Solscan, Solana Beach) which shows token balances of any address. SolKnife focuses on the connected-wallet flow because it integrates with the safety + cleanup tools (rug-check, reclaim-rent, burn-nft).

What about NFTs?

Not here. The portfolio lists fungible-token balances; NFTs are listed and burnable via the burn-NFT tool, which uses the DAS API to fetch image + collection info per NFT. The two views are kept separate because the data shape and the operations available differ: fungible holdings get rug-check and reclaim links; NFTs get burn.

Does this show liquidity pool positions?

Not at the portfolio level. DLMM (Meteora) LP positions live in a separate tool ("LP positions"), which reads positions on the Meteora program directly. The portfolio shows the raw token balances (including any wLP positions if they're token-account-shaped), not the LP-program state. If you're an active LP, use both views together.

What does this cost?

Viewing holdings and planning composition has no SolKnife fee. Auto compose charges 0.7% on compose legs that swap to or from SOL when SOLKNIFE_FEE_ACCOUNT is configured. Token-to-token legs carry no SolKnife fee. The fee is shown before signing.

Why don't I see all my tokens?

If a token is missing, the usual cause is one of: (1) the token account is on a different wallet you haven't connected; (2) the token uses Token-2022 with an extension that breaks listing in some clients (SolKnife's own portfolio handles every standard extension, but if you see this please report); (3) the wallet you're connected to genuinely doesn't hold that token. Use a Solana explorer as a second source if you suspect something's missing.