> For the complete documentation index, see [llms.txt](https://nodekit.gitbook.io/nodekit-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nodekit.gitbook.io/nodekit-documentation/json-rpc-methods/common-variables.md).

# Common Variables

We use the same args across a few different methods. Here we define them

```
type BlockInfo struct {
    BlockId         string `json:"id"`
    Timestamp       int64 `json:"timestamp"`
    L1Head          uint64 `json:"l1_head"`
    Height          uint64  `json:"height"`
}


type BlockHeadersResponse struct {
    From   uint64      `json:"from"`
    Blocks []BlockInfo `json:"blocks"`
    Prev   BlockInfo   `json:"prev"`
    Next   BlockInfo   `json:"next"`
}
```
