---
title: "VerifyMembership queries an IBC light client for proof verification of a value at a given key path."
method: POST
path: "/ibc/core/client/v1/verify_membership"
tags: ["Query"]
---

# VerifyMembership queries an IBC light client for proof verification of a value at a given key path.

`POST /ibc/core/client/v1/verify_membership`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/docs/ibc/core/client/v1/verify_membership/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `client_id` string: client unique identifier.
  - `proof` string, byte: the proof to be verified by the client.
  - `proof_height` object: Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height.
    - `revision_number` string, uint64
    - `revision_height` string, uint64
  - `value` string, byte: the value which is proven.
  - `time_delay` string, uint64
  - `block_delay` string, uint64
  - `merkle_path` object: the commitment key path.
    - `key_path` string[]

## Response `200`

A successful response.

- object
  - `success` boolean: boolean indicating success or failure of proof verification.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2024-02-15** `7690b79ebd42`: 1 info
  - endpoint added
- **2021-07-19** `cb56bc693679`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/changes/ibc/core/client/v1/verify_membership/post.md)

---

[API](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/revisions/50daa3dd79ce?raw)
