decentralcardgame-cardchain-client-ts 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DecentralCardGame.cardchain.cardchain/module.ts +632 -632
- package/DecentralCardGame.cardchain.cardchain/registry.ts +62 -62
- package/cosmos.authz.v1beta1/module.ts +24 -24
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.bank.v1beta1/module.ts +24 -24
- package/cosmos.bank.v1beta1/registry.ts +2 -2
- package/cosmos.base.tendermint.v1beta1/rest.ts +3 -3
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.distribution.v1beta1/module.ts +46 -46
- package/cosmos.distribution.v1beta1/registry.ts +4 -4
- package/cosmos.gov.v1/module.ts +29 -29
- package/cosmos.gov.v1/registry.ts +2 -2
- package/cosmos.gov.v1beta1/module.ts +47 -47
- package/cosmos.gov.v1beta1/registry.ts +4 -4
- package/cosmos.group.v1/module.ts +163 -163
- package/cosmos.group.v1/registry.ts +18 -18
- package/cosmos.group.v1/rest.ts +39 -0
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +150 -0
- package/cosmos.staking.v1beta1/module.ts +64 -64
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.ts +2 -2
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.tx.v1beta1/rest.ts +3 -3
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +1 -1
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.vesting.v1beta1/module.ts +29 -29
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/rest.ts +4 -1
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +6 -1
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +143 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.ts +240 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +361 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.ts +234 -0
- package/ibc.applications.transfer.v1/rest.ts +7 -1
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.ts +28 -6
- package/ibc.core.client.v1/rest.ts +16 -16
- package/ibc.core.client.v1/types/ibc/core/client/v1/query.ts +1 -1
- package/ibc.core.connection.v1/rest.ts +37 -0
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/query.ts +110 -1
- package/package.json +1 -1
|
@@ -36,10 +36,14 @@ export interface MsgTransfer {
|
|
|
36
36
|
* The timeout is disabled when set to 0.
|
|
37
37
|
*/
|
|
38
38
|
timeoutTimestamp: number;
|
|
39
|
+
/** optional memo */
|
|
40
|
+
memo: string;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
/** MsgTransferResponse defines the Msg/Transfer response type. */
|
|
42
44
|
export interface MsgTransferResponse {
|
|
45
|
+
/** sequence number of the transfer packet sent */
|
|
46
|
+
sequence: number;
|
|
43
47
|
}
|
|
44
48
|
|
|
45
49
|
function createBaseMsgTransfer(): MsgTransfer {
|
|
@@ -51,6 +55,7 @@ function createBaseMsgTransfer(): MsgTransfer {
|
|
|
51
55
|
receiver: "",
|
|
52
56
|
timeoutHeight: undefined,
|
|
53
57
|
timeoutTimestamp: 0,
|
|
58
|
+
memo: "",
|
|
54
59
|
};
|
|
55
60
|
}
|
|
56
61
|
|
|
@@ -77,6 +82,9 @@ export const MsgTransfer = {
|
|
|
77
82
|
if (message.timeoutTimestamp !== 0) {
|
|
78
83
|
writer.uint32(56).uint64(message.timeoutTimestamp);
|
|
79
84
|
}
|
|
85
|
+
if (message.memo !== "") {
|
|
86
|
+
writer.uint32(66).string(message.memo);
|
|
87
|
+
}
|
|
80
88
|
return writer;
|
|
81
89
|
},
|
|
82
90
|
|
|
@@ -108,6 +116,9 @@ export const MsgTransfer = {
|
|
|
108
116
|
case 7:
|
|
109
117
|
message.timeoutTimestamp = longToNumber(reader.uint64() as Long);
|
|
110
118
|
break;
|
|
119
|
+
case 8:
|
|
120
|
+
message.memo = reader.string();
|
|
121
|
+
break;
|
|
111
122
|
default:
|
|
112
123
|
reader.skipType(tag & 7);
|
|
113
124
|
break;
|
|
@@ -125,6 +136,7 @@ export const MsgTransfer = {
|
|
|
125
136
|
receiver: isSet(object.receiver) ? String(object.receiver) : "",
|
|
126
137
|
timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined,
|
|
127
138
|
timeoutTimestamp: isSet(object.timeoutTimestamp) ? Number(object.timeoutTimestamp) : 0,
|
|
139
|
+
memo: isSet(object.memo) ? String(object.memo) : "",
|
|
128
140
|
};
|
|
129
141
|
},
|
|
130
142
|
|
|
@@ -138,6 +150,7 @@ export const MsgTransfer = {
|
|
|
138
150
|
message.timeoutHeight !== undefined
|
|
139
151
|
&& (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined);
|
|
140
152
|
message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = Math.round(message.timeoutTimestamp));
|
|
153
|
+
message.memo !== undefined && (obj.memo = message.memo);
|
|
141
154
|
return obj;
|
|
142
155
|
},
|
|
143
156
|
|
|
@@ -152,16 +165,20 @@ export const MsgTransfer = {
|
|
|
152
165
|
? Height.fromPartial(object.timeoutHeight)
|
|
153
166
|
: undefined;
|
|
154
167
|
message.timeoutTimestamp = object.timeoutTimestamp ?? 0;
|
|
168
|
+
message.memo = object.memo ?? "";
|
|
155
169
|
return message;
|
|
156
170
|
},
|
|
157
171
|
};
|
|
158
172
|
|
|
159
173
|
function createBaseMsgTransferResponse(): MsgTransferResponse {
|
|
160
|
-
return {};
|
|
174
|
+
return { sequence: 0 };
|
|
161
175
|
}
|
|
162
176
|
|
|
163
177
|
export const MsgTransferResponse = {
|
|
164
|
-
encode(
|
|
178
|
+
encode(message: MsgTransferResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
179
|
+
if (message.sequence !== 0) {
|
|
180
|
+
writer.uint32(8).uint64(message.sequence);
|
|
181
|
+
}
|
|
165
182
|
return writer;
|
|
166
183
|
},
|
|
167
184
|
|
|
@@ -172,6 +189,9 @@ export const MsgTransferResponse = {
|
|
|
172
189
|
while (reader.pos < end) {
|
|
173
190
|
const tag = reader.uint32();
|
|
174
191
|
switch (tag >>> 3) {
|
|
192
|
+
case 1:
|
|
193
|
+
message.sequence = longToNumber(reader.uint64() as Long);
|
|
194
|
+
break;
|
|
175
195
|
default:
|
|
176
196
|
reader.skipType(tag & 7);
|
|
177
197
|
break;
|
|
@@ -180,17 +200,19 @@ export const MsgTransferResponse = {
|
|
|
180
200
|
return message;
|
|
181
201
|
},
|
|
182
202
|
|
|
183
|
-
fromJSON(
|
|
184
|
-
return {};
|
|
203
|
+
fromJSON(object: any): MsgTransferResponse {
|
|
204
|
+
return { sequence: isSet(object.sequence) ? Number(object.sequence) : 0 };
|
|
185
205
|
},
|
|
186
206
|
|
|
187
|
-
toJSON(
|
|
207
|
+
toJSON(message: MsgTransferResponse): unknown {
|
|
188
208
|
const obj: any = {};
|
|
209
|
+
message.sequence !== undefined && (obj.sequence = Math.round(message.sequence));
|
|
189
210
|
return obj;
|
|
190
211
|
},
|
|
191
212
|
|
|
192
|
-
fromPartial<I extends Exact<DeepPartial<MsgTransferResponse>, I>>(
|
|
213
|
+
fromPartial<I extends Exact<DeepPartial<MsgTransferResponse>, I>>(object: I): MsgTransferResponse {
|
|
193
214
|
const message = createBaseMsgTransferResponse();
|
|
215
|
+
message.sequence = object.sequence ?? 0;
|
|
194
216
|
return message;
|
|
195
217
|
},
|
|
196
218
|
};
|
|
@@ -897,22 +897,6 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
897
897
|
* @version version not set
|
|
898
898
|
*/
|
|
899
899
|
export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
900
|
-
/**
|
|
901
|
-
* No description
|
|
902
|
-
*
|
|
903
|
-
* @tags Query
|
|
904
|
-
* @name QueryClientParams
|
|
905
|
-
* @summary ClientParams queries all parameters of the ibc client.
|
|
906
|
-
* @request GET:/ibc/client/v1/params
|
|
907
|
-
*/
|
|
908
|
-
queryClientParams = (params: RequestParams = {}) =>
|
|
909
|
-
this.request<V1QueryClientParamsResponse, RpcStatus>({
|
|
910
|
-
path: `/ibc/client/v1/params`,
|
|
911
|
-
method: "GET",
|
|
912
|
-
format: "json",
|
|
913
|
-
...params,
|
|
914
|
-
});
|
|
915
|
-
|
|
916
900
|
/**
|
|
917
901
|
* No description
|
|
918
902
|
*
|
|
@@ -1050,6 +1034,22 @@ a given height.
|
|
|
1050
1034
|
...params,
|
|
1051
1035
|
});
|
|
1052
1036
|
|
|
1037
|
+
/**
|
|
1038
|
+
* No description
|
|
1039
|
+
*
|
|
1040
|
+
* @tags Query
|
|
1041
|
+
* @name QueryClientParams
|
|
1042
|
+
* @summary ClientParams queries all parameters of the ibc client submodule.
|
|
1043
|
+
* @request GET:/ibc/core/client/v1/params
|
|
1044
|
+
*/
|
|
1045
|
+
queryClientParams = (params: RequestParams = {}) =>
|
|
1046
|
+
this.request<V1QueryClientParamsResponse, RpcStatus>({
|
|
1047
|
+
path: `/ibc/core/client/v1/params`,
|
|
1048
|
+
method: "GET",
|
|
1049
|
+
format: "json",
|
|
1050
|
+
...params,
|
|
1051
|
+
});
|
|
1052
|
+
|
|
1053
1053
|
/**
|
|
1054
1054
|
* No description
|
|
1055
1055
|
*
|
|
@@ -1237,7 +1237,7 @@ export interface Query {
|
|
|
1237
1237
|
ConsensusStateHeights(request: QueryConsensusStateHeightsRequest): Promise<QueryConsensusStateHeightsResponse>;
|
|
1238
1238
|
/** Status queries the status of an IBC client. */
|
|
1239
1239
|
ClientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
|
1240
|
-
/** ClientParams queries all parameters of the ibc client. */
|
|
1240
|
+
/** ClientParams queries all parameters of the ibc client submodule. */
|
|
1241
1241
|
ClientParams(request: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
|
1242
1242
|
/** UpgradedClientState queries an Upgraded IBC light client. */
|
|
1243
1243
|
UpgradedClientState(request: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
|
@@ -9,6 +9,19 @@
|
|
|
9
9
|
* ---------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Params defines the set of Connection parameters.
|
|
14
|
+
*/
|
|
15
|
+
export interface Coreconnectionv1Params {
|
|
16
|
+
/**
|
|
17
|
+
* maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
|
|
18
|
+
* largest amount of time that the chain might reasonably take to produce the next block under normal operating
|
|
19
|
+
* conditions. A safe choice is 3-5x the expected time per block.
|
|
20
|
+
* @format uint64
|
|
21
|
+
*/
|
|
22
|
+
max_expected_time_per_block?: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
12
25
|
/**
|
|
13
26
|
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
14
27
|
URL that describes the type of the serialized message.
|
|
@@ -461,6 +474,14 @@ export interface V1QueryConnectionConsensusStateResponse {
|
|
|
461
474
|
proof_height?: V1Height;
|
|
462
475
|
}
|
|
463
476
|
|
|
477
|
+
/**
|
|
478
|
+
* QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method.
|
|
479
|
+
*/
|
|
480
|
+
export interface V1QueryConnectionParamsResponse {
|
|
481
|
+
/** params defines the parameters of the module. */
|
|
482
|
+
params?: Coreconnectionv1Params;
|
|
483
|
+
}
|
|
484
|
+
|
|
464
485
|
/**
|
|
465
486
|
* QueryConnectionResponse is the response type for the Query/Connection RPC
|
|
466
487
|
method. Besides the connection end, it includes a proof and the height from
|
|
@@ -849,4 +870,20 @@ connection.
|
|
|
849
870
|
format: "json",
|
|
850
871
|
...params,
|
|
851
872
|
});
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* No description
|
|
876
|
+
*
|
|
877
|
+
* @tags Query
|
|
878
|
+
* @name QueryConnectionParams
|
|
879
|
+
* @summary ConnectionParams queries all parameters of the ibc connection submodule.
|
|
880
|
+
* @request GET:/ibc/core/connection/v1/params
|
|
881
|
+
*/
|
|
882
|
+
queryConnectionParams = (params: RequestParams = {}) =>
|
|
883
|
+
this.request<V1QueryConnectionParamsResponse, RpcStatus>({
|
|
884
|
+
path: `/ibc/core/connection/v1/params`,
|
|
885
|
+
method: "GET",
|
|
886
|
+
format: "json",
|
|
887
|
+
...params,
|
|
888
|
+
});
|
|
852
889
|
}
|
|
@@ -4,7 +4,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
4
4
|
import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
5
5
|
import { Any } from "../../../../google/protobuf/any";
|
|
6
6
|
import { Height, IdentifiedClientState } from "../../client/v1/client";
|
|
7
|
-
import { ConnectionEnd, IdentifiedConnection } from "./connection";
|
|
7
|
+
import { ConnectionEnd, IdentifiedConnection, Params } from "./connection";
|
|
8
8
|
|
|
9
9
|
export const protobufPackage = "ibc.core.connection.v1";
|
|
10
10
|
|
|
@@ -130,6 +130,16 @@ export interface QueryConnectionConsensusStateResponse {
|
|
|
130
130
|
proofHeight: Height | undefined;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
/** QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. */
|
|
134
|
+
export interface QueryConnectionParamsRequest {
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. */
|
|
138
|
+
export interface QueryConnectionParamsResponse {
|
|
139
|
+
/** params defines the parameters of the module. */
|
|
140
|
+
params: Params | undefined;
|
|
141
|
+
}
|
|
142
|
+
|
|
133
143
|
function createBaseQueryConnectionRequest(): QueryConnectionRequest {
|
|
134
144
|
return { connectionId: "" };
|
|
135
145
|
}
|
|
@@ -788,6 +798,96 @@ export const QueryConnectionConsensusStateResponse = {
|
|
|
788
798
|
},
|
|
789
799
|
};
|
|
790
800
|
|
|
801
|
+
function createBaseQueryConnectionParamsRequest(): QueryConnectionParamsRequest {
|
|
802
|
+
return {};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export const QueryConnectionParamsRequest = {
|
|
806
|
+
encode(_: QueryConnectionParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
807
|
+
return writer;
|
|
808
|
+
},
|
|
809
|
+
|
|
810
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionParamsRequest {
|
|
811
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
812
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
813
|
+
const message = createBaseQueryConnectionParamsRequest();
|
|
814
|
+
while (reader.pos < end) {
|
|
815
|
+
const tag = reader.uint32();
|
|
816
|
+
switch (tag >>> 3) {
|
|
817
|
+
default:
|
|
818
|
+
reader.skipType(tag & 7);
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
return message;
|
|
823
|
+
},
|
|
824
|
+
|
|
825
|
+
fromJSON(_: any): QueryConnectionParamsRequest {
|
|
826
|
+
return {};
|
|
827
|
+
},
|
|
828
|
+
|
|
829
|
+
toJSON(_: QueryConnectionParamsRequest): unknown {
|
|
830
|
+
const obj: any = {};
|
|
831
|
+
return obj;
|
|
832
|
+
},
|
|
833
|
+
|
|
834
|
+
fromPartial<I extends Exact<DeepPartial<QueryConnectionParamsRequest>, I>>(_: I): QueryConnectionParamsRequest {
|
|
835
|
+
const message = createBaseQueryConnectionParamsRequest();
|
|
836
|
+
return message;
|
|
837
|
+
},
|
|
838
|
+
};
|
|
839
|
+
|
|
840
|
+
function createBaseQueryConnectionParamsResponse(): QueryConnectionParamsResponse {
|
|
841
|
+
return { params: undefined };
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export const QueryConnectionParamsResponse = {
|
|
845
|
+
encode(message: QueryConnectionParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
846
|
+
if (message.params !== undefined) {
|
|
847
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
848
|
+
}
|
|
849
|
+
return writer;
|
|
850
|
+
},
|
|
851
|
+
|
|
852
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionParamsResponse {
|
|
853
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
854
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
855
|
+
const message = createBaseQueryConnectionParamsResponse();
|
|
856
|
+
while (reader.pos < end) {
|
|
857
|
+
const tag = reader.uint32();
|
|
858
|
+
switch (tag >>> 3) {
|
|
859
|
+
case 1:
|
|
860
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
861
|
+
break;
|
|
862
|
+
default:
|
|
863
|
+
reader.skipType(tag & 7);
|
|
864
|
+
break;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return message;
|
|
868
|
+
},
|
|
869
|
+
|
|
870
|
+
fromJSON(object: any): QueryConnectionParamsResponse {
|
|
871
|
+
return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };
|
|
872
|
+
},
|
|
873
|
+
|
|
874
|
+
toJSON(message: QueryConnectionParamsResponse): unknown {
|
|
875
|
+
const obj: any = {};
|
|
876
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
877
|
+
return obj;
|
|
878
|
+
},
|
|
879
|
+
|
|
880
|
+
fromPartial<I extends Exact<DeepPartial<QueryConnectionParamsResponse>, I>>(
|
|
881
|
+
object: I,
|
|
882
|
+
): QueryConnectionParamsResponse {
|
|
883
|
+
const message = createBaseQueryConnectionParamsResponse();
|
|
884
|
+
message.params = (object.params !== undefined && object.params !== null)
|
|
885
|
+
? Params.fromPartial(object.params)
|
|
886
|
+
: undefined;
|
|
887
|
+
return message;
|
|
888
|
+
},
|
|
889
|
+
};
|
|
890
|
+
|
|
791
891
|
/** Query provides defines the gRPC querier service */
|
|
792
892
|
export interface Query {
|
|
793
893
|
/** Connection queries an IBC connection end. */
|
|
@@ -811,6 +911,8 @@ export interface Query {
|
|
|
811
911
|
ConnectionConsensusState(
|
|
812
912
|
request: QueryConnectionConsensusStateRequest,
|
|
813
913
|
): Promise<QueryConnectionConsensusStateResponse>;
|
|
914
|
+
/** ConnectionParams queries all parameters of the ibc connection submodule. */
|
|
915
|
+
ConnectionParams(request: QueryConnectionParamsRequest): Promise<QueryConnectionParamsResponse>;
|
|
814
916
|
}
|
|
815
917
|
|
|
816
918
|
export class QueryClientImpl implements Query {
|
|
@@ -822,6 +924,7 @@ export class QueryClientImpl implements Query {
|
|
|
822
924
|
this.ClientConnections = this.ClientConnections.bind(this);
|
|
823
925
|
this.ConnectionClientState = this.ConnectionClientState.bind(this);
|
|
824
926
|
this.ConnectionConsensusState = this.ConnectionConsensusState.bind(this);
|
|
927
|
+
this.ConnectionParams = this.ConnectionParams.bind(this);
|
|
825
928
|
}
|
|
826
929
|
Connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse> {
|
|
827
930
|
const data = QueryConnectionRequest.encode(request).finish();
|
|
@@ -854,6 +957,12 @@ export class QueryClientImpl implements Query {
|
|
|
854
957
|
const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data);
|
|
855
958
|
return promise.then((data) => QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data)));
|
|
856
959
|
}
|
|
960
|
+
|
|
961
|
+
ConnectionParams(request: QueryConnectionParamsRequest): Promise<QueryConnectionParamsResponse> {
|
|
962
|
+
const data = QueryConnectionParamsRequest.encode(request).finish();
|
|
963
|
+
const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionParams", data);
|
|
964
|
+
return promise.then((data) => QueryConnectionParamsResponse.decode(new _m0.Reader(data)));
|
|
965
|
+
}
|
|
857
966
|
}
|
|
858
967
|
|
|
859
968
|
interface Rpc {
|
package/package.json
CHANGED