A user can query and interact with theDocumentation Index
Fetch the complete documentation index at: https://injectivelabs-mintlify-jp-developers-first-half-1777019423.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
evm module using the CLI, JSON-RPC, gRPC or REST.
CLI
Find below a list ofinjectived commands added with the x/evm module. You can obtain the full list by using the injectived -h command.
Queries
Thequery 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
Thetx 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.injective.zone/basics/json_rpc.htmlgRPC
Queries
| Verb | Method | Description |
|---|---|---|
gRPC | injective.evm.v1.Query/Account | Get an Ethereum account |
gRPC | injective.evm.v1.Query/CosmosAccount | Get an Ethereum account’s Cosmos Address |
gRPC | injective.evm.v1.Query/ValidatorAccount | Get an Ethereum account’s from a validator consensus Address |
gRPC | injective.evm.v1.Query/Balance | Get the balance of a the EVM denomination for a single EthAccount. |
gRPC | injective.evm.v1.Query/Storage | Get the balance of all coins for a single account |
gRPC | injective.evm.v1.Query/Code | Get the balance of all coins for a single account |
gRPC | injective.evm.v1.Query/Params | Get the parameters of x/evm module |
gRPC | injective.evm.v1.Query/EthCall | Implements the eth_call rpc api |
gRPC | injective.evm.v1.Query/EstimateGas | Implements the eth_estimateGas rpc api |
gRPC | injective.evm.v1.Query/TraceTx | Implements the debug_traceTransaction rpc api |
gRPC | injective.evm.v1.Query/TraceBlock | Implements the debug_traceBlockByNumber and debug_traceBlockByHash rpc api |
GET | /injective/evm/v1/account/{address} | Get an Ethereum account |
GET | /injective/evm/v1/cosmos_account/{address} | Get an Ethereum account’s Cosmos Address |
GET | /injective/evm/v1/validator_account/{cons_address} | Get an Ethereum account’s from a validator consensus Address |
GET | /injective/evm/v1/balances/{address} | Get the balance of a the EVM denomination for a single EthAccount. |
GET | /injective/evm/v1/storage/{address}/{key} | Get the balance of all coins for a single account |
GET | /injective/evm/v1/codes/{address} | Get the balance of all coins for a single account |
GET | /injective/evm/v1/params | Get the parameters of x/evm module |
GET | /injective/evm/v1/eth_call | Implements the eth_call rpc api |
GET | /injective/evm/v1/estimate_gas | Implements the eth_estimateGas rpc api |
GET | /injective/evm/v1/trace_tx | Implements the debug_traceTransaction rpc api |
GET | /injective/evm/v1/trace_block | Implements the debug_traceBlockByNumber and debug_traceBlockByHash rpc api |
Transactions
| Verb | Method | Description |
|---|---|---|
gRPC | injective.evm.v1.Msg/EthereumTx | Submit an Ethereum transactions |
POST | /injective/evm/v1/ethereum_tx | Submit an Ethereum transactions |
