import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import { Log, Params, TraceConfig } from "./evm_pb.js"; import { MsgEthereumTx } from "./tx_pb.js"; /** * QueryAccountRequest is the request type for the Query/Account RPC method. * * @generated from message ethermint.evm.v1.QueryAccountRequest */ export declare class QueryAccountRequest extends Message { /** * address is the ethereum hex address to query the account for. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryAccountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest; static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean; } /** * QueryAccountResponse is the response type for the Query/Account RPC method. * * @generated from message ethermint.evm.v1.QueryAccountResponse */ export declare class QueryAccountResponse extends Message { /** * balance is the balance of the EVM denomination. * * @generated from field: string balance = 1; */ balance: string; /** * code_hash is the hex-formatted code bytes from the EOA. * * @generated from field: string code_hash = 2; */ codeHash: string; /** * nonce is the account's sequence number. * * @generated from field: uint64 nonce = 3; */ nonce: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountResponse; static fromJsonString(jsonString: string, options?: Partial): QueryAccountResponse; static equals(a: QueryAccountResponse | PlainMessage | undefined, b: QueryAccountResponse | PlainMessage | undefined): boolean; } /** * QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC * method. * * @generated from message ethermint.evm.v1.QueryCosmosAccountRequest */ export declare class QueryCosmosAccountRequest extends Message { /** * address is the ethereum hex address to query the account for. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryCosmosAccountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryCosmosAccountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryCosmosAccountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryCosmosAccountRequest; static equals(a: QueryCosmosAccountRequest | PlainMessage | undefined, b: QueryCosmosAccountRequest | PlainMessage | undefined): boolean; } /** * QueryCosmosAccountResponse is the response type for the Query/CosmosAccount * RPC method. * * @generated from message ethermint.evm.v1.QueryCosmosAccountResponse */ export declare class QueryCosmosAccountResponse extends Message { /** * cosmos_address is the cosmos address of the account. * * @generated from field: string cosmos_address = 1; */ cosmosAddress: string; /** * sequence is the account's sequence number. * * @generated from field: uint64 sequence = 2; */ sequence: bigint; /** * account_number is the account number * * @generated from field: uint64 account_number = 3; */ accountNumber: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryCosmosAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryCosmosAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryCosmosAccountResponse; static fromJsonString(jsonString: string, options?: Partial): QueryCosmosAccountResponse; static equals(a: QueryCosmosAccountResponse | PlainMessage | undefined, b: QueryCosmosAccountResponse | PlainMessage | undefined): boolean; } /** * QueryValidatorAccountRequest is the request type for the * Query/ValidatorAccount RPC method. * * @generated from message ethermint.evm.v1.QueryValidatorAccountRequest */ export declare class QueryValidatorAccountRequest extends Message { /** * cons_address is the validator cons address to query the account for. * * @generated from field: string cons_address = 1; */ consAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryValidatorAccountRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryValidatorAccountRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryValidatorAccountRequest; static fromJsonString(jsonString: string, options?: Partial): QueryValidatorAccountRequest; static equals(a: QueryValidatorAccountRequest | PlainMessage | undefined, b: QueryValidatorAccountRequest | PlainMessage | undefined): boolean; } /** * QueryValidatorAccountResponse is the response type for the * Query/ValidatorAccount RPC method. * * @generated from message ethermint.evm.v1.QueryValidatorAccountResponse */ export declare class QueryValidatorAccountResponse extends Message { /** * account_address is the cosmos address of the account in bech32 format. * * @generated from field: string account_address = 1; */ accountAddress: string; /** * sequence is the account's sequence number. * * @generated from field: uint64 sequence = 2; */ sequence: bigint; /** * account_number is the account number * * @generated from field: uint64 account_number = 3; */ accountNumber: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryValidatorAccountResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryValidatorAccountResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryValidatorAccountResponse; static fromJsonString(jsonString: string, options?: Partial): QueryValidatorAccountResponse; static equals(a: QueryValidatorAccountResponse | PlainMessage | undefined, b: QueryValidatorAccountResponse | PlainMessage | undefined): boolean; } /** * QueryBalanceRequest is the request type for the Query/Balance RPC method. * * @generated from message ethermint.evm.v1.QueryBalanceRequest */ export declare class QueryBalanceRequest extends Message { /** * address is the ethereum hex address to query the balance for. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryBalanceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceRequest; static equals(a: QueryBalanceRequest | PlainMessage | undefined, b: QueryBalanceRequest | PlainMessage | undefined): boolean; } /** * QueryBalanceResponse is the response type for the Query/Balance RPC method. * * @generated from message ethermint.evm.v1.QueryBalanceResponse */ export declare class QueryBalanceResponse extends Message { /** * balance is the balance of the EVM denomination. * * @generated from field: string balance = 1; */ balance: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryBalanceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceResponse; static equals(a: QueryBalanceResponse | PlainMessage | undefined, b: QueryBalanceResponse | PlainMessage | undefined): boolean; } /** * QueryStorageRequest is the request type for the Query/Storage RPC method. * * @generated from message ethermint.evm.v1.QueryStorageRequest */ export declare class QueryStorageRequest extends Message { /** * address is the ethereum hex address to query the storage state for. * * @generated from field: string address = 1; */ address: string; /** * key defines the key of the storage state * * @generated from field: string key = 2; */ key: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryStorageRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryStorageRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryStorageRequest; static fromJsonString(jsonString: string, options?: Partial): QueryStorageRequest; static equals(a: QueryStorageRequest | PlainMessage | undefined, b: QueryStorageRequest | PlainMessage | undefined): boolean; } /** * QueryStorageResponse is the response type for the Query/Storage RPC * method. * * @generated from message ethermint.evm.v1.QueryStorageResponse */ export declare class QueryStorageResponse extends Message { /** * value defines the storage state value hash associated with the given key. * * @generated from field: string value = 1; */ value: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryStorageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryStorageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryStorageResponse; static fromJsonString(jsonString: string, options?: Partial): QueryStorageResponse; static equals(a: QueryStorageResponse | PlainMessage | undefined, b: QueryStorageResponse | PlainMessage | undefined): boolean; } /** * QueryCodeRequest is the request type for the Query/Code RPC method. * * @generated from message ethermint.evm.v1.QueryCodeRequest */ export declare class QueryCodeRequest extends Message { /** * address is the ethereum hex address to query the code for. * * @generated from field: string address = 1; */ address: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryCodeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryCodeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryCodeRequest; static fromJsonString(jsonString: string, options?: Partial): QueryCodeRequest; static equals(a: QueryCodeRequest | PlainMessage | undefined, b: QueryCodeRequest | PlainMessage | undefined): boolean; } /** * QueryCodeResponse is the response type for the Query/Code RPC * method. * * @generated from message ethermint.evm.v1.QueryCodeResponse */ export declare class QueryCodeResponse extends Message { /** * code represents the code bytes from an ethereum address. * * @generated from field: bytes code = 1; */ code: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryCodeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryCodeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryCodeResponse; static fromJsonString(jsonString: string, options?: Partial): QueryCodeResponse; static equals(a: QueryCodeResponse | PlainMessage | undefined, b: QueryCodeResponse | PlainMessage | undefined): boolean; } /** * QueryTxLogsRequest is the request type for the Query/TxLogs RPC method. * * @generated from message ethermint.evm.v1.QueryTxLogsRequest */ export declare class QueryTxLogsRequest extends Message { /** * hash is the ethereum transaction hex hash to query the logs for. * * @generated from field: string hash = 1; */ hash: string; /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTxLogsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTxLogsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTxLogsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTxLogsRequest; static equals(a: QueryTxLogsRequest | PlainMessage | undefined, b: QueryTxLogsRequest | PlainMessage | undefined): boolean; } /** * QueryTxLogsResponse is the response type for the Query/TxLogs RPC method. * * @generated from message ethermint.evm.v1.QueryTxLogsResponse */ export declare class QueryTxLogsResponse extends Message { /** * logs represents the ethereum logs generated from the given transaction. * * @generated from field: repeated ethermint.evm.v1.Log logs = 1; */ logs: Log[]; /** * pagination defines the pagination in the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTxLogsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTxLogsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTxLogsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTxLogsResponse; static equals(a: QueryTxLogsResponse | PlainMessage | undefined, b: QueryTxLogsResponse | PlainMessage | undefined): boolean; } /** * QueryParamsRequest defines the request type for querying x/evm parameters. * * @generated from message ethermint.evm.v1.QueryParamsRequest */ export declare class QueryParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; } /** * QueryParamsResponse defines the response type for querying x/evm parameters. * * @generated from message ethermint.evm.v1.QueryParamsResponse */ export declare class QueryParamsResponse extends Message { /** * params define the evm module parameters. * * @generated from field: ethermint.evm.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; } /** * EthCallRequest defines EthCall request * * @generated from message ethermint.evm.v1.EthCallRequest */ export declare class EthCallRequest extends Message { /** * args uses the same json format as the json rpc api. * * @generated from field: bytes args = 1; */ args: Uint8Array; /** * gas_cap defines the default gas cap to be used * * @generated from field: uint64 gas_cap = 2; */ gasCap: bigint; /** * proposer_address of the requested block in hex format * * @generated from field: bytes proposer_address = 3; */ proposerAddress: Uint8Array; /** * chain_id is the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 4; */ chainId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.EthCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EthCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): EthCallRequest; static fromJsonString(jsonString: string, options?: Partial): EthCallRequest; static equals(a: EthCallRequest | PlainMessage | undefined, b: EthCallRequest | PlainMessage | undefined): boolean; } /** * EstimateGasResponse defines EstimateGas response * * @generated from message ethermint.evm.v1.EstimateGasResponse */ export declare class EstimateGasResponse extends Message { /** * gas returns the estimated gas * * @generated from field: uint64 gas = 1; */ gas: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.EstimateGasResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EstimateGasResponse; static fromJson(jsonValue: JsonValue, options?: Partial): EstimateGasResponse; static fromJsonString(jsonString: string, options?: Partial): EstimateGasResponse; static equals(a: EstimateGasResponse | PlainMessage | undefined, b: EstimateGasResponse | PlainMessage | undefined): boolean; } /** * QueryTraceTxRequest defines TraceTx request * * @generated from message ethermint.evm.v1.QueryTraceTxRequest */ export declare class QueryTraceTxRequest extends Message { /** * msg is the MsgEthereumTx for the requested transaction * * @generated from field: ethermint.evm.v1.MsgEthereumTx msg = 1; */ msg?: MsgEthereumTx; /** * trace_config holds extra parameters to trace functions. * * @generated from field: ethermint.evm.v1.TraceConfig trace_config = 3; */ traceConfig?: TraceConfig; /** * predecessors is an array of transactions included in the same block * need to be replayed first to get correct context for tracing. * * @generated from field: repeated ethermint.evm.v1.MsgEthereumTx predecessors = 4; */ predecessors: MsgEthereumTx[]; /** * block_number of requested transaction * * @generated from field: int64 block_number = 5; */ blockNumber: bigint; /** * block_hash of requested transaction * * @generated from field: string block_hash = 6; */ blockHash: string; /** * block_time of requested transaction * * @generated from field: google.protobuf.Timestamp block_time = 7; */ blockTime?: Timestamp; /** * proposer_address is the proposer of the requested block * * @generated from field: bytes proposer_address = 8; */ proposerAddress: Uint8Array; /** * chain_id is the the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 9; */ chainId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceTxRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceTxRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceTxRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraceTxRequest; static equals(a: QueryTraceTxRequest | PlainMessage | undefined, b: QueryTraceTxRequest | PlainMessage | undefined): boolean; } /** * QueryTraceTxResponse defines TraceTx response * * @generated from message ethermint.evm.v1.QueryTraceTxResponse */ export declare class QueryTraceTxResponse extends Message { /** * data is the response serialized in bytes * * @generated from field: bytes data = 1; */ data: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceTxResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceTxResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceTxResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTraceTxResponse; static equals(a: QueryTraceTxResponse | PlainMessage | undefined, b: QueryTraceTxResponse | PlainMessage | undefined): boolean; } /** * QueryTraceBlockRequest defines TraceTx request * * @generated from message ethermint.evm.v1.QueryTraceBlockRequest */ export declare class QueryTraceBlockRequest extends Message { /** * txs is an array of messages in the block * * @generated from field: repeated ethermint.evm.v1.MsgEthereumTx txs = 1; */ txs: MsgEthereumTx[]; /** * trace_config holds extra parameters to trace functions. * * @generated from field: ethermint.evm.v1.TraceConfig trace_config = 3; */ traceConfig?: TraceConfig; /** * block_number of the traced block * * @generated from field: int64 block_number = 5; */ blockNumber: bigint; /** * block_hash (hex) of the traced block * * @generated from field: string block_hash = 6; */ blockHash: string; /** * block_time of the traced block * * @generated from field: google.protobuf.Timestamp block_time = 7; */ blockTime?: Timestamp; /** * proposer_address is the address of the requested block * * @generated from field: bytes proposer_address = 8; */ proposerAddress: Uint8Array; /** * chain_id is the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 9; */ chainId: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceBlockRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceBlockRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceBlockRequest; static fromJsonString(jsonString: string, options?: Partial): QueryTraceBlockRequest; static equals(a: QueryTraceBlockRequest | PlainMessage | undefined, b: QueryTraceBlockRequest | PlainMessage | undefined): boolean; } /** * QueryTraceBlockResponse defines TraceBlock response * * @generated from message ethermint.evm.v1.QueryTraceBlockResponse */ export declare class QueryTraceBlockResponse extends Message { /** * data is the response serialized in bytes * * @generated from field: bytes data = 1; */ data: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceBlockResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceBlockResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceBlockResponse; static fromJsonString(jsonString: string, options?: Partial): QueryTraceBlockResponse; static equals(a: QueryTraceBlockResponse | PlainMessage | undefined, b: QueryTraceBlockResponse | PlainMessage | undefined): boolean; } /** * QueryBaseFeeRequest defines the request type for querying the EIP1559 base * fee. * * @generated from message ethermint.evm.v1.QueryBaseFeeRequest */ export declare class QueryBaseFeeRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryBaseFeeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeRequest; static equals(a: QueryBaseFeeRequest | PlainMessage | undefined, b: QueryBaseFeeRequest | PlainMessage | undefined): boolean; } /** * QueryBaseFeeResponse returns the EIP1559 base fee. * * @generated from message ethermint.evm.v1.QueryBaseFeeResponse */ export declare class QueryBaseFeeResponse extends Message { /** * base_fee is the EIP1559 base fee * * @generated from field: string base_fee = 1; */ baseFee: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ethermint.evm.v1.QueryBaseFeeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeResponse; static equals(a: QueryBaseFeeResponse | PlainMessage | undefined, b: QueryBaseFeeResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map