getSlot – Solana
The getSlot JSON-RPC method retrieves the latest slot that has reached the given or default commitment level in the Solana blockchain.
Supported Networks
Parameters
Optional Parameters
Result
Request Example
API Endpoints
cURL Example
Response
Example Response
Error Handling
Example Error Response
Use Cases
Code getSlot Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?