---
title: "Returns the state root by index"
method: GET
path: "/stateroot/index/{index}"
---

# Returns the state root by index

`GET /stateroot/index/{index}`

This returns a state root appended to the State Commitment Chain by index

## Path parameters

- `index` integer, required

## Response `200`

An object representing the a state root

- StateRootResponse
  - `batch` BatchEntry
    - `index` number
    - `blockNumber` number
    - `timestamp` number
    - `submitter` string
    - `size` number
    - `root` string
    - `prevTotalElements` number
    - `extraData` string
    - `l1TransactionHash` string
  - `stateRoot` StateRootEntry
    - `index` number
    - `batchIndex` number
    - `value` string

---

[API](https://skmtc.net/mantlenetworkio/apis/mantle-data-transport-later.md) · [All operations](https://skmtc.net/mantlenetworkio/apis/mantle-data-transport-later/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mantlenetworkio/mantle-data-transport-later/revisions/5030508300a9/schema)
