getBlocks, RPC on carbium services: returns [number]. It costs 55 credits, and a JSON-RPC batch can hold it.
| param | type | ||
|---|---|---|---|
| startSlot | u64 | req | |
| endSlot | u64 | opt | |
| config | {commitment?} | opt |
{"jsonrpc":"2.0","id":1,"method":"getBlocks","params":["<slot-8>","<slot>"]}answer[number]