Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the evm Msg service.
EthereumTx defines a method submitting Ethereum transactions.
UpdateParams defined a governance operation for updating the x/evm module parameters. The authority is hard-coded to the Cosmos SDK x/gov module account
MsgUpdateParams defines a Msg for updating the x/evm module parameters.
authority is the address of the governance account.
params defines the x/evm parameters to update. NOTE: All parameters must be supplied.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
(message has no fields)
Query defines the gRPC querier service.
Account queries an Ethereum account.
QueryAccountRequest is the request type for the Query/Account RPC method.
address is the ethereum hex address to query the account for.
QueryAccountResponse is the response type for the Query/Account RPC method.
balance is the balance of the EVM denomination.
code_hash is the hex-formatted code bytes from the EOA.
nonce is the account's sequence number.
CosmosAccount queries an Ethereum account's Cosmos Address.
QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
address is the ethereum hex address to query the account for.
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
cosmos_address is the cosmos address of the account.
sequence is the account's sequence number.
account_number is the account number
ValidatorAccount queries an Ethereum account's from a validator consensus Address.
QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
cons_address is the validator cons address to query the account for.
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
account_address is the cosmos address of the account in bech32 format.
sequence is the account's sequence number.
account_number is the account number
Balance queries the balance of a the EVM denomination for a single EthAccount.
QueryBalanceRequest is the request type for the Query/Balance RPC method.
address is the ethereum hex address to query the balance for.
QueryBalanceResponse is the response type for the Query/Balance RPC method.
balance is the balance of the EVM denomination.
Storage queries the balance of all coins for a single account.
QueryStorageRequest is the request type for the Query/Storage RPC method.
address is the ethereum hex address to query the storage state for.
key defines the key of the storage state
QueryStorageResponse is the response type for the Query/Storage RPC method.
value defines the storage state value hash associated with the given key.
Code queries the balance of all coins for a single account.
QueryCodeRequest is the request type for the Query/Code RPC method.
address is the ethereum hex address to query the code for.
QueryCodeResponse is the response type for the Query/Code RPC method.
code represents the code bytes from an ethereum address.
Params queries the parameters of x/evm module.
QueryParamsRequest defines the request type for querying x/evm parameters.
(message has no fields)
QueryParamsResponse defines the response type for querying x/evm parameters.
params define the evm module parameters.
EthCall implements the `eth_call` rpc api
EstimateGas implements the `eth_estimateGas` rpc api
EstimateGasResponse defines EstimateGas response
gas returns the estimated gas
TraceTx implements the `debug_traceTransaction` rpc api
QueryTraceTxRequest defines TraceTx request
msg is the MsgEthereumTx for the requested transaction
trace_config holds extra parameters to trace functions.
predecessors is an array of transactions included in the same block need to be replayed first to get correct context for tracing.
block_number of requested transaction
block_hash of requested transaction
block_time of requested transaction
proposer_address is the proposer of the requested block
chain_id is the the eip155 chain id parsed from the requested block header
QueryTraceTxResponse defines TraceTx response
data is the response serialized in bytes
TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api
QueryTraceBlockRequest defines TraceTx request
txs is an array of messages in the block
trace_config holds extra parameters to trace functions.
block_number of the traced block
block_hash (hex) of the traced block
block_time of the traced block
proposer_address is the address of the requested block
chain_id is the eip155 chain id parsed from the requested block header
QueryTraceBlockResponse defines TraceBlock response
data is the response serialized in bytes
BaseFee queries the base fee of the parent block of the current block, it's similar to feemarket module's method, but also checks london hardfork status.
QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.
(message has no fields)
QueryBaseFeeResponse returns the EIP1559 base fee.
base_fee is the EIP1559 base fee
AccessListTx is the data of EIP-2930 access list transactions.
chain_id of the destination EVM chain
nonce corresponds to the account nonce (transaction sequence).
gas_price defines the value for each gas unit
gas defines the gas limit defined for the transaction.
to is the recipient address in hex format
value defines the unsigned integer value of the transaction amount.
data is the data payload bytes of the transaction.
accesses is an array of access tuples
v defines the signature value
r defines the signature value
s define the signature value
AccessTuple is the element type of an access list.
Used in:
,address is a hex formatted ethereum address
storage_keys are hex formatted hashes of the storage keys
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.
Used in:
,homestead_block switch (nil no fork, 0 = already homestead)
dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)
dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork
eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork)
eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed)
eip155_block: EIP155Block HF block
eip158_block: EIP158 HF block
byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)
constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)
petersburg_block: Petersburg switch block (nil same as Constantinople)
istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)
muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)
berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)
london_block: London switch block (nil = no fork, 0 = already on london)
arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)
gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)
merge_netsplit_block: Virtual fork after The Merge to use as a network splitter
shanghai_block switch block (nil = no fork, 0 = already on shanghai)
cancun_block switch block (nil = no fork, 0 = already on cancun)
DynamicFeeTx is the data of EIP-1559 dinamic fee transactions.
chain_id of the destination EVM chain
nonce corresponds to the account nonce (transaction sequence).
gas_tip_cap defines the max value for the gas tip
gas_fee_cap defines the max value for the gas fee
gas defines the gas limit defined for the transaction.
to is the hex formatted address of the recipient
value defines the the transaction amount.
data is the data payload bytes of the transaction.
accesses is an array of access tuples
v defines the signature value
r defines the signature value
s define the signature value
EIP712AllowedMsg stores an allowed legacy msg and its eip712 type.
Used in:
msg_type_url is a msg's proto type name. ie "/cosmos.bank.v1beta1.MsgSend"
msg_value_type_name is a name of the eip712 value type. ie "MsgValueSend"
value_types is a list of msg value types
nested_types is a list of msg value nested types
EIP712MsgAttrType is the eip712 type of a single message attribute.
Used in:
,name
type
EIP712NestedMsgType is the eip712 type of a single message.
Used in:
name of the nested type. ie "Fee", "Coin"
attrs of the nested type
EthCallRequest defines EthCall request
Used as request type in: Query.EstimateGas, Query.EthCall
args uses the same json format as the json rpc api.
gas_cap defines the default gas cap to be used
proposer_address of the requested block in hex format
chain_id is the eip155 chain id parsed from the requested block header
EventBlockBloom defines an Ethereum block bloom filter event
bloom is the bloom filter of the block
EventEthereumTx defines the event for an Ethereum transaction
amount
eth_hash is the Ethereum hash of the transaction
index of the transaction in the block
gas_used is the amount of gas used by the transaction
hash is the Tendermint hash of the transaction
recipient of the transaction
eth_tx_failed contains a VM error should it occur
EventMessage
module which emits the event
sender of the message
tx_type is the type of the message
EventTxLog defines the event for an Ethereum transaction log
tx_logs is an array of transaction logs
ExtensionOptionsEthereumTx is an extension option for ethereum transactions
(message has no fields)
GenesisAccount defines an account to be initialized in the genesis state. Its main difference between with Geth's GenesisAccount is that it uses a custom storage type and that it doesn't contain the private key field.
Used in:
address defines an ethereum hex formated address of an account
code defines the hex bytes of the account code.
storage defines the set of state key values for the account.
GenesisState defines the evm module's genesis state.
accounts is an array containing the ethereum genesis accounts.
params defines all the parameters of the module.
LegacyTx is the transaction data of regular Ethereum transactions. NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the AllowUnprotectedTxs parameter is disabled.
nonce corresponds to the account nonce (transaction sequence).
gas_price defines the value for each gas unit
gas defines the gas limit defined for the transaction.
to is the hex formatted address of the recipient
value defines the unsigned integer value of the transaction amount.
data is the data payload bytes of the transaction.
v defines the signature value
r defines the signature value
s define the signature value
Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node. NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.
Used in:
, ,address of the contract that generated the event
topics is a list of topics provided by the contract.
data which is supplied by the contract, usually ABI-encoded
block_number of the block in which the transaction was included
tx_hash is the transaction hash
tx_index of the transaction in the block
block_hash of the block in which the transaction was included
index of the log in the block
removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs through a filter query.
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
Used as request type in: Msg.EthereumTx
Used as field type in:
,data is inner transaction data of the Ethereum transaction
size is the encoded storage size of the transaction (DEPRECATED)
hash of the transaction in hex format
from is the ethereum signer address in hex format. This address value is checked against the address derived from the signature (V, R, S) using the secp256k1 elliptic curve
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
Used as response type in: Msg.EthereumTx, Query.EthCall
hash of the ethereum transaction in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See https://github.com/tendermint/tendermint/issues/6539 for reference
logs contains the transaction hash and the proto-compatible ethereum logs.
ret is the returned data from evm function (result or data supplied with revert opcode)
vm_error is the error returned by vm execution
gas_used specifies how much gas was consumed by the transaction
Params defines the EVM module parameters
Used in:
, ,evm_denom represents the token denomination used to run the EVM state transitions.
enable_create toggles state transitions that use the vm.Create function
enable_call toggles state transitions that use the vm.Call function
extra_eips defines the additional EIPs for the vm.Config
chain_config defines the EVM chain configuration parameters
eip712_allowed_msgs contains list of allowed eip712 msgs and their types
allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine.
enabled_precompiles contains list of hex-encoded evm addresses of enabled precompiled contracts. Precompile must be registered before it can be enabled. enabled_precompiles should be sorted in ascending order and unique. sorting and uniqueness are checked against bytes representation of addresses
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
hash is the ethereum transaction hex hash to query the logs for.
pagination defines an optional pagination for the request.
QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.
logs represents the ethereum logs generated from the given transaction.
pagination defines the pagination in the response.
State represents a single Storage key value pair item.
Used in:
key is the stored key
value is the stored value for the given key
TraceConfig holds extra parameters to trace functions.
Used in:
,tracer is a custom javascript tracer
timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls
reexec defines the number of blocks the tracer is willing to go back
disable_stack switches stack capture
disable_storage switches storage capture
debug can be used to print output during capture end
limit defines the maximum length of output, but zero means unlimited
overrides can be used to execute a trace using future fork rules
enable_memory switches memory capture
enable_return_data switches the capture of return data
tracer_json_config configures the tracer using a JSON string
TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade.
Used in:
hash of the transaction
logs is an array of Logs for the given transaction hash
TxResult stores results of Tx execution.
contract_address contains the ethereum address of the created contract (if any). If the state transition is an evm.Call, the contract address will be empty.
bloom represents the bloom filter bytes
tx_logs contains the transaction hash and the proto-compatible ethereum logs.
ret defines the bytes from the execution.
reverted flag is set to true when the call has been reverted
gas_used notes the amount of gas consumed while execution