million

v1.0.0
io.github.Kelows/million Checked 2 days ago Published 2 months ago

Operate a self-hosted Solana whale tracker and copy-trading deck: positions, rules, token checks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_status Deck status

Is the deck running, paper or live, is the live feed receiving events, how many wallets are followed, and a summary of the book (open positions, realized PnL, risk halt).

get_book Positions

Open and closed positions (paper or live) with size, entry and exit prices, PnL and exit reason, plus book statistics.

get_decisions Decision log

What the deck decided for recent token events from followed wallets, newest first: signals, opened positions, shadow trades and skips, each with its reason. Kept for 3 days.

ParameterTypeDescription
include_routinebooleanInclude routine skips (small buys, relays, transfers). Default false.
limitintegerDefault 50
mintstringOnly decisions about this token

why_not_bought Why it did or didn't buy a token

Everything needed to explain why the deck did or did not buy one token: its decision history (routine skips included), the token's check report, any position in it, and the trading rules in force.

ParameterTypeDescription
mint *stringSolana token mint address (base58)

get_rules Trading rules

The trading rules in force: which signals trade, minimum buy sizes, position sizing, exits (trailing stop, stop loss), exposure caps and risk halts.

update_rules Change trading rules

Change some trading rule fields (use get_rules for names and current values). Only the given fields change; the deck validates and may clamp values. Applies to new signals; open positions keep their exits. Cannot switch paper to live. Returns each changed field before and after.

ParameterTypeDescription
changes *objectField → new value, e.g. { "positionSol": 0.2, "tradeSignals": "consensus" }

get_flows Roster order flow

Tokens the followed wallets are accumulating or distributing right now, counted per owner (clusters of wallets vote once), bots excluded, buys netted against sells.

ParameterTypeDescription
minutesintegerWindow, default 30

get_roster_holdings What the roster holds

Tokens the followed wallets still hold, ranked by distinct owners and SOL still in at cost, and where the roster realized profit on round trips it watched close.

check_token Run token checks

Run the deck's safety checks on a token: mint and freeze authority, liquidity, market cap, holder concentration, deployer history, Jupiter sell simulation, RugCheck. Returns PASS, WARN or FAIL with each check.

ParameterTypeDescription
mint *stringSolana token mint address (base58)

find_token_buyers Find a token's biggest buyers

Size buyers of a token, with a quick analysis preview and flags (bot, fresh wallet, cluster) for the biggest. The way to find wallets worth following. Spends Helius credits.

ParameterTypeDescription
mint *stringSolana token mint address (base58)
min_solnumberMinimum SOL a buyer spent, default 1
modestringrecent: latest transactions; deep: sampled across the token's history. Default recent
pagesintegerHistory pages to scan in recent mode, default 3

import_wallets Add wallets to the roster

Add wallet addresses to the roster (not followed yet). Analyze them, then subscribe the ones the user picks.

ParameterTypeDescription
wallets *array
labelstringSource tag, e.g. "found via CATE"

analyze_wallet Analyze a wallet

Fetch a roster wallet's trading history and compute its metrics: realized PnL in SOL, win rate, hold times, per-token breakdown and flags (bot, distributor, fresh wallet). Spends Helius credits.

ParameterTypeDescription
address *stringSolana wallet address (base58)

get_wallet Wallet details

A roster wallet's stored analysis, live activity, subscription state and linked wallets of the same owner.

ParameterTypeDescription
address *stringSolana wallet address (base58)

set_wallet_subscription Follow or unfollow a wallet

Follow (subscribe) or unfollow a roster wallet. Followed wallets feed the live feed and can trigger trades. Only do this when the user asked for that wallet.

ParameterTypeDescription
address *stringSolana wallet address (base58)
subscribed *boolean