injective_explorer_rpcpb

package
v1.28.7 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_injective_explorer_rpc_proto protoreflect.FileDescriptor
View Source
var InjectiveExplorerRPC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "injective_explorer_rpc.InjectiveExplorerRPC",
	HandlerType: (*InjectiveExplorerRPCServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _InjectiveExplorerRPC_GetAccount_Handler,
		},
		{
			MethodName: "GetAccountTxs",
			Handler:    _InjectiveExplorerRPC_GetAccountTxs_Handler,
		},
		{
			MethodName: "GetBlocks",
			Handler:    _InjectiveExplorerRPC_GetBlocks_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _InjectiveExplorerRPC_GetBlock_Handler,
		},
		{
			MethodName: "GetCoinPriceData",
			Handler:    _InjectiveExplorerRPC_GetCoinPriceData_Handler,
		},
		{
			MethodName: "GetTxs",
			Handler:    _InjectiveExplorerRPC_GetTxs_Handler,
		},
		{
			MethodName: "GetTxByTxHash",
			Handler:    _InjectiveExplorerRPC_GetTxByTxHash_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamTxs",
			Handler:       _InjectiveExplorerRPC_StreamTxs_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StreamBlocks",
			Handler:       _InjectiveExplorerRPC_StreamBlocks_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "injective_explorer_rpc.proto",
}

InjectiveExplorerRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveExplorerRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterInjectiveExplorerRPCServer

func RegisterInjectiveExplorerRPCServer(s grpc.ServiceRegistrar, srv InjectiveExplorerRPCServer)

Types

type Balance

type Balance struct {
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Free   string `protobuf:"bytes,2,opt,name=free,proto3" json:"free,omitempty"`
	Locked string `protobuf:"bytes,3,opt,name=locked,proto3" json:"locked,omitempty"`
	Frozen string `protobuf:"bytes,4,opt,name=frozen,proto3" json:"frozen,omitempty"`
	// contains filtered or unexported fields
}

func (*Balance) Descriptor deprecated

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

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetFree

func (x *Balance) GetFree() string

func (*Balance) GetFrozen

func (x *Balance) GetFrozen() string

func (*Balance) GetLocked

func (x *Balance) GetLocked() string

func (*Balance) GetSymbol

func (x *Balance) GetSymbol() string

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect

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

func (*Balance) Reset

func (x *Balance) Reset()

func (*Balance) String

func (x *Balance) String() string

type BlockInfo

