solmachina_decision
SolMachina Decision — the decision layer for autonomous agents: composes on-chain risk signals into ONE answer — EXECUTE / REVIEW / REJECT + SMRI (SolMachina Machine Risk Index 0-100) + confidence + full evidence. A transparent RISK GATE against stated thresholds — NOT financial advice, NOT a profit prediction; returns REVIEW/unknown instead of guessing. Requires ?mint=; optional ?action=, ?amountUsd=, and a named firewall ?policy= (conservative|bluechip|anti-rug|degen).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | Optional base64 serialized transaction to BIND the signed authorization to: the response's authorization.subject.boundTxSha256 = sha256(tx), so your executor honors it only for that exact transaction (Proof-of-Decision per-tx). Also decoded OFFLINE to cross-check that the tx actually references the guarded mint — authorization.subject.txReferencesGuardedMint = true | false | "unknown". | |
| mint | Yes | Base58 SPL token mint to assess, e.g. DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK). | |
| action | No | Single nonblank context string; default assess. Does not execute an action. | |
| policy | No | Named firewall preset: conservative | bluechip | anti-rug | degen — expands to a full ALLOW/DENY policy (the individual params above override preset values). The response echoes policyTemplate. | |
| minSmri | No | Agent Financial Firewall — your policy: require SMRI >= this (0-100). Adds policy.verdict = ALLOW/DENY (fail-closed). | |
| amountUsd | No | Single finite non-negative decimal USD amount, context only; does not change the score. No exponent notation or repeated values. | |
| minConfidence | No | Firewall: DENY if data confidence is below this (0-1). | |
| denyHighRiskBand | No | Firewall: DENY if the token-risk band is 'high'. | |
| denyMintAuthority | No | Firewall: DENY if the mint authority is still set. | |
| denyTxMintMismatch | No | Firewall (needs ?tx=): DENY on a CONFIRMED mismatch — the bound transaction provably does not reference the guarded mint. A tx that uses address-lookup-tables, or no tx at all, is not evaluable, so the rule passes (never a fabricated mismatch). | |
| denyFreezeAuthority | No | Firewall: DENY if the freeze authority is still set. | |
| maxConcentrationPct | No | Firewall: DENY if top-10 holder concentration exceeds this %. |