getConfirmedBlocks returned confirmed block slots in an inclusive range.
Removed RPC methodThis method was removed in Agave v2.0. Use
getBlocks.
Migration
Pass the samestartSlot and optional inclusive endSlot to getBlocks, then
set commitment: "confirmed" in its configuration object. The replacement still
omits skipped slots from the returned array.