跳转到主要内容
POST

请求体

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

Start slot and limit. See Solana RPC docs for exact shape.

Required array length: 1 - 2 elements
id
默认值:1
必填

响应

200 - application/json

Successful response

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

Array of confirmed slot numbers.