跳转到主要内容
POST

请求体

application/json
jsonrpc
enum<string>
默认值:2.0
必填
可用选项:
2.0
id
integer
默认值:1
必填
method
enum<string>
默认值:getBlocks
必填
可用选项:
getBlocks
params
(string | object)[]
必填

Start slot, optional end slot, and optional config object.

Required array length: 1 - 3 elements

响应

200 - application/json

Successful response

jsonrpc
enum<string>
默认值:2.0
必填
可用选项:
2.0
id
必填
result
integer[]

Array of confirmed slot numbers between start_slot and end_slot.