Estimate gas
Query parameters
argsstringOptional
args uses the same json format as the json rpc api.
gas_capstring · uint64Optional
gas_cap defines the default gas cap to be used.
proposer_addressstringOptional
proposer_address of the requested block in hex format.
chain_idstring · int64Optional
chain_id is the eip155 chain id parsed from the requested block header.
Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /ethermint/evm/v1/estimate_gas HTTP/1.1
Host: zetachain.nownodes.io
Accept: */*
{
"gas": "text",
"ret": "text",
"vm_error": "text"
}