> For the complete documentation index, see [llms.txt](/llms.txt).

# `getSlotLeaders`

Returns the slot leaders for a given slot range. This method uses [160 credits](/services/get-started/pricing/) from your daily balance.

## Parameters[​](#parameters "Direct link to Parameters")

- `startSlot`: (integer) _[required]_ - The starting slot number for the query.\`
- `limit`: (integer) _[required]_ - The maximum number of slot leaders to return (`1` to `5000`).

## Returns[​](#returns "Direct link to Returns")

`result`: (array of strings) - An array of `base58` encoded public key addresses identifying the slot leaders.

### Request[​](#request "Direct link to Request")

- curl

```
curl https://solana-mainnet.infura.io/v3/<YOUR-API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "getSlotLeaders", "params": [373184397, 5]}'

```

### Response[​](#response "Direct link to Response")

- JSON

```
{
  "jsonrpc": "2.0",
  "result": [
    "dv3qDFk1DTF36Z62bNvrCXe9sKATA6xvVy6A798xxAS",
    "dv3qDFk1DTF36Z62bNvrCXe9sKATA6xvVy6A798xxAS",
    "dv3qDFk1DTF36Z62bNvrCXe9sKATA6xvVy6A798xxAS",
    "dv2eQHeP4RFrJZ6UeiZWoc3XTtmtZCUKxxCApCDcRNV",
    "dv2eQHeP4RFrJZ6UeiZWoc3XTtmtZCUKxxCApCDcRNV"
  ],
  "id": 1
}

```
