---
title: "Returns a paginated list of blocks from the chain"
method: GET
path: "/blocks"
tags: ["Blocks"]
---

# Returns a paginated list of blocks from the chain

`GET /blocks`

## Query parameters

- `after` number
- `before` number
- `limit` number
- `main` boolean
- `search` string
- `sequence_gte` number
- `sequence_lt` number
- `transaction_id` number
- `with_transactions` boolean

## Response `200`

---

[API](https://skmtc.dev/ironfish/apis/iron-fish-api.md) · [All operations](https://skmtc.dev/ironfish/apis/iron-fish-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ironfish/iron-fish-api/revisions/54491a764b13/schema)
