getConfirmedBlock returned transaction and identity information for one
confirmed block slot.
Removed RPC methodThis method was removed in Agave v2.0. Use
getBlock.
Migration
Keep the slot as the first parameter. Move a legacy bare encoding into the configuration object and setcommitment: "confirmed" to preserve the old
method’s commitment semantics. Set maxSupportedTransactionVersion when your
client supports versioned transactions.