type BlockInfo struct {
	Height        uint64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Proposer      string    `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	Moniker       string    `protobuf:"bytes,3,opt,name=moniker,proto3" json:"moniker,omitempty"`
	BlockHash     string    `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	ParentHash    string    `protobuf:"bytes,5,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	NumPreCommits int64     `protobuf:"zigzag64,6,opt,name=num_pre_commits,json=numPreCommits,proto3" json:"num_pre_commits,omitempty"`
	NumTxs        int64     `protobuf:"zigzag64,7,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
	TotalTxs      int64     `protobuf:"zigzag64,8,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"`
	Txs           []*TxData `protobuf:"bytes,9,rep,name=txs,proto3" json:"txs,omitempty"`
	Timestamp     string    `protobuf:"bytes,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockInfo) Descriptor deprecated

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

Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.

func (*BlockInfo) GetBlockHash

func (x *BlockInfo) GetBlockHash() string

func (*BlockInfo) GetHeight

func (x *BlockInfo) GetHeight() uint64

func (*BlockInfo) GetMoniker

func (x *BlockInfo) GetMoniker() string

func (*BlockInfo) GetNumPreCommits

func (x *BlockInfo) GetNumPreCommits() int64

func (*BlockInfo) GetNumTxs

func (x *BlockInfo) GetNumTxs() int64

func (*BlockInfo) GetParentHash

func (x *BlockInfo) GetParentHash() string

func (*BlockInfo) GetProposer

func (x *BlockInfo) GetProposer() string

func (*BlockInfo) GetTimestamp

func (x *BlockInfo) GetTimestamp() string

func (*BlockInfo) GetTotalTxs

func (x *BlockInfo) GetTotalTxs() int64

func (*BlockInfo) GetTxs

func (x *BlockInfo) GetTxs() []*TxData

func (*BlockInfo) ProtoMessage

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) ProtoReflect

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

func (*BlockInfo) Reset

func (x *BlockInfo) Reset()

func (*BlockInfo) String

func (x *BlockInfo) String() string

type CoinGeckoMarket

type CoinGeckoMarket struct {
	Id                           string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Symbol                       string   `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Name                         string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Image                        string   `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	CurrentPrice                 float64  `protobuf:"fixed64,5,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	MarketCap                    float64  `protobuf:"fixed64,6,opt,name=market_cap,json=marketCap,proto3" json:"market_cap,omitempty"`
	MarketCapRank                int32    `protobuf:"zigzag32,7,opt,name=market_cap_rank,json=marketCapRank,proto3" json:"market_cap_rank,omitempty"`
	TotalVolume                  float64  `protobuf:"fixed64,8,opt,name=total_volume,json=totalVolume,proto3" json:"total_volume,omitempty"`
	High24H                      float64  `protobuf:"fixed64,9,opt,name=high24_h,json=high24H,proto3" json:"high24_h,omitempty"`
	Low24H                       float64  `protobuf:"fixed64,10,opt,name=low24_h,json=low24H,proto3" json:"low24_h,omitempty"`
	PriceChange24H               float64  `protobuf:"fixed64,11,opt,name=price_change24_h,json=priceChange24H,proto3" json:"price_change24_h,omitempty"`
	PriceChangePercentage24H     float64  `` /* 140-byte string literal not displayed */
	MarketCapChange24H           float64  `protobuf:"fixed64,13,opt,name=market_cap_change24_h,json=marketCapChange24H,proto3" json:"market_cap_change24_h,omitempty"`
	MarketCapChangePercentage24H float64  `` /* 154-byte string literal not displayed */
	CirculatingSupply            float64  `protobuf:"fixed64,15,opt,name=circulating_supply,json=circulatingSupply,proto3" json:"circulating_supply,omitempty"`
	TotalSupply                  float64  `protobuf:"fixed64,16,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"`
	MaxSupply                    float64  `protobuf:"fixed64,17,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"`
	Ath                          float64  `protobuf:"fixed64,18,opt,name=ath,proto3" json:"ath,omitempty"`
	AthChangePercentage          float64  `protobuf:"fixed64,19,opt,name=ath_change_percentage,json=athChangePercentage,proto3" json:"ath_change_percentage,omitempty"`
	AthDate                      string   `protobuf:"bytes,20,opt,name=ath_date,json=athDate,proto3" json:"ath_date,omitempty"`
	Atl                          float64  `protobuf:"fixed64,21,opt,name=atl,proto3" json:"atl,omitempty"`
	AtlChangePercentage          float64  `protobuf:"fixed64,22,opt,name=atl_change_percentage,json=atlChangePercentage,proto3" json:"atl_change_percentage,omitempty"`
	AtlDate                      string   `protobuf:"bytes,23,opt,name=atl_date,json=atlDate,proto3" json:"atl_date,omitempty"`
	Roi                          *ROIItem `protobuf:"bytes,24,opt,name=roi,proto3" json:"roi,omitempty"`
	LastUpdated                  string   `protobuf:"bytes,25,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// contains filtered or unexported fields
}

CoinGeckoMarket defines the structure for coin markets api

func (*CoinGeckoMarket) Descriptor deprecated

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

Deprecated: Use CoinGeckoMarket.ProtoReflect.Descriptor instead.

func (*CoinGeckoMarket) GetAth

func (x *CoinGeckoMarket) GetAth() float64

func (*CoinGeckoMarket) GetAthChangePercentage

func (x *CoinGeckoMarket) GetAthChangePercentage() float64

func (*CoinGeckoMarket) GetAthDate

func (x *CoinGeckoMarket) GetAthDate() string

func (*CoinGeckoMarket) GetAtl

func (x *CoinGeckoMarket) GetAtl() float64

func (*CoinGeckoMarket) GetAtlChangePercentage

func (x *CoinGeckoMarket) GetAtlChangePercentage() float64

func (*CoinGeckoMarket) GetAtlDate

func (x *CoinGeckoMarket) GetAtlDate() string

func (*CoinGeckoMarket) GetCirculatingSupply

func (x *CoinGeckoMarket) GetCirculatingSupply() float64

func (*CoinGeckoMarket) GetCurrentPrice

func (x *CoinGeckoMarket) GetCurrentPrice() float64

func (*CoinGeckoMarket) GetHigh24H

func (x *CoinGeckoMarket) GetHigh24H() float64

func (*CoinGeckoMarket) GetId

func (x *CoinGeckoMarket) GetId() string

func (*CoinGeckoMarket) GetImage

func (x *CoinGeckoMarket) GetImage() string

func (*CoinGeckoMarket) GetLastUpdated

func (x *CoinGeckoMarket) GetLastUpdated() string

func (*CoinGeckoMarket) GetLow24H

func (x *CoinGeckoMarket) GetLow24H() float64

func (*CoinGeckoMarket) GetMarketCap

func (x *CoinGeckoMarket) GetMarketCap() float64

func (*CoinGeckoMarket) GetMarketCapChange24H

func (x *CoinGeckoMarket) GetMarketCapChange24H() float64

func (*CoinGeckoMarket) GetMarketCapChangePercentage24H

func (x *CoinGeckoMarket) GetMarketCapChangePercentage24H() float64

func (*CoinGeckoMarket) GetMarketCapRank

func (x *CoinGeckoMarket) GetMarketCapRank() int32

func (*CoinGeckoMarket) GetMaxSupply

func (x *CoinGeckoMarket) GetMaxSupply() float64

func (*CoinGeckoMarket) GetName

func (x *CoinGeckoMarket) GetName() string

func (*CoinGeckoMarket) GetPriceChange24H

func (x *CoinGeckoMarket) GetPriceChange24H() float64

func (*CoinGeckoMarket) GetPriceChangePercentage24H

func (x *CoinGeckoMarket) GetPriceChangePercentage24H() float64

func (*CoinGeckoMarket) GetRoi

func (x *CoinGeckoMarket) GetRoi() *ROIItem

func (*CoinGeckoMarket) GetSymbol

func (x *CoinGeckoMarket) GetSymbol() string

func (*CoinGeckoMarket) GetTotalSupply

func (x *CoinGeckoMarket) GetTotalSupply() float64

func (*CoinGeckoMarket) GetTotalVolume

func (x *CoinGeckoMarket) GetTotalVolume() float64

func (*CoinGeckoMarket) ProtoMessage

func (*CoinGeckoMarket) ProtoMessage()

func (*CoinGeckoMarket) ProtoReflect

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

func (*CoinGeckoMarket) Reset

func (x *CoinGeckoMarket) Reset()

func (*CoinGeckoMarket) String

func (x *CoinGeckoMarket) String() string

type Event

type Event struct {
	Type       string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAttributes

func (x *Event) GetAttributes() map[string]string

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type GetAccountRequest

type GetAccountRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetAddress

func (x *GetAccountRequest) GetAddress() string

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

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

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

type GetAccountResponse

type GetAccountResponse struct {
	Address       string     `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PublicKey     []byte     `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	AccountNumber int64      `protobuf:"zigzag64,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	Sequence      int64      `protobuf:"zigzag64,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Flags         uint64     `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"`
	Balances      []*Balance `protobuf:"bytes,6,rep,name=balances,proto3" json:"balances,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccountNumber

func (x *GetAccountResponse) GetAccountNumber() int64

func (*GetAccountResponse) GetAddress

func (x *GetAccountResponse) GetAddress() string

func (*GetAccountResponse) GetBalances

func (x *GetAccountResponse) GetBalances() []*Balance

func (*GetAccountResponse) GetFlags

func (x *GetAccountResponse) GetFlags() uint64

func (*GetAccountResponse) GetPublicKey

func (x *GetAccountResponse) GetPublicKey() []byte

func (*GetAccountResponse) GetSequence

func (x *GetAccountResponse) GetSequence() int64

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect

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

func (*GetAccountResponse) Reset

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String

func (x *GetAccountResponse) String() string

type GetAccountTxsRequest

type GetAccountTxsRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Before  uint64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
	After   uint64 `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"`
	Limit   int32  `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Skip    uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountTxsRequest) Descriptor deprecated

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

Deprecated: Use GetAccountTxsRequest.ProtoReflect.Descriptor instead.

func (*GetAccountTxsRequest) GetAddress

func (x *GetAccountTxsRequest) GetAddress() string

func (*GetAccountTxsRequest) GetAfter

func (x *GetAccountTxsRequest) GetAfter() uint64

func (*GetAccountTxsRequest) GetBefore

func (x *GetAccountTxsRequest) GetBefore() uint64

func (*GetAccountTxsRequest) GetLimit

func (x *GetAccountTxsRequest) GetLimit() int32

func (*GetAccountTxsRequest) GetSkip

func (x *GetAccountTxsRequest) GetSkip() uint64

func (*GetAccountTxsRequest) ProtoMessage

func (*GetAccountTxsRequest) ProtoMessage()

func (*GetAccountTxsRequest) ProtoReflect

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

func (*GetAccountTxsRequest) Reset

func (x *GetAccountTxsRequest) Reset()

func (*GetAccountTxsRequest) String

func (x *GetAccountTxsRequest) String() string

type GetAccountTxsResponse

type GetAccountTxsResponse struct {
	Paging *Paging   `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
	Data   []*TxData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountTxsResponse) Descriptor deprecated

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

