---
title: "Estimate gas price"
method: GET
path: "/estimate_gas_price"
tags: ["Transactions"]
---

# Estimate gas price

`GET /estimate_gas_price`

Gives an estimate of the gas unit price required to get a transaction on chain in a
reasonable amount of time. The gas unit price is the amount that each transaction commits to
pay for each unit of gas consumed in executing the transaction. The estimate is based on
recent history: it gives the minimum gas that would have been required to get into recent
blocks, for blocks that were full. (When blocks are not full, the estimate will match the
minimum gas unit price.)

The estimation is given in three values: de-prioritized (low), regular, and prioritized
(aggressive). Using a more aggressive value increases the likelihood that the transaction
will make it into the next block; more aggressive values are computed with a larger history
and higher percentile statistics. More details are in AIP-34.

## Response `200`

- GasEstimation — Struct holding the outputs of the estimate gas API
  - `deprioritized_gas_estimate` integer — The deprioritized estimate for the gas unit price
  - `gas_estimate` integer, required — The current estimate for the gas unit price
  - `prioritized_gas_estimate` integer — The prioritized estimate for the gas unit price

## Other responses

- `400`
- `403`
- `500`
- `503`

---

[API](https://skmtc.net/pontem-network/apis/lumio-node-api.md) · [All operations](https://skmtc.net/pontem-network/apis/lumio-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pontem-network/lumio-node-api/revisions/385d1aaf056f/schema)
