---
title: "EstimateGas implements the `eth_estimateGas` rpc api"
method: GET
path: "/cosmos/evm/vm/v1/estimate_gas"
tags: ["Query"]
---

# EstimateGas implements the \`eth_estimateGas\` rpc api

`GET /cosmos/evm/vm/v1/estimate_gas`

## Request

- Base URL: `https://api.mantrachain.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mantrachain.io/cosmos/evm/vm/v1/estimate_gas`
- Auth: none declared

## Query parameters

- `args` string, byte
- `gas_cap` string, uint64
- `proposer_address` string, byte
- `chain_id` string, int64
- `overrides` string, byte

## Response `200`

A successful response.

- object
  - `gas` string, uint64
  - `ret` string, byte
  - `vm_error` string

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/revisions/641ce457f7fd?raw)
