#### getBlocks

55 credits · FREE 0.5/s, DEV 3/s, BUSINESS 5/s, PRO 20/s · batch

| param | type |   |   |
|---|---|---|---|
| startSlot | u64 | req |  |
| endSlot | u64 | opt |  |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBlocks","params":["<slot-8>","<slot>"]}
```

**answer**: [number]
