---
title: "POST /pocket.proof.Msg/SubmitProof"
method: POST
path: "/pocket.proof.Msg/SubmitProof"
tags: ["Msg"]
---

# POST /pocket.proof.Msg/SubmitProof

`POST /pocket.proof.Msg/SubmitProof`

## Request body

- PocketProofMsgSubmitProof
  - `proof` string, byte
  - `session_header` PocketSessionSessionHeader — SessionHeader is a lightweight header for a session that can be passed around. It is the minimal amount of data required to hydrate & retrieve all data relevant to the session.
    - `application_address` string — The Bech32 address of the application.
    - `service_id` string
    - `session_end_block_height` string, int64 — Note that`session_end_block_height` is a derivative of (`start` + `num_blocks_per_session`) as goverened by onchain params at the time of the session start. It is stored as an additional field to simplofy business logic in case the number of blocks_per_session changes during the session. The height at which this session ended, this is the last block of the session
    - `session_id` string — A unique pseudoranom ID for this session
    - `session_start_block_height` string, int64
  - `supplier_operator_address` string

## Response `200`

A successful response.

- PocketProofMsgSubmitProofResponse
  - `proof` PocketProofProof
    - `closest_merkle_proof` string, byte — The serialized SMST compacted proof from the `#ClosestProof()` method.
    - `session_header` PocketSessionSessionHeader — SessionHeader is a lightweight header for a session that can be passed around. It is the minimal amount of data required to hydrate & retrieve all data relevant to the session.
      - `application_address` string — The Bech32 address of the application.
      - `service_id` string
      - `session_end_block_height` string, int64 — Note that`session_end_block_height` is a derivative of (`start` + `num_blocks_per_session`) as goverened by onchain params at the time of the session start. It is stored as an additional field to simplofy business logic in case the number of blocks_per_session changes during the session. The height at which this session ended, this is the last block of the session
      - `session_id` string — A unique pseudoranom ID for this session
      - `session_start_block_height` string, int64
    - `supplier_operator_address` string — Address of the supplier's operator that submitted this proof.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-03-27** `4f349536c8f3` — 1 info
  - endpoint added
- **2023-11-01** `3f51f9b9a127` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/pocket.proof.Msg/SubmitProof/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/4f349536c8f3/schema)
