Estimate gas

EstimateGas implements the `eth_estimateGas` rpc api

get
Query parameters
argsstringOptional

same json format as the json rpc api.

gas_capstring · uint64Optional

the default gas cap to be used.

proposer_addressstringOptional

the proposer of the requested block.

Responses
200

A successful response.

application/json
get
GET /ethermint/evm/v1/estimate_gas HTTP/1.1
Host: rest.origin.uptick.network
Accept: */*
{
  "gas": "text"
}

Last updated