Client
A user can query and interact with the evm
module using the CLI, JSON-RPC, gRPC or REST.
CLI
Find below a list of ethermintd
commands added with the x/evm
module. You can obtain the full list by using the ethermintd -h
command.
Queries
The query
commands allow users to query evm
state.
code
Allows users to query the smart contract code at a given address.
storage
Allows users to query storage for an account with a given key and height.
Transactions
The tx
commands allow users to interact with the evm
module.
raw
Allows users to build cosmos transactions from raw ethereum transaction.
JSON-RPC
For an overview on the JSON-RPC methods and namespaces supported on Ethermint, please refer to https://docs.ethermint.zone/basics/json_rpc.html
gRPC
Queries
Verb | Method | Description |
---|---|---|
|
| Get an Ethereum account |
|
| Get an Ethereum account's Cosmos Address |
|
| Get an Ethereum account's from a validator consensus Address |
|
| Get the balance of a the EVM denomination for a single EthAccount. |
|
| Get the balance of all coins for a single account |
|
| Get the balance of all coins for a single account |
|
| Get the parameters of x/evm module |
|
| Implements the eth_call rpc api |
|
| Implements the eth_estimateGas rpc api |
|
| Implements the debug_traceTransaction rpc api |
|
| Implements the debug_traceBlockByNumber and debug_traceBlockByHash rpc api |
|
| Get an Ethereum account |
|
| Get an Ethereum account's Cosmos Address |
|
| Get an Ethereum account's from a validator consensus Address |
|
| Get the balance of a the EVM denomination for a single EthAccount. |
|
| Get the balance of all coins for a single account |
|
| Get the balance of all coins for a single account |
|
| Get the parameters of x/evm module |
|
| Implements the eth_call rpc api |
|
| Implements the eth_estimateGas rpc api |
|
| Implements the debug_traceTransaction rpc api |
|
| Implements the debug_traceBlockByNumber and debug_traceBlockByHash rpc api |
Transactions
Verb | Method | Description |
---|---|---|
|
| Submit an Ethereum transactions |
|
| Submit an Ethereum transactions |
Last updated