helius-dflow

Build Solana trading applications using DFlow trading APIs and Helius infrastructure.

1|Updated Aug 5, 2026
One-click install
npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill helius-dflow-solizardking
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: helius-dflow
Source: https://github.com/Solizardking/Solana-Robotics-Kit/tree/main/eliza/packages/skills/skills/helius-dflow
Command: npx skills add https://github.com/Solizardking/Solana-Robotics-Kit --skill helius-dflow-solizardking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires helius-sdk, helius-laserstream, @solana/kit, @solana/spl-token, and includes references (resource) components.

What problem does it solve? Building trading applications on Solana requires coordinating DEX aggregation, transaction submission, fee optimization, real-time data streaming, and KYC compliance across multiple APIs, which is error-prone without structured guidance. ## Core Features & Use Cases - Spot Swaps & Prediction Markets: Implement imperative and declarative token swaps, prediction market trading with Proof KYC gating, and order status polling via DFlow APIs. - Transaction Submission & Fees: Submit transactions through Helius Sender with dynamic priority fee estimation and Jito tips for optimal landing rates. - Real-Time Data & Autonomous Agents: Stream market and on-chain data via DFlow WebSockets, Helius WebSockets, or LaserStream, and configure the DFlow Agent CLI with guardrails for autonomous trading. - Use Case: Build a trading bot that streams prices via DFlow WebSockets, executes swaps through the DFlow order API, submits transactions via Helius Sender, and detects fills at shred-level latency with LaserStream. ## Quick Start Ask the assistant to build a Solana token swap flow using DFlow for quotes and Helius Sender for transaction submission.

Frequently Asked Questions about helius-dflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a token swap on Solana with DFlow?▼

Request a quote from the DFlow /order endpoint with input mint, output mint, and amount in atomic units, then sign the returned transaction and submit it via Helius Sender. Poll /order-status for async trades until the status reaches a terminal state.

How do I trade prediction markets on Solana?▼

Discover markets through the DFlow Metadata API, verify the market status is active, confirm the user's Proof KYC verification, then submit an /order from USDC or CASH to the outcome token mint. Prediction market trades are always imperative and async, so poll /order-status for fills.

When should I use LaserStream instead of Helius WebSockets?▼

Use LaserStream for latency-critical workloads like trading bots, HFT, and liquidation engines where shred-level data matters. Enhanced WebSockets are simpler and sufficient for transaction monitoring and dashboards; LaserStream mainnet requires a Business+ plan.

Does DFlow spot trading require KYC verification?▼

No, Proof KYC is required only for buying and selling prediction market outcome tokens. Spot swaps, market browsing, and metadata queries do not require KYC, though builders must still enforce geoblocking for prediction markets.

Why does my DFlow trade fail with route_not_found?▼

The most common cause is passing human-readable amounts instead of atomic units, such as 8 instead of 8_000_000. Other causes include insufficient liquidity for the pair or, for prediction markets, an output mint that does not match the market's settlement mint.

Can I call the DFlow Trade API directly from a browser?▼

No, the DFlow Trade API does not set CORS headers, so browser fetch calls to /order or /intent will fail. Proxy all Trade API calls through a backend such as Cloudflare Workers, Vercel Edge Functions, or an Express server.