- Preparing search index...
- The search index is not available
SeiJS
- getQueryClient(restEndpoint: string): Promise<{
cosmos: {
auth: {
v1beta1: LCDQueryClient;
};
authz: {
v1beta1: LCDQueryClient;
};
bank: {
v1beta1: LCDQueryClient;
};
distribution: {
v1beta1: LCDQueryClient;
};
gov: {
v1beta1: LCDQueryClient;
};
staking: {
v1beta1: LCDQueryClient;
};
tx: {
v1beta1: LCDQueryClient;
};
upgrade: {
v1beta1: LCDQueryClient;
};
};
seiprotocol: {
seichain: {
dex: LCDQueryClient;
epoch: LCDQueryClient;
mint: LCDQueryClient;
oracle: LCDQueryClient;
tokenfactory: LCDQueryClient;
};
};
}>
-
Returns Promise<{
cosmos: {
auth: {
v1beta1: LCDQueryClient;
};
authz: {
v1beta1: LCDQueryClient;
};
bank: {
v1beta1: LCDQueryClient;
};
distribution: {
v1beta1: LCDQueryClient;
};
gov: {
v1beta1: LCDQueryClient;
};
staking: {
v1beta1: LCDQueryClient;
};
tx: {
v1beta1: LCDQueryClient;
};
upgrade: {
v1beta1: LCDQueryClient;
};
};
seiprotocol: {
seichain: {
dex: LCDQueryClient;
epoch: LCDQueryClient;
mint: LCDQueryClient;
oracle: LCDQueryClient;
tokenfactory: LCDQueryClient;
};
};
}>
Gets a client used to interact with the Sei chain.
Returns
A client object that can be used to query the Sei chain. For an example of how to use this client, refer to
getPool
.