Streams priority fee estimate updates over a WebSocket connection
curl --request GET \
--url https://quote-api.dflow.net/priority-fees/stream \
--header 'x-api-key: <api-key>'Websockets
Priority Fees Stream
Stream Trading API priority fee estimates over WebSocket
GET
/
priority-fees
/
stream
Streams priority fee estimate updates over a WebSocket connection
curl --request GET \
--url https://quote-api.dflow.net/priority-fees/stream \
--header 'x-api-key: <api-key>'Use this stream to receive real-time priority fee estimate updates.Documentation Index
Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
Use this file to discover all available pages before exploring further.
No subscribe message is required. Connect to the endpoint and start reading
messages.
Connection
See the Websockets Overview for endpoint details.Message Format
Each message is a JSON object with the same shape asGET /priority-fees:
{
"mediumMicroLamports": 100000,
"highMicroLamports": 150000,
"veryHighMicroLamports": 220000
}
Example (TypeScript)
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);
};
Related
Authorizations
API key for authentication. Contact hello@dflow.net to obtain an API key.
Response
101
WebSocket upgrade
⌘I