Deprecated: Use GetAccountTxsResponse.ProtoReflect.Descriptor instead.

func (*GetAccountTxsResponse) GetData

func (x *GetAccountTxsResponse) GetData() []*TxData

func (*GetAccountTxsResponse) GetPaging

func (x *GetAccountTxsResponse) GetPaging() *Paging

func (*GetAccountTxsResponse) ProtoMessage

func (*GetAccountTxsResponse) ProtoMessage()

func (*GetAccountTxsResponse) ProtoReflect

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

func (*GetAccountTxsResponse) Reset

func (x *GetAccountTxsResponse) Reset()

func (*GetAccountTxsResponse) String

func (x *GetAccountTxsResponse) String() string

type GetBlockRequest

type GetBlockRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockRequest) Descriptor deprecated

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

Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.

func (*GetBlockRequest) GetId

func (x *GetBlockRequest) GetId() string

func (*GetBlockRequest) ProtoMessage

func (*GetBlockRequest) ProtoMessage()

func (*GetBlockRequest) ProtoReflect

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

func (*GetBlockRequest) Reset

func (x *GetBlockRequest) Reset()

func (*GetBlockRequest) String

func (x *GetBlockRequest) String() string

type GetBlockResponse

type GetBlockResponse struct {
	Height        uint64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Proposer      string    `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	Moniker       string    `protobuf:"bytes,3,opt,name=moniker,proto3" json:"moniker,omitempty"`
	BlockHash     string    `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	ParentHash    string    `protobuf:"bytes,5,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	NumPreCommits int64     `protobuf:"zigzag64,6,opt,name=num_pre_commits,json=numPreCommits,proto3" json:"num_pre_commits,omitempty"`
	NumTxs        int64     `protobuf:"zigzag64,7,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
	TotalTxs      int64     `protobuf:"zigzag64,8,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"`
	Txs           []*TxData `protobuf:"bytes,9,rep,name=txs,proto3" json:"txs,omitempty"`
	Timestamp     string    `protobuf:"bytes,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockResponse) Descriptor deprecated

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

Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.

func (*GetBlockResponse) GetBlockHash

func (x *GetBlockResponse) GetBlockHash() string

func (*GetBlockResponse) GetHeight

func (x *GetBlockResponse) GetHeight() uint64

func (*GetBlockResponse) GetMoniker

func (x *GetBlockResponse) GetMoniker() string

func (*GetBlockResponse) GetNumPreCommits

func (x *GetBlockResponse) GetNumPreCommits() int64

func (*GetBlockResponse) GetNumTxs

func (x *GetBlockResponse) GetNumTxs() int64

func (*GetBlockResponse) GetParentHash

func (x *GetBlockResponse) GetParentHash() string

func (*GetBlockResponse) GetProposer

func (x *GetBlockResponse) GetProposer() string

func (*GetBlockResponse) GetTimestamp

func (x *GetBlockResponse) GetTimestamp() string

func (*GetBlockResponse) GetTotalTxs

func (x *GetBlockResponse) GetTotalTxs() int64

func (*GetBlockResponse) GetTxs

func (x *GetBlockResponse) GetTxs() []*TxData

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) ProtoReflect

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

func (*GetBlockResponse) Reset

func (x *GetBlockResponse) Reset()

func (*GetBlockResponse) String

func (x *GetBlockResponse) String() string

type GetBlocksRequest

type GetBlocksRequest struct {
	Before uint64 `protobuf:"varint,1,opt,name=before,proto3" json:"before,omitempty"`
	After  uint64 `protobuf:"varint,2,opt,name=after,proto3" json:"after,omitempty"`
	Limit  int32  `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocksRequest) Descriptor deprecated

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

