Eth call

EthCall implements the `eth_call` rpc api

get
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
get
GET /ethermint/evm/v1/eth_call HTTP/1.1
Host: zetachain.nownodes.io
Accept: */*
{
  "hash": "text",
  "logs": [
    {
      "address": "text",
      "topics": [
        "text"
      ],
      "data": "text",
      "block_number": "text",
      "tx_hash": "text",
      "tx_index": "text",
      "block_hash": "text",
      "index": "text",
      "removed": true
    }
  ],
  "ret": "text",
  "vm_error": "text",
  "gas_used": "text"
}