Documentation ¶
Overview ¶
The query package includes Cosmos and Kava gRPC query clients.
To ensure that the `QueryClient` stays updated, add new module query clients to the `QueryClient` whenever new modules with grpc queries are added to the Kava app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryClient ¶
type QueryClient struct { Tm tmservice.ServiceClient Tx txtypes.ServiceClient Auth authtypes.QueryClient Authz authz.QueryClient Bank banktypes.QueryClient Distribution disttypes.QueryClient Evidence evidencetypes.QueryClient Gov govv1types.QueryClient GovBeta govv1beta1types.QueryClient Mint minttypes.QueryClient Params paramstypes.QueryClient Slashing slashingtypes.QueryClient Staking stakingtypes.QueryClient Upgrade upgradetypes.QueryClient Consensus consensustypes.QueryClient Evm evmtypes.QueryClient Feemarket feemarkettypes.QueryClient IbcClient ibcclienttypes.QueryClient IbcTransfer ibctransfertypes.QueryClient Auction auctiontypes.QueryClient Bep3 bep3types.QueryClient Cdp cdptypes.QueryClient Committee committeetypes.QueryClient Community communitytypes.QueryClient Earn earntypes.QueryClient Evmutil evmutiltypes.QueryClient Hard hardtypes.QueryClient Incentive incentivetypes.QueryClient Issuance issuancetypes.QueryClient Kavadist kavadisttypes.QueryClient Liquid liquidtypes.QueryClient Pricefeed pricefeedtypes.QueryClient Savings savingstypes.QueryClient Swap swaptypes.QueryClient }
QueryClient is a wrapper with all Cosmos and Kava grpc query clients
func NewQueryClient ¶
func NewQueryClient(grpcEndpoint string) (*QueryClient, error)
NewQueryClient creates a new QueryClient and initializes all the module query clients
Click to show internal directories.
Click to hide internal directories.