---
title: "ContainsBytes is a temporary method that checks whether a hash is maintained by the module. See discussion at https://github.com/babylonlabs-io/babylon/pull/132 for more details."
method: GET
path: "/babylon/btclightclient/v1/containsBytes"
tags: ["Query"]
---

# ContainsBytes is a temporary method that checks whether a hash is maintained by the module. See discussion at https://github.com/babylonlabs-io/babylon/pull/132 for more details.

`GET /babylon/btclightclient/v1/containsBytes`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `hash` string, byte

## Response `200`

A successful response.

- object: QueryContainsResponse is response type for the temporary Query/ContainsBytes RPC method.
  - `contains` boolean

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/revisions/93a09c641887?raw)
