top_txs
Highest priority-fee transactions in the window.
Leaderboard of the transactions that paid the most priority fee over the trailing 5 minutes. Returns up to 100 data points.
Try it
Sign in to run live
- Change wallet
Parameters
Aggregation window. One of: 5m.
Maximum data points (1-1000, default 100). Query only; ignored when streaming.
Request
curl -X POST https://rpc.raptor.trade \
-H "Authorization: Bearer $RAPTOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "solana::priorityfee::top_txs",
"params": {
"window": "5m",
"limit": 10
}
}'Response
Responses are always a JSON array - one entry per request - and each entry's result holds the array of data. The shape is identical over HTTP and WebSocket.
[
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"id": 1024,
"signature": "5h2k...g8Qa",
"signer": "7Np4...kRf2",
"program": "JUP6...k9Yz",
"slot": "37",
"timestamp": "2026-06-01T02:16:22.000000000Z",
"compute_unit_price": "37",
"compute_unit_limit": "37",
"compute_units_consumed": "37",
"total_priority_fee": "37",
"window_duration": "PT5M",
"window_start": "2026-06-01T02:16:22.000000000Z",
"window_end": "2026-06-01T02:16:22.000000000Z"
}
]
}
]Fields
Numbers come back as strings and timestamps as ISO-8601 strings; every data point carries a stable id. See Data model.
Transaction signature.
Wallet that signed the tx.
Primary program invoked.
Slot the tx landed in.
Block time.
Compute-unit price (micro-lamports per CU).
Requested compute-unit limit.
Compute units actually consumed.
Total priority fee paid (lamports).
Window length, e.g. 1m.
Window start (inclusive).
Window end (exclusive).
Errors
Invalid parameters return -32602; an unknown method returns -32601. See Errors for the full table.
