> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# BlocksInput

> BlocksInput input type. Reference for the BlocksInput input object in the Codex API: every field, its type, and the operations that accept it.

## GraphQL

```
input BlocksInput {
  networkId: Int!
  blockNumbers: [Int!]
  timestamps: [Int!]
}
```

### Used By

**Used as input by**

* [blocks](https://docs.codex.io/api-reference/queries/blocks.md): Returns block data for the input blockNumbers or timestamps, maximum 25 inputs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.