Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
⚡ DFlow now supports the v1 transaction format. See our migration docs
Stream Trading API priority fee estimates over WebSocket
GET /priority-fees
{ "mediumMicroLamports": 100000, "highMicroLamports": 150000, "veryHighMicroLamports": 220000 }
import WebSocket from "ws"; const WS_URL = "wss://dev-quote-api.dflow.net/priority-fees/stream"; const ws = new WebSocket(WS_URL); ws.onopen = () => { console.log("Connected — waiting for priority fee updates"); }; ws.onmessage = (event) => { const fees = JSON.parse(event.data.toString()); console.log("Priority fees (micro-lamports/CU):", fees); };