Deprecated: Use GetBlocksRequest.ProtoReflect.Descriptor instead.

func (*GetBlocksRequest) GetAfter

func (x *GetBlocksRequest) GetAfter() uint64

func (*GetBlocksRequest) GetBefore

func (x *GetBlocksRequest) GetBefore() uint64

func (*GetBlocksRequest) GetLimit

func (x *GetBlocksRequest) GetLimit() int32

func (*GetBlocksRequest) ProtoMessage

func (*GetBlocksRequest) ProtoMessage()

func (*GetBlocksRequest) ProtoReflect

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

func (*GetBlocksRequest) Reset

func (x *GetBlocksRequest) Reset()

func (*GetBlocksRequest) String

func (x *GetBlocksRequest) String() string

type GetBlocksResponse

type GetBlocksResponse struct {
	Paging *Paging      `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
	Data   []*BlockInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlocksResponse) Descriptor deprecated

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

Deprecated: Use GetBlocksResponse.ProtoReflect.Descriptor instead.

func (*GetBlocksResponse) GetData

func (x *GetBlocksResponse) GetData() []*BlockInfo

func (*GetBlocksResponse) GetPaging

func (x *GetBlocksResponse) GetPaging() *Paging

func (*GetBlocksResponse) ProtoMessage

func (*GetBlocksResponse) ProtoMessage()

func (*GetBlocksResponse) ProtoReflect

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

func (*GetBlocksResponse) Reset

func (x *GetBlocksResponse) Reset()

func (*GetBlocksResponse) String

func (x *GetBlocksResponse) String() string

type GetCoinPriceDataRequest

type GetCoinPriceDataRequest struct {
	CoinIds  string `protobuf:"bytes,1,opt,name=coin_ids,json=coinIds,proto3" json:"coin_ids,omitempty"`
	Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCoinPriceDataRequest) Descriptor deprecated

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

Deprecated: Use GetCoinPriceDataRequest.ProtoReflect.Descriptor instead.

func (*GetCoinPriceDataRequest) GetCoinIds

func (x *GetCoinPriceDataRequest) GetCoinIds() string

func (*GetCoinPriceDataRequest) GetCurrency

func (x *GetCoinPriceDataRequest) GetCurrency() string

func (*GetCoinPriceDataRequest) ProtoMessage

func (*GetCoinPriceDataRequest) ProtoMessage()

func (*GetCoinPriceDataRequest) ProtoReflect

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

func (*GetCoinPriceDataRequest) Reset

func (x *GetCoinPriceDataRequest) Reset()

func (*GetCoinPriceDataRequest) String

func (x *GetCoinPriceDataRequest) String() string

type GetCoinPriceDataResponse

type GetCoinPriceDataResponse struct {
	Field []*CoinGeckoMarket `protobuf:"bytes,1,rep,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCoinPriceDataResponse) Descriptor deprecated

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

Deprecated: Use GetCoinPriceDataResponse.ProtoReflect.Descriptor instead.

func (*GetCoinPriceDataResponse) GetField

func (x *GetCoinPriceDataResponse) GetField() []*CoinGeckoMarket

func (*GetCoinPriceDataResponse) ProtoMessage

func (*GetCoinPriceDataResponse) ProtoMessage()

func (*GetCoinPriceDataResponse) ProtoReflect

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

func (*GetCoinPriceDataResponse) Reset

func (x *GetCoinPriceDataResponse) Reset()

func (*GetCoinPriceDataResponse) String

func (x *GetCoinPriceDataResponse) String() string

type GetTxByTxHashRequest

type GetTxByTxHashRequest struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxByTxHashRequest) Descriptor deprecated

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

