{"openapi":"3.1.0","info":{"title":"torosol.fun API (toroSOL + toro-protocol v2.2)","version":"2.2.0","description":"Non-custodial Solana mainnet indexer, live OHLCV charting, searcher bounty feed, Solana Actions v2.2 Blinks, and unsigned transaction builders for toroSOL and toro-protocol (toroWtvp7DNVwSBp3RiYf3g8yydrmRUgmmvfHkwBbqG). Zero KV writes on reads.","contact":{"name":"torosol.fun","url":"https://torosol.fun"}},"servers":[{"url":"https://torosol.fun","description":"Solana Mainnet Production Edge"}],"paths":{"/api/state":{"get":{"operationId":"getProtocolState","summary":"Live toroSOL NAV, epoch-scheduled fee telemetry, StakePool backing, 24h DEX volume, and Orca pools","responses":{"200":{"description":"Live protocol state JSON"}}}},"/api/assets":{"get":{"operationId":"listAssets","summary":"Live screener across toroSOL, LaunchedLsts, and recursive PR #694 WrapVaults with 3-rail fees & authorities","parameters":[{"name":"kind","in":"query","schema":{"type":"string"}},{"name":"q","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Asset list and empire summary JSON"}}}},"/api/fleet":{"get":{"operationId":"getFleetTelemetry","summary":"Current fleet telemetry","responses":{"200":{"description":"Fleet telemetry JSON"}}}},"/api/candles":{"get":{"operationId":"getCandles","summary":"Real on-chain OHLCV candles with monotonic NAV floor overlay and historical burn markers","parameters":[{"name":"mint","in":"query","schema":{"type":"string","default":"Gmd2K22WVRjhMH7eFfAWNa2y782zKSgHcgd8Gd457Mzt"}},{"name":"tf","in":"query","schema":{"type":"string","enum":["1m","5m","15m","1h","4h","1d"],"default":"15m"}},{"name":"limit","in":"query","schema":{"type":"integer","default":200,"minimum":10,"maximum":500}}],"responses":{"200":{"description":"Candles and burn markers JSON"}}}},"/api/events":{"get":{"operationId":"listEvents","summary":"Live decoded Anchor emit_cpi! + Token-2022 Burn + Swap + 60/40 Crank feed","parameters":[{"name":"mint","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":250}}],"responses":{"200":{"description":"Decoded on-chain protocol events JSON"}}}},"/api/bounties":{"get":{"operationId":"listBounties","summary":"Live searcher and keeper bounty feed across toroWtvp LaunchedLsts, WrapVaults, ManagedPairs, and RouterFeeVault","responses":{"200":{"description":"Ranked crankable bounty targets JSON"}}}},"/api/portfolio":{"get":{"operationId":"getPortfolio","summary":"Live wallet balances, up-only floor gain vs plain SOL, holder rank, and burn score","parameters":[{"name":"wallet","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Wallet portfolio JSON"}}}},"/api/lp-pools":{"get":{"operationId":"listLpPools","summary":"Live Orca Whirlpool CLMM pools with TVL, tick state, fee tiers, and T22 status","responses":{"200":{"description":"LP pools JSON"}}}},"/api/prepare-route":{"post":{"operationId":"prepareRoute","summary":"Quote or build simulated unsigned v0 / 0x81-v1 atomic swap, wrap, unwrap, or LST route transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["inMint","outMint","amount"],"properties":{"payer":{"type":"string"},"inMint":{"type":"string"},"outMint":{"type":"string"},"amount":{"type":"number"},"slippageBps":{"type":"integer","default":150},"quoteOnly":{"type":"boolean","default":false},"txVersion":{"type":"string","enum":["v0","v1"]},"ref":{"type":"string"}}}}}},"responses":{"200":{"description":"Quote + unsigned tx base64 + mainnet simulation"}}}},"/api/prepare-mint":{"post":{"operationId":"prepareMintToroSol","summary":"Build 0% direct NAV StakePool DepositSol unsigned transaction for toroSOL with auto epoch sync","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["payer","solAmount"],"properties":{"payer":{"type":"string"},"solAmount":{"type":"number"},"referrer":{"type":"string"}}}}}},"responses":{"200":{"description":"Unsigned tx base64 + quote"}}}},"/api/prepare-burn":{"post":{"operationId":"prepareBurnOrRedeem","summary":"Build direct burn-to-floor or StakePool/Sanctum exit unsigned transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["payer"],"properties":{"payer":{"type":"string"},"mode":{"type":"string","enum":["burn","redeem","sink"],"default":"burn"},"mint":{"type":"string"},"amount":{"type":"number"},"quoteOnly":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Unsigned tx base64 + simulation"}}}},"/api/prepare-crank":{"post":{"operationId":"prepareCrank","summary":"Build permissionless 60/40 crank & 1.5% caller bounty unsigned transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["payer"],"properties":{"payer":{"type":"string"},"mint":{"type":"string"},"action":{"type":"string","enum":["auto","harvest_lst","harvest_wrap","crank_60_40","crank_adaptive_fee","handle_graph","flush_router_fee_vault"]}}}}}},"responses":{"200":{"description":"Unsigned crank tx base64 + simulation"}}}},"/api/prepare-create":{"post":{"operationId":"prepareLaunch","summary":"Build unsigned launchpad transactions for a new StakePool T22 LST or PR #694 Shield Wrap","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["creator","mode","name","symbol"],"properties":{"creator":{"type":"string"},"mode":{"type":"string","enum":["lst","wrap"]},"name":{"type":"string"},"symbol":{"type":"string"},"underlyingMint":{"type":"string"},"feeRegime":{"type":"string","enum":["composable","balanced","burn-engine"]},"seedSol":{"type":"number"},"bootstrapPool":{"type":"boolean"},"nonceHex":{"type":"string"}}}}}},"responses":{"200":{"description":"Unsigned launch transactions + simulation"}}}},"/api/blender/simulate":{"get":{"operationId":"simulateDeltaNeutralTorosolLp","summary":"Read confirmed Blender accounts and calculate an optional explicit allocation scenario","responses":{"200":{"description":"Confirmed vault and mint observations. Optional scenario outputs are nullable when assumptions are missing."}}}},"/api/blender/discover":{"get":{"operationId":"discoverBlender","summary":"List mainnet Blender accounts and their links","responses":{"200":{"description":"Confirmed Blender accounts grouped by type"},"503":{"description":"Mainnet RPC unavailable"}}}},"/api/blender/vault":{"get":{"operationId":"getBlenderVaultState","summary":"Read a mainnet Blender vault and optional wallet token balances","parameters":[{"name":"vault","in":"query","schema":{"type":"string"}},{"name":"wallet","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Live mainnet BlenderVault state and optional wallet balances"}}}},"/api/blender/prepare-tx":{"post":{"operationId":"prepareBlenderVaultTx","summary":"Build & simulate non-custodial Solana Mainnet BlenderVault deposit (USDC -> bVAULT) or withdraw (bVAULT -> USDC) unsigned transaction","responses":{"200":{"description":"Unsigned transaction base64 + mainnet simulation"}}}},"/mcp":{"post":{"operationId":"mcpJsonRpc","summary":"Remote Stateless Streamable HTTP MCP JSON-RPC 2.0 endpoint (non-custodial tools)","responses":{"200":{"description":"MCP JSON-RPC 2.0 response"}}},"get":{"operationId":"getMcpManifest","summary":"Remote MCP server manifest and tool directory","responses":{"200":{"description":"MCP server manifest JSON"}}}},"/actions.json":{"get":{"operationId":"getActionsRules","summary":"Solana Actions v2.2 / Dialect Blinks routing rules","responses":{"200":{"description":"Actions rules JSON"}}}}}}