---
title: "Returns the latest state root"
method: GET
path: "/stateroot/latest"
---

# Returns the latest state root

`GET /stateroot/latest`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/bobanetwork/apis/ethereum-optimism-data-transport-later/docs/stateroot/latest/get.ts> (a function with typed inputs; its response is checked against the schema)

This returns the latest state root appended to the State Commitment Chain

## Response `200`

An object representing the latest 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

## Changes

- **2026-07-17** `ec0cd0f61e01`: 2 info
  - added the optional property `batch` to the response with the `200` status
  - added the optional property `stateRoot` to the response with the `200` status

[Operation history](https://skmtc.dev/bobanetwork/apis/ethereum-optimism-data-transport-later/changes/stateroot/latest/get.md)

---

[API](https://skmtc.dev/bobanetwork/apis/ethereum-optimism-data-transport-later.md) - [All operations](https://skmtc.dev/bobanetwork/apis/ethereum-optimism-data-transport-later/llms.txt) - [OpenAPI document](https://skmtc.dev/bobanetwork/apis/ethereum-optimism-data-transport-later/revisions/ec0cd0f61e01?raw)