Deprecated: Use GetTxByTxHashRequest.ProtoReflect.Descriptor instead.

func (*GetTxByTxHashRequest) GetHash

func (x *GetTxByTxHashRequest) GetHash() string

func (*GetTxByTxHashRequest) ProtoMessage

func (*GetTxByTxHashRequest) ProtoMessage()

func (*GetTxByTxHashRequest) ProtoReflect

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

func (*GetTxByTxHashRequest) Reset

func (x *GetTxByTxHashRequest) Reset()

func (*GetTxByTxHashRequest) String

func (x *GetTxByTxHashRequest) String() string

type GetTxByTxHashResponse

type GetTxByTxHashResponse struct {
	Id             string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockNumber    uint64       `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	BlockTimestamp string       `protobuf:"bytes,3,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"`
	Hash           string       `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Code           uint32       `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"`
	Data           []byte       `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	Info           string       `protobuf:"bytes,8,opt,name=info,proto3" json:"info,omitempty"`
	GasWanted      int64        `protobuf:"zigzag64,9,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed        int64        `protobuf:"zigzag64,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Codespace      string       `protobuf:"bytes,11,opt,name=codespace,proto3" json:"codespace,omitempty"`
	Events         []*Event     `protobuf:"bytes,12,rep,name=events,proto3" json:"events,omitempty"`
	TxType         string       `protobuf:"bytes,13,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	Messages       string       `protobuf:"bytes,14,opt,name=messages,proto3" json:"messages,omitempty"`
	Signatures     []*Signature `protobuf:"bytes,15,rep,name=signatures,proto3" json:"signatures,omitempty"`
	Memo           string       `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxByTxHashResponse) Descriptor deprecated

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

Deprecated: Use GetTxByTxHashResponse.ProtoReflect.Descriptor instead.

func (*GetTxByTxHashResponse) GetBlockNumber

func (x *GetTxByTxHashResponse) GetBlockNumber() uint64

func (*GetTxByTxHashResponse) GetBlockTimestamp

func (x *GetTxByTxHashResponse) GetBlockTimestamp() string

func (*GetTxByTxHashResponse) GetCode

func (x *GetTxByTxHashResponse) GetCode() uint32

func (*GetTxByTxHashResponse) GetCodespace

func (x *GetTxByTxHashResponse) GetCodespace() string

func (*GetTxByTxHashResponse) GetData

func (x *GetTxByTxHashResponse) GetData() []byte

func (*GetTxByTxHashResponse) GetEvents

func (x *GetTxByTxHashResponse) GetEvents() []*Event

func (*GetTxByTxHashResponse) GetGasUsed

func (x *GetTxByTxHashResponse) GetGasUsed() int64

func (*GetTxByTxHashResponse) GetGasWanted

func (x *GetTxByTxHashResponse) GetGasWanted() int64

func (*GetTxByTxHashResponse) GetHash

func (x *GetTxByTxHashResponse) GetHash() string

func (*GetTxByTxHashResponse) GetId

func (x *GetTxByTxHashResponse) GetId() string

func (*GetTxByTxHashResponse) GetInfo

func (x *GetTxByTxHashResponse) GetInfo() string

func (*GetTxByTxHashResponse) GetMemo

func (x *GetTxByTxHashResponse) GetMemo() string

func (*GetTxByTxHashResponse) GetMessages

func (x *GetTxByTxHashResponse) GetMessages() string

func (*GetTxByTxHashResponse) GetSignatures

func (x *GetTxByTxHashResponse) GetSignatures() []*Signature

func (*GetTxByTxHashResponse) GetTxType

func (x *GetTxByTxHashResponse) GetTxType() string

func (*GetTxByTxHashResponse) ProtoMessage

func (*GetTxByTxHashResponse) ProtoMessage()

func (*GetTxByTxHashResponse) ProtoReflect

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

func (*GetTxByTxHashResponse) Reset

func (x *GetTxByTxHashResponse) Reset()

func (*GetTxByTxHashResponse) String

func (x *GetTxByTxHashResponse) String() string

type GetTxsRequest

