---
title: "Get estimated gas for pay for blob"
method: GET
path: "/gas/estimate_for_pfb"
tags: ["gas"]
---

# Get estimated gas for pay for blob

`GET /gas/estimate_for_pfb`

Returns the estimated gas required to submit a MsgPayForBlobs transaction for the given blob sizes and share versions, using current on-chain gas parameters.

## Query parameters

- `sizes` string, required
- `versions` string

## Response `200`

OK

- integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

> 52 revisions in range; 28 could not be searched.

- **2024-10-13** `2ec1cffe67d5` — 1 warning
  - deleted the `query` request parameter `versions`

[Change history](https://skmtc.dev/celenium-io/apis/celenium-api/changes/gas/estimate_for_pfb/get.md)

---

[API](https://skmtc.dev/celenium-io/apis/celenium-api.md) · [All operations](https://skmtc.dev/celenium-io/apis/celenium-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/celenium-io/celenium-api/revisions/117307f84924/schema)
