Parameters
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"getEpochInfo"
required
JSON-RPC method name.
Parameters for method getEpochInfo: [config]Positional parameters for getEpochInfo:params[]: Optional configuration object.
Returns
Information about the current slot, epoch, and transaction count.
The current absolute slot number.
The current block height.
The current epoch number.
The current slot index within the current epoch.
The total number of slots in the current epoch.
The total number of successful transactions processed since genesis, or null if unavailable.