TriportRPC

getMaxRetransmitSlot

POSThttps://api.triport.io

Returns the highest slot the node has observed coming out of its retransmit stage.

Solanasol_read_rpcfree+ — free 20 / basic 60 / pro 200 / business 600 RPS

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.

optional
This method takes no parameters.

Response

Response fields

FieldTypeDescription
resultintegerThe highest slot seen from the retransmit stage.

Errors

CodeMeaningWhen it happens
-32003Rate limit exceededMore 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.
-32601Method not recognisedThe method name was misspelled or is not in the Solana catalog.
-32602Invalid paramsA 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: getMaxShredInsertSlot reports 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.io for testing.