Solana RPC MethodsRemoved Methods

getConfirmedBlocks (removed)

getConfirmedBlocks returned confirmed block slots in an inclusive range.

Removed RPC method

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

Migration

Pass the same startSlot and optional inclusive endSlot to getBlocks, then set commitment: "confirmed" in its configuration object. The replacement still omits skipped slots from the returned array.

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.