serverv1

package
v0.5.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_evm_server_v1_indexer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TxResult

type TxResult struct {

	// height of the blockchain
	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// tx_index of the cosmos transaction
	TxIndex uint32 `protobuf:"varint,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// msg_index in a batch transaction
	MsgIndex uint32 `protobuf:"varint,3,opt,name=msg_index,json=msgIndex,proto3" json:"msg_index,omitempty"`
	// eth_tx_index is the index in the list of valid eth tx in the block,
	// aka. the transaction list returned by eth_getBlock api.
	EthTxIndex int32 `protobuf:"varint,4,opt,name=eth_tx_index,json=ethTxIndex,proto3" json:"eth_tx_index,omitempty"`
	// failed is true if the eth transaction did not go succeed
	Failed bool `protobuf:"varint,5,opt,name=failed,proto3" json:"failed,omitempty"`
	// gas_used by the transaction. If it exceeds the block gas limit,
	// it's set to gas limit, which is what's actually deducted by ante handler.
	GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	// cumulative_gas_used specifies the cumulated amount of gas used for all
	// processed messages within the current batch transaction.
	CumulativeGasUsed uint64 `protobuf:"varint,7,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"`
	// contains filtered or unexported fields
}

TxResult is the value stored in eth tx indexer

func (*TxResult) Descriptor deprecated

func (*TxResult) Descriptor() ([]byte, []int)

Deprecated: Use TxResult.ProtoReflect.Descriptor instead.

func (*TxResult) GetCumulativeGasUsed

func (x *TxResult) GetCumulativeGasUsed() uint64

func (*TxResult) GetEthTxIndex

func (x *TxResult) GetEthTxIndex() int32

func (*TxResult) GetFailed

func (x *TxResult) GetFailed() bool

func (*TxResult) GetGasUsed

func (x *TxResult) GetGasUsed() uint64

func (*TxResult) GetHeight

func (x *TxResult) GetHeight() int64

func (*TxResult) GetMsgIndex

func (x *TxResult) GetMsgIndex() uint32

func (*TxResult) GetTxIndex

func (x *TxResult) GetTxIndex() uint32

func (*TxResult) ProtoMessage

func (*TxResult) ProtoMessage()

func (*TxResult) ProtoReflect

func (x *TxResult) ProtoReflect() protoreflect.Message

func (*TxResult) Reset

func (x *TxResult) Reset()

func (*TxResult) String

func (x *TxResult) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL