---
title: "eth_estimateGas"
method: POST
path: "/eth_estimateGas"
tags: ["Ethereum API"]
---

# eth_estimateGas

`POST /eth_estimateGas`

Estimates the amount of gas needed to execute a call

## Request body

- object
  - `jsonrpc` string, required — JSON-RPC version
  - `method` string, required — The method to call
  - `params` unknown[], required — Parameters for gas estimation
    - unknown
  - `id` integer, required — Request identifier

## Response `200`

Returns the estimated gas amount

- object
  - `jsonrpc` string
  - `id` integer
  - `result` string — The estimated amount of gas needed

---

[API](https://skmtc.net/abs/apis/abstract-json-rpc-api.md) · [All operations](https://skmtc.net/abs/apis/abstract-json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/abs/abstract-json-rpc-api/versions/65e951da6380/schema)