type GetTxsRequest struct {
	Before uint64 `protobuf:"varint,1,opt,name=before,proto3" json:"before,omitempty"`
	After  uint64 `protobuf:"varint,2,opt,name=after,proto3" json:"after,omitempty"`
	Limit  int32  `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Skip   uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
	Type   string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Module string `protobuf:"bytes,6,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxsRequest) Descriptor deprecated

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

Deprecated: Use GetTxsRequest.ProtoReflect.Descriptor instead.

func (*GetTxsRequest) GetAfter

func (x *GetTxsRequest) GetAfter() uint64

func (*GetTxsRequest) GetBefore

func (x *GetTxsRequest) GetBefore() uint64

func (*GetTxsRequest) GetLimit

func (x *GetTxsRequest) GetLimit() int32

func (*GetTxsRequest) GetModule

func (x *GetTxsRequest) GetModule() string

func (*GetTxsRequest) GetSkip

func (x *GetTxsRequest) GetSkip() uint64

func (*GetTxsRequest) GetType

func (x *GetTxsRequest) GetType() string

func (*GetTxsRequest) ProtoMessage

func (*GetTxsRequest) ProtoMessage()

func (*GetTxsRequest) ProtoReflect

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

func (*GetTxsRequest) Reset

func (x *GetTxsRequest) Reset()

func (*GetTxsRequest) String

func (x *GetTxsRequest) String() string

type GetTxsResponse

type GetTxsResponse struct {
	Paging *Paging   `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
	Data   []*TxData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTxsResponse) Descriptor deprecated

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

Deprecated: Use GetTxsResponse.ProtoReflect.Descriptor instead.

func (*GetTxsResponse) GetData

func (x *GetTxsResponse) GetData() []*TxData

func (*GetTxsResponse) GetPaging

func (x *GetTxsResponse) GetPaging() *Paging

func (*GetTxsResponse) ProtoMessage

func (*GetTxsResponse) ProtoMessage()

func (*GetTxsResponse) ProtoReflect

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

func (*GetTxsResponse) Reset

func (x *GetTxsResponse) Reset()

func (*GetTxsResponse) String

func (x *GetTxsResponse) String() string

type InjectiveExplorerRPCClient

type InjectiveExplorerRPCClient interface {
	// GetAccount returns account information given an account address.
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error)
	// GetAccountTxs returns tranctions involving in an account based upon params.
	GetAccountTxs(ctx context.Context, in *GetAccountTxsRequest, opts ...grpc.CallOption) (*GetAccountTxsResponse, error)
	// GetBlocks returns blocks based upon the request params
	GetBlocks(ctx context.Context, in *GetBlocksRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error)
	// GetBlock returns block based upon the height or hash
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	// GetCoinPriceData returns price data from CoinGecko API
	GetCoinPriceData(ctx context.Context, in *GetCoinPriceDataRequest, opts ...grpc.CallOption) (*GetCoinPriceDataResponse, error)
	// GetTxs returns transactions based upon the request params
	GetTxs(ctx context.Context, in *GetTxsRequest, opts ...grpc.CallOption) (*GetTxsResponse, error)
	// GetTxByTxHash returns certain transaction information by its tx hash.
	GetTxByTxHash(ctx context.Context, in *GetTxByTxHashRequest, opts ...grpc.CallOption) (*GetTxByTxHashResponse, error)
	// StreamTxs returns transactions based upon the request params
	StreamTxs(ctx context.Context, in *StreamTxsRequest, opts ...grpc.CallOption) (InjectiveExplorerRPC_StreamTxsClient, error)
	// StreamBlocks returns blocks based upon the request params
	StreamBlocks(ctx context.Context, in *StreamBlocksRequest, opts ...grpc.CallOption) (InjectiveExplorerRPC_StreamBlocksClient, error)
}

InjectiveExplorerRPCClient is the client API for InjectiveExplorerRPC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type InjectiveExplorerRPCServer

type InjectiveExplorerRPCServer interface {
	// GetAccount returns account information given an account address.
	GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error)
	// GetAccountTxs returns tranctions involving in an account based upon params.
	GetAccountTxs(context.Context, *GetAccountTxsRequest) (*GetAccountTxsResponse, error)
	// GetBlocks returns blocks based upon the request params
	GetBlocks(context.Context, *GetBlocksRequest) (*GetBlocksResponse, error)
	// GetBlock returns block based upon the height or hash
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	// GetCoinPriceData returns price data from CoinGecko API
	GetCoinPriceData(context.Context, *GetCoinPriceDataRequest) (*GetCoinPriceDataResponse, error)
	// GetTxs returns transactions based upon the request params
	GetTxs(context.Context, *GetTxsRequest) (*GetTxsResponse, error)
	// GetTxByTxHash returns certain transaction information by its tx hash.
	GetTxByTxHash(context.Context, *GetTxByTxHashRequest) (*GetTxByTxHashResponse, error)
	// StreamTxs returns transactions based upon the request params
	StreamTxs(*StreamTxsRequest, InjectiveExplorerRPC_StreamTxsServer) error
	// StreamBlocks returns blocks based upon the request params
	StreamBlocks(*StreamBlocksRequest, InjectiveExplorerRPC_StreamBlocksServer) error
	// contains filtered or unexported methods
}

InjectiveExplorerRPCServer is the server API for InjectiveExplorerRPC service. All implementations must embed UnimplementedInjectiveExplorerRPCServer for forward compatibility

type InjectiveExplorerRPC_StreamBlocksClient

type InjectiveExplorerRPC_StreamBlocksClient interface {
	Recv() (*StreamBlocksResponse, error)
	grpc.ClientStream
}

type InjectiveExplorerRPC_StreamBlocksServer

type InjectiveExplorerRPC_StreamBlocksServer interface {
	Send(*StreamBlocksResponse) error
	grpc.ServerStream
}

type InjectiveExplorerRPC_StreamTxsClient

type InjectiveExplorerRPC_StreamTxsClient interface {
	Recv() (*StreamTxsResponse, error)
	grpc.ClientStream
}

type InjectiveExplorerRPC_StreamTxsServer

type InjectiveExplorerRPC_StreamTxsServer interface {
	Send(*StreamTxsResponse) error
	grpc.ServerStream
}

type Paging

type Paging struct {

	// total number of txs saved in database
	Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"`
	// can be either block height or index num
	From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"`
	// can be either block height or index num
	To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

Paging defines the structure for required params for handling pagination

func (*Paging) Descriptor deprecated

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

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) GetFrom

func (x *Paging) GetFrom() int32

func (*Paging) GetTo

func (x *Paging) GetTo() int32

func (*Paging) GetTotal

func (x *Paging) GetTotal() int64

func (*Paging) ProtoMessage

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect

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

func (*Paging) Reset

func (x *Paging) Reset()

func (*Paging) String

func (x *Paging) String() string

type ROIItem

type ROIItem struct {
	Times      float64 `protobuf:"fixed64,1,opt,name=times,proto3" json:"times,omitempty"`
	Currency   string  `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"`
	Percentage float64 `protobuf:"fixed64,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

ROIItem ROI Item

func (*ROIItem) Descriptor deprecated

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

Deprecated: Use ROIItem.ProtoReflect.Descriptor instead.

func (*ROIItem) GetCurrency

func (x *ROIItem) GetCurrency() string

func (*ROIItem) GetPercentage

func (x *ROIItem) GetPercentage() float64

func (*ROIItem) GetTimes

func (x *ROIItem) GetTimes() float64

func (*ROIItem) ProtoMessage

func (*ROIItem) ProtoMessage()

func (*ROIItem) ProtoReflect

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

func (*ROIItem) Reset

func (x *ROIItem) Reset()

func (*ROIItem) String

func (x *ROIItem) String() string

type Signature

type Signature struct {
	Pubkey    string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Address   string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Sequence  uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

Signature wraps tx signature

func (*Signature) Descriptor deprecated

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

Deprecated: Use Signature.ProtoReflect.Descriptor instead.

func (*Signature) GetAddress

func (x *Signature) GetAddress() string

func (*Signature) GetPubkey

func (x *Signature) GetPubkey() string

func (*Signature) GetSequence

func (x *Signature) GetSequence() uint64

func (*Signature) GetSignature

func (x *Signature) GetSignature() string

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) ProtoReflect

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

func (*Signature) Reset

func (x *Signature) Reset()

func (*Signature) String

func (x *Signature) String() string

type StreamBlocksRequest

type StreamBlocksRequest struct {
	Before uint64 `protobuf:"varint,1,opt,name=before,proto3" json:"before,omitempty"`
	After  uint64 `protobuf:"varint,2,opt,name=after,proto3" json:"after,omitempty"`
	Limit  int32  `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamBlocksRequest) Descriptor deprecated

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

Deprecated: Use StreamBlocksRequest.ProtoReflect.Descriptor instead.

func (*StreamBlocksRequest) GetAfter

func (x *StreamBlocksRequest) GetAfter() uint64

func (*StreamBlocksRequest) GetBefore

func (x *StreamBlocksRequest) GetBefore() uint64

func (*StreamBlocksRequest) GetLimit

func (x *StreamBlocksRequest) GetLimit() int32

func (*StreamBlocksRequest) ProtoMessage

func (*StreamBlocksRequest) ProtoMessage()

func (*StreamBlocksRequest) ProtoReflect

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

func (*StreamBlocksRequest) Reset

func (x *StreamBlocksRequest) Reset()

func (*StreamBlocksRequest) String

func (x *StreamBlocksRequest) String() string

type StreamBlocksResponse

type StreamBlocksResponse struct {
	Field []*BlockInfo `protobuf:"bytes,1,rep,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamBlocksResponse) Descriptor deprecated

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

Deprecated: Use StreamBlocksResponse.ProtoReflect.Descriptor instead.

func (*StreamBlocksResponse) GetField

func (x *StreamBlocksResponse) GetField() []*BlockInfo

func (*StreamBlocksResponse) ProtoMessage

func (*StreamBlocksResponse) ProtoMessage()

func (*StreamBlocksResponse) ProtoReflect

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

func (*StreamBlocksResponse) Reset

func (x *StreamBlocksResponse) Reset()

func (*StreamBlocksResponse) String

func (x *StreamBlocksResponse) String() string

type StreamTxsRequest

type StreamTxsRequest struct {
	Before uint64 `protobuf:"varint,1,opt,name=before,proto3" json:"before,omitempty"`
	After  uint64 `protobuf:"varint,2,opt,name=after,proto3" json:"after,omitempty"`
	Limit  int32  `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTxsRequest) Descriptor deprecated

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

Deprecated: Use StreamTxsRequest.ProtoReflect.Descriptor instead.

func (*StreamTxsRequest) GetAfter

func (x *StreamTxsRequest) GetAfter() uint64

func (*StreamTxsRequest) GetBefore

func (x *StreamTxsRequest) GetBefore() uint64

func (*StreamTxsRequest) GetLimit

func (x *StreamTxsRequest) GetLimit() int32

func (*StreamTxsRequest) ProtoMessage

func (*StreamTxsRequest) ProtoMessage()

func (*StreamTxsRequest) ProtoReflect

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

func (*StreamTxsRequest) Reset

func (x *StreamTxsRequest) Reset()

func (*StreamTxsRequest) String

func (x *StreamTxsRequest) String() string

type StreamTxsResponse

type StreamTxsResponse struct {
	Field []*TxData `protobuf:"bytes,1,rep,name=field,proto3" json:"field,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTxsResponse) Descriptor deprecated

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

Deprecated: Use StreamTxsResponse.ProtoReflect.Descriptor instead.

func (*StreamTxsResponse) GetField

func (x *StreamTxsResponse) GetField() []*TxData

func (*StreamTxsResponse) ProtoMessage

func (*StreamTxsResponse) ProtoMessage()

func (*StreamTxsResponse) ProtoReflect

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

func (*StreamTxsResponse) Reset

func (x *StreamTxsResponse) Reset()

func (*StreamTxsResponse) String

func (x *StreamTxsResponse) String() string

type TxData

type TxData struct {
	Id             string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BlockNumber    uint64       `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	BlockTimestamp string       `protobuf:"bytes,3,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"`
	Hash           string       `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Code           uint32       `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"`
	Data           []byte       `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	Info           string       `protobuf:"bytes,8,opt,name=info,proto3" json:"info,omitempty"`
	GasWanted      int64        `protobuf:"zigzag64,9,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed        int64        `protobuf:"zigzag64,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Codespace      string       `protobuf:"bytes,11,opt,name=codespace,proto3" json:"codespace,omitempty"`
	Events         []*Event     `protobuf:"bytes,12,rep,name=events,proto3" json:"events,omitempty"`
	TxType         string       `protobuf:"bytes,13,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	Messages       string       `protobuf:"bytes,14,opt,name=messages,proto3" json:"messages,omitempty"`
	Signatures     []*Signature `protobuf:"bytes,15,rep,name=signatures,proto3" json:"signatures,omitempty"`
	Memo           string       `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

TxData wraps tx data

func (*TxData) Descriptor deprecated

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

Deprecated: Use TxData.ProtoReflect.Descriptor instead.

func (*TxData) GetBlockNumber

func (x *TxData) GetBlockNumber() uint64

func (*TxData) GetBlockTimestamp

func (x *TxData) GetBlockTimestamp() string

func (*TxData) GetCode

func (x *TxData) GetCode() uint32

func (*TxData) GetCodespace

func (x *TxData) GetCodespace() string

func (*TxData) GetData

func (x *TxData) GetData() []byte

func (*TxData) GetEvents

func (x *TxData) GetEvents() []*Event

func (*TxData) GetGasUsed

func (x *TxData) GetGasUsed() int64

func (*TxData) GetGasWanted

func (x *TxData) GetGasWanted() int64

func (*TxData) GetHash

func (x *TxData) GetHash() string

func (*TxData) GetId

func (x *TxData) GetId() string

func (*TxData) GetInfo

func (x *TxData) GetInfo() string

func (*TxData) GetMemo

func (x *TxData) GetMemo() string

func (*TxData) GetMessages

func (x *TxData) GetMessages() string

func (*TxData) GetSignatures

func (x *TxData) GetSignatures() []*Signature

func (*TxData) GetTxType

func (x *TxData) GetTxType() string

func (*TxData) ProtoMessage

func (*TxData) ProtoMessage()

func (*TxData) ProtoReflect

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

func (*TxData) Reset

func (x *TxData) Reset()

func (*TxData) String

func (x *TxData) String() string

type UnimplementedInjectiveExplorerRPCServer

type UnimplementedInjectiveExplorerRPCServer struct {
}

UnimplementedInjectiveExplorerRPCServer must be embedded to have forward compatible implementations.

func (UnimplementedInjectiveExplorerRPCServer) GetAccount

func (UnimplementedInjectiveExplorerRPCServer) GetAccountTxs

func (UnimplementedInjectiveExplorerRPCServer) GetBlock

func (UnimplementedInjectiveExplorerRPCServer) GetBlocks

func (UnimplementedInjectiveExplorerRPCServer) GetCoinPriceData

func (UnimplementedInjectiveExplorerRPCServer) GetTxByTxHash

func (UnimplementedInjectiveExplorerRPCServer) GetTxs

func (UnimplementedInjectiveExplorerRPCServer) StreamTxs

type UnsafeInjectiveExplorerRPCServer

type UnsafeInjectiveExplorerRPCServer interface {
	// contains filtered or unexported methods
}

UnsafeInjectiveExplorerRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InjectiveExplorerRPCServer will result in compilation errors.

Jump to

Keyboard shortcuts

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