Request
Parameters
Commitment level for the query. One of
processed, confirmed, or finalized. Defaults to finalized.Response
The current slot number (u64).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the current slot number at the specified commitment level.
{
"jsonrpc": "2.0",
"id": 1,
"method": "getSlot",
"params": [{ "commitment": "finalized" }]
}
processed, confirmed, or finalized. Defaults to finalized.{
"jsonrpc": "2.0",
"id": 1,
"result": 341197053
}
curl "https://rpc.solami.fast/sol?api_key=YOUR_API_KEY" \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getSlot"}'