getMaxRetransmitSlot
Get the max slot seen from retransmit stage.
Parameters
No parameters required.
Request
- cURL
- JavaScript
- Python
curl https://solana-mainnet.api.syndica.io/api-key/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getMaxRetransmitSlot"
}'
// Using fetch
const response = await fetch('https://solana-mainnet.api.syndica.io/api-key/YOUR_API_KEY', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "getMaxRetransmitSlot"
})
});
const data = await response.json();
console.log(data);
import requests
import json
url = 'https://solana-mainnet.api.syndica.io/api-key/YOUR_API_KEY'
headers = {'Content-Type': 'application/json'}
data = {
"jsonrpc": "2.0",
"id": 1,
"method": "getMaxRetransmitSlot"
}
response = requests.post(url, headers=headers, data=json.dumps(data))
print(response.json())
Network Selection
Replace mainnet with devnet in the URL to query devnet instead.
Response
{
"jsonrpc": "2.0",
"result": 1234,
"id": 1
}
Response Fields
Return value: u64
Slot number
Related Methods
getMaxShredInsertSlot
Returns maximum slot after shred insertion into blockstore. Tracks a later processing stage than retransmit; useful when correlating Turbine pipeline stages.
getSlot
Returns current cluster slot at specified commitment level. Primary method for tracking slot progress; retransmit slot is an internal early-stage view of slot propagation.
getHealth
Returns validator health status based on slot progress. Both methods track validator performance metrics; combine for comprehensive node diagnostics.