getmaxretransmitslot

Solana RPC

Archive Method

Only on the full archive nodes. Complex queries might take longer and incur additional cost

How to Use It

// yarn add @tatumio/tatum

import { TatumSDK, Solana, Network } from '@tatumio/tatum'

const tatum = await TatumSDK.init<Solana>({ network: Network.SOLANA })

const res = await tatum.rpc.getMaxRetransmitSlot()

await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

Overview

The getMaxRetransmitSlot method returns the highest slot number seen from the retransmit stage. This can be useful for monitoring the progress of the network or for determining the highest slot number that has been processed by a specific node.

Parameters

None

Return Object

The method returns a value representing the highest slot number observed in the retransmit stage.

JSON-RPC Request Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getMaxRetransmitSlot"
}

JSON-RPC Response Example

{
  "jsonrpc": "2.0",
  "result": 1234,
  "id": 1
}