SDK & API
Client hooks, MCP tools, and server endpoints for embedding YieldPilot on Pika Vault.
MCP Tool Endpoints
POST /tools/forecast_refunds_24hPOST /tools/compute_reserve_and_sweepPOST /tools/quote_exit_pathsPOST /tools/execute_best_exitPOST /tools/post_journal
Client Hooks (Web)
const { data: quotes } = useQuotes(amountUSDC6);
const best = pickBest(quotes);
await executeBestExit(quotes, amountUSDC6, address);Server Endpoints
/stripe/webhook— payment/refund events./shopify/webhook— optional parity.