getMaxRetransmitSlot
https://api.triport.ioReturns the highest slot the node has observed coming out of its retransmit stage.
getMaxRetransmitSlot returns the highest slot seen from the retransmit
stage — the point in the validator's turbine pipeline where shreds received
from peers are forwarded on. It is a single slot number reflecting how far the
node has progressed in propagating blocks across the cluster.
This is a low-level diagnostic metric, primarily useful for observing a
node's ingest/forwarding progress rather than for application data. To track the
slot a node will actually serve confirmed reads from, prefer
getSlot; to see how far shred insertion has advanced, compare
with getMaxShredInsertSlot.
Gotchas
- The value is node-local and reflects pipeline state, not network finality — it is not a confirmed or finalized slot and should not be used as a read floor for fetching block data.
- It advances continuously as the node receives shreds; do not cache it.
Parameters
None. The params array is empty.
——optionalResponse
Response fields
| Field | Type | Description |
|---|---|---|
result | integer | The highest slot seen from the retransmit stage. |
Errors
| Code | Meaning | When it happens |
|---|---|---|
-32003 | Rate limit exceeded | More than your tier's RPS for sol_read_rpc (free 20 / basic 60 / pro 200 / business 600); a burst up to 2× is allowed before throttling. |
-32601 | Method not recognised | The method name was misspelled or is not in the Solana catalog. |
-32602 | Invalid params | A non-empty params array was sent — this method accepts no parameters. |
See the shared errors reference for the full error envelope
and the error.data fields.
Examples
JavaScript (fetch)
const res = await fetch("https://api.triport.io", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.TRIPORT_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
jsonrpc: "2.0",
id: 1,
method: "getMaxRetransmitSlot",
params: [],
}),
});
const { result } = await res.json();
console.log(`Max retransmit slot: ${result}`);TypeScript SDK (@triport/sdk)
import { TriportClient } from "@triport/sdk";
const client = new TriportClient({ apiKey: process.env.TRIPORT_API_KEY! });
const slot: number = await client.solana.getMaxRetransmitSlot();
console.log(`Max retransmit slot: ${slot}`);Python (triport-sdk)
import os
from triport import TriportClient
client = TriportClient(api_key=os.environ["TRIPORT_API_KEY"])
slot = client.solana.get_max_retransmit_slot()
print(f"Max retransmit slot: {slot}")Notes
- Diagnostic, not finality: this reports turbine pipeline progress. For the
slot the node serves reads from, use
getSlot. - Related metric:
getMaxShredInsertSlotreports the highest slot seen after shred insertion; comparing the two shows how retransmit and insert stages are tracking relative to each other. - Moving target: the value climbs as shreds arrive — re-query rather than caching it.
- Staging: the same request works against
https://staging.api.triport.iofor testing.