> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/cex-integration-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/cex-integration-guide/local-calls/retrieve-a-set-of-blocks.md).

# Retrieve a Set of Blocks

```javascript
var Blockchain = '0x714d2ac07a826b66ac56752eebd7c77b58d2ee842e523d913fd0ef06e6bdfcae';
var Start = 0;
var End = 100;

Circular.GetBlockRange(Blockchain, Start, End)
  .then(data => {
    // do something with the data in JSON format
  });
```

### Output

```json
{
  "Result": 200, // Success
  "Response": {
    "Blocks": [
      // Blocks Array
      // Additional blocks can be added here
    ]
  }
}
```
