Skip to content

bullpen solana portfolio

Last updated: July 13, 2026

Alias for balance

Usage

bullpen solana portfolio [OPTIONS]

Live Help

Alias for `balance`

Usage: bullpen solana portfolio [OPTIONS]

Options:
      --output <OUTPUT>
          Output format for command results

          [possible values: table, json]

      --refresh
          Refresh the upstream portfolio cache before fetching balances

      --env <ENV>
          Target environment to connect to (overrides config.toml)

          [env: BULLPEN_ENV=]
          [possible values: staging, production]

      --show-hidden
          Include tokens the user has explicitly hidden

      --config <CONFIG>
          Path to a custom config.toml file (overrides $BULLPEN_CONFIG and the default location).

          Explicit --config and BULLPEN_CONFIG paths fail closed: if the file is missing, the CLI exits validation instead of silently loading defaults. Credentials still resolve via BULLPEN_HOME, so set BULLPEN_HOME too when isolating a session.

      --show-spam
          Include tokens flagged as spam (excluding whitelisted)

      --show-all
          Shorthand for --show-hidden --show-spam

      --read-only
          Enable read-only mode: blocks all mutating commands

      --non-interactive
          Suppress interactive prompts; does NOT imply --yes for money-moving commands

          [env: BULLPEN_NON_INTERACTIVE=]

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # Show the Solana portfolio view
  bullpen solana portfolio

  # Export the Solana portfolio as JSON
  bullpen solana portfolio --output json

Example Commands

bullpen solana portfolio
bullpen solana portfolio --output json

JSON Output

Contract: JSON Output Contract.

Successful output is a single JSON document. The shape below is representative for this command family; commands may add fields without breaking the shared contract.

Schema version: 1 when a command emits schema_version; otherwise treat the current command shape as contract version 1.

Top-level Keys

key type nullable notes
address string no Bullpen Solana wallet address whose portfolio was queried
sol_balance string/decimal no Native SOL balance in SOL units
total_usd string/decimal no Total estimated USD value across SOL and shown SPL tokens
last_updated_ms integer yes Upstream portfolio timestamp in milliseconds when available
tokens array no SPL token balances after hidden/spam filters are applied
tokens[].mint string no SPL token mint address
tokens[].amount_ui string/decimal no Human-readable token amount
tokens[].value_usd string/decimal yes Estimated USD value when available

Example

bullpen solana portfolio --output json
{
  "address": "7qRkWTrM4DLpmeSnB8xT8p8mpqLQ9JdYatYczS4u1G8e",
  "sol_balance": "0.42",
  "total_usd": "125.55",
  "last_updated_ms": 1779920575000,
  "tokens": [
    {
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "symbol": "USDC",
      "amount_ui": "125.55",
      "amount_lamports": 125550000,
      "price_usd": "1",
      "value_usd": "125.55",
      "change_24h_pct": "0",
      "hidden": false,
      "is_spam": false,
      "is_spam_whitelisted": false
    }
  ]
}

Stability

Patch releases may add nullable or optional fields. Minor releases may add required fields or increment schema_version. Major releases may remove or rename fields.