> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# getSlotLeaders

Returns the slot leaders for a given slot range.

This method will use `30` [Compute Units](/nodeapi/about/billing).

***

## **Parameters**

* `start_slot` string *<span style={{color: "red"}}>Required</span>.* The start slot encoded as u64, 64-bit unsigned integer.
* `limit` string. The limit encoded as u64, 64-bit unsigned integer.

## Returns

`result` The slot leaders for the specified slot range.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
	"jsonrpc": "2.0",
	"id": 1,
	"method": "getSlotLeaders",
	"params": [
		320163037,
		10
	]
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":1, "method":"getSlotLeaders", "params":[320163037, 10]}'
      
  ```

  ```bash title="devnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":1, "method":"getSlotLeaders", "params":[320163037, 10]}'
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.