MCPcopy Create free account
hub / github.com/FirmaChain/firmachain / QueryClient

Interface QueryClient

x/token/types/query.pb.go:369–376  ·  view source on GitHub ↗

QueryClient is the client API for Query service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Source from the content-addressed store, hash-verified

367//
368// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
369type QueryClient interface {
370 // Queries a tokenData by index.
371 TokenData(ctx context.Context, in *QueryGetTokenDataRequest, opts ...grpc.CallOption) (*QueryGetTokenDataResponse, error)
372 // Queries a list of tokenData items.
373 TokenDataAll(ctx context.Context, in *QueryAllTokenDataRequest, opts ...grpc.CallOption) (*QueryAllTokenDataResponse, error)
374 // Queries a list of getTokenList items.
375 GetTokenList(ctx context.Context, in *QueryGetTokenListRequest, opts ...grpc.CallOption) (*QueryGetTokenListResponse, error)
376}
377
378type queryClient struct {
379 cc grpc1.ClientConn

Calls

no outgoing calls

Tested by

no test coverage detected