solmachina-x402
v1.4.0Solana & Base DeFi intelligence for AI agents over x402: decisions, risk, signed receipts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
solmachina_catalog
Discover SolMachina's x402 catalog (endpoints, USDC prices, network, payTo) straight from /.well-known/x402. FREE.
solmachina_status
SolMachina trust/health snapshot: version, uptime, WAL entry count and the SHA-256 chain head (verifiable trust). FREE.
solmachina_how_to_pay
Explain exactly how to consume a paid endpoint over x402 (the 402 → sign exact-USDC → retry flow), so an agent can pay with ITS OWN wallet. FREE.
| Parameter | Type | Description |
|---|---|---|
endpoint | string | e.g. /v1/pretrade or /v1/token-intel |
solmachina_sample
FREE preview of any endpoint — its response shape/example, inputs and price — so you can decide before paying.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | e.g. /v1/token-holders or token_holders |
solmachina_verify_receipt
Verify a SolMachina Intelligence Receipt (SIR) OFFLINE: checks the Ed25519 signature over the exact answer against SolMachina's published identity — proof of WHAT you paid for, no trust required. FREE.
| Parameter | Type | Description |
|---|---|---|
receipt * | string | The base64 X-SolMachina-Receipt header value, or the receipt JSON. |
solmachina_tipfloor
Buy & return: Jito bundle tip-floor snapshot + rolling history (p50/p95/p99/EMA). ($0.001 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
solmachina_epoch
Buy & return: Live Solana epoch info + measured ETA to epoch end (dual measured slot-rates labeled). ($0.001 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
solmachina_kamino_markets
Buy & return: Kamino mainnet lending-market list (addresses + names, trimmed JSON). ($0.001 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
solmachina_priority_fee
Buy & return: Observed Solana priority-fee distribution in recent slots: percentiles + economy/normal/fast/aggressive bands (micro-lamports per compute unit). Observed history, NOT a prediction or inclusion guarantee. ($0.002 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
accounts | string | Optional comma-separated base58 addresses to narrow the sample to txs that write-lock them (e.g. a hot AMM pool). |
solmachina_sgp_checkpoint
Buy & return: Epoch-transition checkpoint series: the live epoch/slot reading measured against SolMachina's own accumulating series for a MEASURED (not modeled) slot-rate + ETA, plus last epoch-transition detection. ($0.005 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
n | integer | How many most-recent series points to include, 1-200 (default 20). |
solmachina_dex_quote
Buy & return: Live aggregated Solana swap quote from the Jupiter aggregator: best-route output, price impact with stated thresholds (minimal/low/moderate/high), min-received after slippage, transparent route path, USD value and freshness slot. A quote, NOT an execution guarantee. NOT financial advice. ($0.003 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount of inputMint in its base units (lamports for SOL, 1e6 per USDC). |
inputMint * | string | Base58 mint you are selling, e.g. So11111111111111111111111111111111111111112 (SOL). |
outputMint * | string | Base58 mint you are buying, e.g. EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC). |
slippageBps | integer | Slippage tolerance in basis points, 0-5000 (default 50). |
solmachina_slippage_map
Buy & return: Solana swap slippage / price-impact curve by trade SIZE (Jupiter): impact at decade sizes of your base amount + a factual depth summary (largest size under 1%/5% impact). Execution intel beyond a single dex_quote. A quote, NOT an execution guarantee. NOT financial advice. ($0.005 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Base units of inputMint for the 1x reference size (lamports for SOL, 1e6 per USDC). |
inputMint * | string | Base58 mint you are selling, e.g. So11111111111111111111111111111111111111112 (SOL). |
outputMint * | string | Base58 mint you are buying, e.g. EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC). |
mults | string | Optional comma-separated size multipliers of the base amount (default 0.1,1,10,100). |
slippageBps | integer | Slippage tolerance in bps, 0-5000 (default 50). |
solmachina_trending_tokens
Buy & return: Observed trending Solana tokens/pools (GeckoTerminal): name, base mint, price + 1h/6h/24h change, 24h volume, liquidity, FDV, market cap, tx counts, pool age. Market facts, NOT a buy/pump signal. NOT financial advice. ($0.005 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many trending pools to return, 1-20 (default 15). |
solmachina_new_pairs
Buy & return: Newest Solana liquidity pools (GeckoTerminal): name, base mint, creation time, age minutes, liquidity, volume, price change. New pools are UNVETTED and structurally high-risk — pair each mint with token_risk. NOT financial advice. ($0.005 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many new pools to return, 1-20 (default 15). |
solmachina_nft_collection
Buy & return: Solana NFT collection snapshot from Magic Eden: floor price (SOL + lamports), listed count, 24h average price, 7-day volume. The floor is the lowest current ask, not a guaranteed sale price. NOT financial advice. ($0.003 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Magic Eden collection symbol, e.g. mad_lads or okay_bears. |
solmachina_batch_token_risk
Buy & return: Batch heuristic risk scan for up to 10 SPL mints in ONE call (mint/freeze authority, Token-2022 dangerous extensions, top-10 holder concentration per token). Portfolio/watchlist bundle; each mint returns its own result or an explicit error. NOT financial advice. ($0.10 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mints * | string | Comma-separated base58 SPL mint addresses, up to 10. |
solmachina_tx_inspect
Buy & return: Decode a Solana transaction: success/fee/compute-units, the programs it invoked (named for well-known ones), SOL + SPL token balance deltas. On-chain effects only, never intent. ($0.01 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
sig * | string | Base58 Solana transaction signature to decode. |
solmachina_wallet_scan
Buy & return: Factual Solana wallet activity profile: age, transaction footprint, SOL balance, SPL holdings and a footprint band (fresh/active/heavy/empty). NEVER a trust/scam verdict. NOT financial advice. ($0.02 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
address * | string | Base58 Solana wallet address to profile. |
solmachina_token_risk
Buy & return: Heuristic SPL token risk scan: mint + freeze authority, Token-2022 dangerous extensions, top-10 holder concentration. Transparent, conservative ('unknown' over guessing). NOT financial advice. ($0.028 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL token mint to scan, e.g. EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC). |
solmachina_token_holders
Buy & return: SPL holder distribution / whale map: the largest token accounts with each one's share of supply, plus top-1/5/10/20 concentration and buckets. Deeper than token_risk's single top-10 signal. Owners not resolved; a structural signal, not a verdict. NOT financial advice. ($0.005 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL token mint, e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK). Major stablecoins like USDC have too many accounts to snapshot. |
solmachina_token_intel
Buy & return: One-call token intelligence bundle: full token-risk analysis + a decision-ready executive digest + factual top-holder classification. Verdict-free. NOT financial advice. ($0.05 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL token mint to profile, e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK). |
solmachina_pretrade
Buy & return: FLAGSHIP pre-trade sweep: the full token-intel bundle + a wallet-activity profile of the largest remaining holder + observed priority-fee landing bands, distilled into a factual, threshold-stated checklist. Verdict-free (never 'buy'/'avoid'). NOT financial advice. ($0.10 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL token mint to sweep. |
solmachina_decision
Buy & return: THE DECISION LAYER for agents: EXECUTE/REVIEW/REJECT + SMRI (0-100) + confidence + evidence for a token. Optionally send your OWN policy (minSmri, denyMintAuthority, maxConcentrationPct…) for an ALLOW/DENY financial firewall, fail-closed. Transparent risk gate against stated thresholds — NOT financial advice. ($0.05 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL mint, e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK). |
action | string | Intended action for context, e.g. swap/assess. |
denyMintAuthority | boolean | Firewall: DENY if mint authority is still set. |
maxConcentrationPct | number | Firewall: DENY if top-10 concentration exceeds this %. |
minSmri | integer | Firewall: require SMRI >= this (adds policy.verdict ALLOW/DENY). |
solmachina_smri
Buy & return: SolMachina Machine Risk Index (0-100) for a token: transparent components (contract, concentration) + band + confidence. The cheap, high-frequency score behind /v1/decision. Verdict-free, 'unknown' over guessing. ($0.01 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
mint * | string | Base58 SPL token mint to score. |
solmachina_simulate
Buy & return: Pre-flight a serialized Solana transaction (simulateTransaction): willSucceed, computeUnits, program logs, err. NEVER signs or sends — a dry-run, not a guarantee. ($0.01 per call, paid over x402 in USDC on Solana mainnet). Requires a funded client wallet (X402_CLIENT_KEY_FILE); otherwise returns an open-gate explainer.
| Parameter | Type | Description |
|---|---|---|
tx * | string | Base64-encoded serialized Solana transaction. |