---
title: getConfirmedBlocks
hideTableOfContents: true
h1: getConfirmedBlocks RPC Method
---

Returns a list of confirmed blocks between two slots

<Callout type="warn" title={"Deprecated Method"}>
  This method is expected to be removed in `solana-core` v2.0. Please use
  [getBlocks](/docs/rpc/http/getblocks) instead.
</Callout>
