cURL
curl --request GET \ --url https://quote-api.dflow.net/priority-fees/stream \ --header 'x-api-key: <api-key>'
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); };
API key for authentication. Contact hello@dflow.net to obtain an API key.
WebSocket upgrade