Solana RPC MethodsRemoved Methods

getConfirmedBlocksWithLimit (removed)

getConfirmedBlocksWithLimit returned up to a requested number of confirmed block slots, starting at one slot.

Removed RPC method

This method was removed in Agave v2.0. Use getBlocksWithLimit.

Migration

Pass the same startSlot and limit as the first two parameters, then set commitment: "confirmed" in the optional configuration object. The limit counts returned, non-skipped block slots rather than the width of a slot range.

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.