> For the complete documentation index, see [llms.txt](https://api.fwallet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.fwallet.net/block/get-blocks.md).

# Get Blocks

Get blocks from the blockchain in reverse block height order.

**Request:**\
`requestType` is *getBlocks*\
`firstIndex` is the first block to retrieve (optional, default is zero or the last block on the blockchain)\
`lastIndex` is the last block to retrieve (optional, default is firstIndex + 99)\
`includeTransactions` is true to include transaction details (optional)

**Response:**

(A) `blocks` is the array of blocks retrieved (refer to Get Block for details)\
(N) `requestProcessingTime` is the API request processing time (in millisec)
