---
title: "BlockGas queries the gas used at a given block height"
method: GET
path: "/evmos/feemarket/v1/block_gas"
tags: ["Query"]
---

# BlockGas queries the gas used at a given block height

`GET /evmos/feemarket/v1/block_gas`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/docs/evmos/feemarket/v1/block_gas/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

A successful response.

- EthermintFeemarketV1QueryBlockGasResponse: QueryBlockGasResponse returns block gas used for a given height.
  - `gas` string, int64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api.md) - [All operations](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/revisions/2d0419923f40?raw)
