Back to Ccxt

meme-rush — CLI Reference

.agents/skills/meme-rush/references/cli.md

4.5.657.9 KB
Original Source

meme-rush — CLI Reference

Complete reference for every command in scripts/cli.mjs.

Invocation pattern: node <skill-dir>/scripts/cli.mjs <command> '<json_params>' Exit codes: 0 success · 1 usage/upstream error · 3 network failure

Supported chains: BSC (56), Solana (CT_501).


meme-rush — Launchpad lifecycle tracking

⚠️ rankType selects the lifecycle stage: 10=New (freshly created, on bonding curve) · 20=Finalizing (bonding curve nearly complete, about to migrate) · 30=Migrated (just migrated to DEX).

bash
node <skill-dir>/scripts/cli.mjs meme-rush '{"chainId":"CT_501","rankType":10,"limit":20}'

Parameters (body is a JSON object; only chainId + rankType are required)

Core:

FieldTypeRequiredDescription
chainIdstringyes"56" (BSC) or "CT_501" (Solana)
rankTypeintegeryes10=New · 20=Finalizing · 30=Migrated
limitintegernoMax results (default 40, max 200)
keywords / excludesstring[]noInclude / exclude symbol patterns (max 5 each)

Token filters (Min/Max pairs): progress (string, 0–100) · tokenAge (long) · holders (long) · liquidity (string) · volume (string) · marketCap (string) · count / countBuy / countSell (long).

Holder distribution filters (Min/Max, string %): holdersTop10Percent · holdersDevPercent · holdersSniperPercent · holdersInsiderPercent · bundlerHoldingPercent · newWalletHoldingPercent · bnHoldingPercent · bnHolders (long) · kolHolders (long) · proHolders (long).

Dev & launch filters: devMigrateCountMin/Max (long) · devPosition (2=dev sold all) · devBurnedToken (1=yes) · excludeDevWashTrading (1=yes) · excludeInsiderWashTrading (1=yes).

Other filters: protocol (int[]; see Protocol Reference below) · exclusive (1=Binance exclusive) · paidOnDexScreener · pumpfunLiving · cmcBoost · globalFeeMin/Max (Solana only) · pairAnchorAddress (string[]) · tokenSocials.atLeastOne (1=yes) · tokenSocials.socials (string[]: website / twitter / telegram).

Protocol Reference

Complete list of protocol codes (used in protocol[] filter and returned on each token).

CodePlatformChainCodePlatformChain
1001Pump.funSolana1010MoonshotSolana
1002MoonitSolana1011Jup StudioSolana
1003Pump AMMSolana1012BagsSolana
1004Launch LabSolana1013BelieverSolana
1005Raydium V4Solana1014Meteora DAMM V2Solana
1006Raydium CPMMSolana1015Meteora PoolsSolana
1007Raydium CLMMSolana1016OrcaSolana
1008BONKSolana2001Four.memeBSC
1009Dynamic BCSolana2002FlapBSC

Return fields (under .data[])

Core:

FieldTypeDescription
chainId / contractAddress / symbol / name / decimalsIdentity
iconstringLogo path (prefix https://bin.bnbstatic.com)
price / priceChangestringCurrent price (USD), 24h change (%)
marketCap / liquidity / volumestringUSD, string-encoded
holderslongHolder count
progressstringBonding curve progress — pre-formatted, append % directly
protocolintegerLaunchpad protocol code
exclusiveinteger1 = Binance exclusive token

Trade counts: count / countBuy / countSell (long, 24h).

Holder distribution (all string %, append % directly): holdersTop10Percent · holdersDevPercent · holdersSniperPercent · holdersInsiderPercent · bnHoldingPercent · kolHoldingPercent · proHoldingPercent · newWalletHoldingPercent · bundlerHoldingPercent.

Dev & migration: devAddress · devSellPercent · devMigrateCount · devPosition (2=dev sold all) · migrateStatus (0/1) · migrateTime · createTime.

Tags & flags: tagDevWashTrading · tagInsiderWashTrading · tagDevBurnedToken · tagPumpfunLiving · tagCmcBoost · paidOnDexScreener · launchTaxEnable · taxRate · globalFee (Solana only).

Socials: socials.website / socials.twitter / socials.telegram.

AI narrative: narrativeText.en / narrativeText.cn.


topic-rush — AI-powered hot-topic discovery (GET)

⚠️ rankType: 10=Latest (newest hot topics) · 20=Rising (topics with ATH net-inflow between $1k and $20k). ⚠️ sort default convention: when the user does not specify a preference, use sort=10 (create time). sort=20 = net inflow.

bash
node <skill-dir>/scripts/cli.mjs topic-rush '{"chainId":"CT_501","rankType":10,"sort":10,"asc":false}'

Parameters

FieldTypeRequiredDescription
chainIdstringyes"56" or "CT_501"
rankTypeintegeryes10=Latest · 20=Rising
sortintegeryes10=create time (default) · 20=net inflow
ascbooleannotrue=ascending, false=descending
keywordsstringnoCase-insensitive contains match
topicTypestringnoComma-separated topic-type filter
tokenSizeMin/MaxintegernoAssociated-token count range
netInflowMin/MaxstringnoTopic net-inflow range (USD)

Return fields (under .data[])

Topic-level:

FieldTypeDescription
topicIdstringUnique topic ID
chainIdstringChain ID
name.topicNameEn / name.topicNameCnstringMulti-language topic name
typestringTopic category (e.g. Culture)
closeinteger0=active, 1=closed
topicLinkstringRelated tweet / post URL
createTimelongTopic creation timestamp (ms)
progressstringTopic progress — pre-formatted %, append % directly
aiSummary.aiSummaryEn / aiSummary.aiSummaryCnstringAI-generated narrative
topicNetInflow / topicNetInflow1h / topicNetInflowAthstringNet inflow: total / 1h / ATH (USD)
tokenSizeintegerNumber of associated tokens
deepAnalysisFlaginteger1=deep analysis available
topicTagsstring[]Topic tags (e.g. Crypto Native, Celebrity)

Associated tokens (tokenList[] within each topic):

FieldTypeDescription
chainId / contractAddress / symbol / decimalsIdentity
iconstringLogo path (prefix https://bin.bnbstatic.com)
createTimelongToken creation timestamp (ms)
marketCap / liquiditystringUSD
priceChange24hstring24h % (pre-formatted)
netInflow / netInflow1hstringNet inflow since topic creation / last 1h (USD)
volumeBuy / volumeSell / volume1hBuy / volume1hSellstringVolume breakdown (USD)
uniqueTrader{5m,1h,4h,24h}longUnique traders by window
count{5m,1h,4h,24h}longTrade count by window
holders / kolHolders / smartMoneyHolderslongHolder stats
protocolintegerLaunchpad protocol code (0 / null = DEX token)
internalinteger1=on bonding curve
migrateStatusinteger1=migrated

Nested shape: each topic has name: {topicNameEn, topicNameCn} (and aiSummary similarly) plus tokenList[] with full per-token stats inline.


Errors

Exit codes: 0 ok · 1 upstream/usage (stderr: reason; stdout: body with business code) · 3 network. Business code: 000000 ok · 100004 rate-limited · 100002 bad param · 000400 token not found / unsupported chain.


Notes

  • Percentage fields (progress, holder %, devSellPercent, taxRate, priceChange24h) are pre-formatted — append % directly, do not multiply by 100.
  • taxRate visibility: protocol=2001 (Four.meme) only on Migrated (rankType=30); protocol=2002 (Flap) on all lists.