Skip to main content

0.05 credits per call

getBlocksWithLimit on Solana: Returns a list of confirmed blocks starting at a slot, up to a limit.

Endpoint

Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

Returns

array<u64>: Array of confirmed block slots in ascending order.

Examples

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.