What problem does it solve? AI agents and developers lack accurate, up-to-date knowledge of DFlow's trading APIs on Solana, leading to incorrect endpoints, wrong parameters, and failed swap or prediction market integrations. ## Core Features & Use Cases - Swap API Integration: Execute imperative and declarative token swaps via the Order, Quote, and Swap endpoints with slippage, priority fee, and MEV protection controls. - Prediction Market Trading: Query events, markets, orderbooks, and trades through the Metadata API, and trade outcome tokens using the unified Trade API. - Real-Time Streaming: Subscribe to price, orderbook, and trade updates over WebSocket for live market monitoring. - Use Case: Build a trading bot that swaps SOL for USDC with Jito bundle protection, then monitors a prediction market's orderbook via WebSocket and buys YES outcome tokens when prices cross a threshold. ## Quick Start Use the dflow skill to write TypeScript code that gets a quote and executes a swap of 1 SOL to USDC through the DFlow Order API.