@injectivelabs/indexer-proto-ts-v2 1.0.0
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/generated/event_provider_api_pb.client.d.ts +156 -0
- package/generated/event_provider_api_pb.client.js +76 -0
- package/generated/event_provider_api_pb.d.ts +1980 -0
- package/generated/event_provider_api_pb.js +1776 -0
- package/generated/health_pb.client.d.ts +53 -0
- package/generated/health_pb.client.js +22 -0
- package/generated/health_pb.d.ts +309 -0
- package/generated/health_pb.js +265 -0
- package/generated/injective_accounts_rpc_pb.client.d.ts +211 -0
- package/generated/injective_accounts_rpc_pb.client.js +105 -0
- package/generated/injective_accounts_rpc_pb.d.ts +5307 -0
- package/generated/injective_accounts_rpc_pb.js +4784 -0
- package/generated/injective_archiver_rpc_pb.client.d.ts +224 -0
- package/generated/injective_archiver_rpc_pb.client.js +112 -0
- package/generated/injective_archiver_rpc_pb.d.ts +2944 -0
- package/generated/injective_archiver_rpc_pb.js +2603 -0
- package/generated/injective_auction_rpc_pb.client.d.ts +190 -0
- package/generated/injective_auction_rpc_pb.client.js +94 -0
- package/generated/injective_auction_rpc_pb.d.ts +2131 -0
- package/generated/injective_auction_rpc_pb.js +1917 -0
- package/generated/injective_campaign_rpc_pb.client.d.ts +138 -0
- package/generated/injective_campaign_rpc_pb.client.js +67 -0
- package/generated/injective_campaign_rpc_pb.d.ts +2766 -0
- package/generated/injective_campaign_rpc_pb.js +2542 -0
- package/generated/injective_chart_rpc_pb.client.d.ts +159 -0
- package/generated/injective_chart_rpc_pb.client.js +78 -0
- package/generated/injective_chart_rpc_pb.d.ts +1840 -0
- package/generated/injective_chart_rpc_pb.js +1690 -0
- package/generated/injective_derivative_exchange_rpc_pb.client.d.ts +504 -0
- package/generated/injective_derivative_exchange_rpc_pb.client.js +259 -0
- package/generated/injective_derivative_exchange_rpc_pb.d.ts +9214 -0
- package/generated/injective_derivative_exchange_rpc_pb.js +8407 -0
- package/generated/injective_exchange_rpc_pb.client.d.ts +155 -0
- package/generated/injective_exchange_rpc_pb.client.js +76 -0
- package/generated/injective_exchange_rpc_pb.d.ts +1925 -0
- package/generated/injective_exchange_rpc_pb.js +1740 -0
- package/generated/injective_explorer_rpc_pb.client.d.ts +495 -0
- package/generated/injective_explorer_rpc_pb.client.js +255 -0
- package/generated/injective_explorer_rpc_pb.d.ts +9394 -0
- package/generated/injective_explorer_rpc_pb.js +8921 -0
- package/generated/injective_insurance_rpc_pb.client.d.ts +87 -0
- package/generated/injective_insurance_rpc_pb.client.js +40 -0
- package/generated/injective_insurance_rpc_pb.d.ts +904 -0
- package/generated/injective_insurance_rpc_pb.js +807 -0
- package/generated/injective_megavault_rpc_pb.client.d.ts +155 -0
- package/generated/injective_megavault_rpc_pb.client.js +76 -0
- package/generated/injective_megavault_rpc_pb.d.ts +3408 -0
- package/generated/injective_megavault_rpc_pb.js +3019 -0
- package/generated/injective_meta_rpc_pb.client.d.ts +124 -0
- package/generated/injective_meta_rpc_pb.client.js +59 -0
- package/generated/injective_meta_rpc_pb.d.ts +825 -0
- package/generated/injective_meta_rpc_pb.js +716 -0
- package/generated/injective_oracle_rpc_pb.client.d.ts +124 -0
- package/generated/injective_oracle_rpc_pb.client.js +59 -0
- package/generated/injective_oracle_rpc_pb.d.ts +1117 -0
- package/generated/injective_oracle_rpc_pb.js +987 -0
- package/generated/injective_portfolio_rpc_pb.client.d.ts +105 -0
- package/generated/injective_portfolio_rpc_pb.client.js +49 -0
- package/generated/injective_portfolio_rpc_pb.d.ts +1492 -0
- package/generated/injective_portfolio_rpc_pb.js +1314 -0
- package/generated/injective_referral_rpc_pb.client.d.ts +89 -0
- package/generated/injective_referral_rpc_pb.client.js +41 -0
- package/generated/injective_referral_rpc_pb.d.ts +575 -0
- package/generated/injective_referral_rpc_pb.js +497 -0
- package/generated/injective_rfqrpc_pb.client.d.ts +208 -0
- package/generated/injective_rfqrpc_pb.client.js +103 -0
- package/generated/injective_rfqrpc_pb.d.ts +2241 -0
- package/generated/injective_rfqrpc_pb.js +1940 -0
- package/generated/injective_spot_exchange_rpc_pb.client.d.ts +343 -0
- package/generated/injective_spot_exchange_rpc_pb.client.js +175 -0
- package/generated/injective_spot_exchange_rpc_pb.d.ts +5958 -0
- package/generated/injective_spot_exchange_rpc_pb.js +5426 -0
- package/generated/injective_trading_rpc_pb.client.d.ts +90 -0
- package/generated/injective_trading_rpc_pb.client.js +40 -0
- package/generated/injective_trading_rpc_pb.d.ts +1882 -0
- package/generated/injective_trading_rpc_pb.js +1754 -0
- package/index.d.ts +43 -0
- package/index.js +78 -0
- package/package.json +37 -0
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
2
|
+
// @generated from protobuf file "injective_explorer_rpc.proto" (package "injective_explorer_rpc", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
//
|
|
5
|
+
// Code generated with goa v3.7.0, DO NOT EDIT.
|
|
6
|
+
//
|
|
7
|
+
// InjectiveExplorerRPC protocol buffer definition
|
|
8
|
+
//
|
|
9
|
+
// Command:
|
|
10
|
+
// $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../
|
|
11
|
+
//
|
|
12
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
13
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
14
|
+
import { InjectiveExplorerRPC } from "./injective_explorer_rpc_pb";
|
|
15
|
+
import type { GetStatsResponse } from "./injective_explorer_rpc_pb";
|
|
16
|
+
import type { GetStatsRequest } from "./injective_explorer_rpc_pb";
|
|
17
|
+
import type { StreamBlocksResponse } from "./injective_explorer_rpc_pb";
|
|
18
|
+
import type { StreamBlocksRequest } from "./injective_explorer_rpc_pb";
|
|
19
|
+
import type { StreamTxsResponse } from "./injective_explorer_rpc_pb";
|
|
20
|
+
import type { StreamTxsRequest } from "./injective_explorer_rpc_pb";
|
|
21
|
+
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
22
|
+
import type { GetBankTransfersResponse } from "./injective_explorer_rpc_pb";
|
|
23
|
+
import type { GetBankTransfersRequest } from "./injective_explorer_rpc_pb";
|
|
24
|
+
import type { RelayersResponse } from "./injective_explorer_rpc_pb";
|
|
25
|
+
import type { RelayersRequest } from "./injective_explorer_rpc_pb";
|
|
26
|
+
import type { GetCw20BalanceResponse } from "./injective_explorer_rpc_pb";
|
|
27
|
+
import type { GetCw20BalanceRequest } from "./injective_explorer_rpc_pb";
|
|
28
|
+
import type { GetWasmContractByAddressResponse } from "./injective_explorer_rpc_pb";
|
|
29
|
+
import type { GetWasmContractByAddressRequest } from "./injective_explorer_rpc_pb";
|
|
30
|
+
import type { GetWasmContractsResponse } from "./injective_explorer_rpc_pb";
|
|
31
|
+
import type { GetWasmContractsRequest } from "./injective_explorer_rpc_pb";
|
|
32
|
+
import type { GetWasmCodeByIDResponse } from "./injective_explorer_rpc_pb";
|
|
33
|
+
import type { GetWasmCodeByIDRequest } from "./injective_explorer_rpc_pb";
|
|
34
|
+
import type { GetWasmCodesResponse } from "./injective_explorer_rpc_pb";
|
|
35
|
+
import type { GetWasmCodesRequest } from "./injective_explorer_rpc_pb";
|
|
36
|
+
import type { GetIBCTransferTxsResponse } from "./injective_explorer_rpc_pb";
|
|
37
|
+
import type { GetIBCTransferTxsRequest } from "./injective_explorer_rpc_pb";
|
|
38
|
+
import type { GetPeggyWithdrawalTxsResponse } from "./injective_explorer_rpc_pb";
|
|
39
|
+
import type { GetPeggyWithdrawalTxsRequest } from "./injective_explorer_rpc_pb";
|
|
40
|
+
import type { GetPeggyDepositTxsResponse } from "./injective_explorer_rpc_pb";
|
|
41
|
+
import type { GetPeggyDepositTxsRequest } from "./injective_explorer_rpc_pb";
|
|
42
|
+
import type { GetTxByTxHashResponse } from "./injective_explorer_rpc_pb";
|
|
43
|
+
import type { GetTxByTxHashRequest } from "./injective_explorer_rpc_pb";
|
|
44
|
+
import type { GetTxsV2Response } from "./injective_explorer_rpc_pb";
|
|
45
|
+
import type { GetTxsV2Request } from "./injective_explorer_rpc_pb";
|
|
46
|
+
import type { GetTxsResponse } from "./injective_explorer_rpc_pb";
|
|
47
|
+
import type { GetTxsRequest } from "./injective_explorer_rpc_pb";
|
|
48
|
+
import type { GetValidatorUptimeResponse } from "./injective_explorer_rpc_pb";
|
|
49
|
+
import type { GetValidatorUptimeRequest } from "./injective_explorer_rpc_pb";
|
|
50
|
+
import type { GetValidatorResponse } from "./injective_explorer_rpc_pb";
|
|
51
|
+
import type { GetValidatorRequest } from "./injective_explorer_rpc_pb";
|
|
52
|
+
import type { GetValidatorsResponse } from "./injective_explorer_rpc_pb";
|
|
53
|
+
import type { GetValidatorsRequest } from "./injective_explorer_rpc_pb";
|
|
54
|
+
import type { GetBlockResponse } from "./injective_explorer_rpc_pb";
|
|
55
|
+
import type { GetBlockRequest } from "./injective_explorer_rpc_pb";
|
|
56
|
+
import type { GetBlocksV2Response } from "./injective_explorer_rpc_pb";
|
|
57
|
+
import type { GetBlocksV2Request } from "./injective_explorer_rpc_pb";
|
|
58
|
+
import type { GetBlocksResponse } from "./injective_explorer_rpc_pb";
|
|
59
|
+
import type { GetBlocksRequest } from "./injective_explorer_rpc_pb";
|
|
60
|
+
import type { GetContractTxsV2Response } from "./injective_explorer_rpc_pb";
|
|
61
|
+
import type { GetContractTxsV2Request } from "./injective_explorer_rpc_pb";
|
|
62
|
+
import type { GetContractTxsResponse } from "./injective_explorer_rpc_pb";
|
|
63
|
+
import type { GetContractTxsRequest } from "./injective_explorer_rpc_pb";
|
|
64
|
+
import type { GetAccountTxsV2Response } from "./injective_explorer_rpc_pb";
|
|
65
|
+
import type { GetAccountTxsV2Request } from "./injective_explorer_rpc_pb";
|
|
66
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
67
|
+
import type { GetAccountTxsResponse } from "./injective_explorer_rpc_pb";
|
|
68
|
+
import type { GetAccountTxsRequest } from "./injective_explorer_rpc_pb";
|
|
69
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
70
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
71
|
+
/**
|
|
72
|
+
* ExplorerAPI implements explorer data API for e.g. Blockchain Explorer
|
|
73
|
+
*
|
|
74
|
+
* @generated from protobuf service injective_explorer_rpc.InjectiveExplorerRPC
|
|
75
|
+
*/
|
|
76
|
+
export interface IInjectiveExplorerRPCClient {
|
|
77
|
+
/**
|
|
78
|
+
* GetAccountTxs returns transactions involving in an account based upon
|
|
79
|
+
* params. Deprecated: use GetAccountTxsV2 instead.
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf rpc: GetAccountTxs
|
|
82
|
+
*/
|
|
83
|
+
getAccountTxs(input: GetAccountTxsRequest, options?: RpcOptions): UnaryCall<GetAccountTxsRequest, GetAccountTxsResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* GetAccountTxs returns tranctions involving in an account based upon params.
|
|
86
|
+
*
|
|
87
|
+
* @generated from protobuf rpc: GetAccountTxsV2
|
|
88
|
+
*/
|
|
89
|
+
getAccountTxsV2(input: GetAccountTxsV2Request, options?: RpcOptions): UnaryCall<GetAccountTxsV2Request, GetAccountTxsV2Response>;
|
|
90
|
+
/**
|
|
91
|
+
* GetContractTxs returns contract-related transactions. Deprecated: use
|
|
92
|
+
* GetContractTxsV2 instead.
|
|
93
|
+
*
|
|
94
|
+
* @generated from protobuf rpc: GetContractTxs
|
|
95
|
+
*/
|
|
96
|
+
getContractTxs(input: GetContractTxsRequest, options?: RpcOptions): UnaryCall<GetContractTxsRequest, GetContractTxsResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* GetContractTxs returns contract-related transactions
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf rpc: GetContractTxsV2
|
|
101
|
+
*/
|
|
102
|
+
getContractTxsV2(input: GetContractTxsV2Request, options?: RpcOptions): UnaryCall<GetContractTxsV2Request, GetContractTxsV2Response>;
|
|
103
|
+
/**
|
|
104
|
+
* GetBlocks returns blocks based upon the request params. Deprecated: use
|
|
105
|
+
* GetBlocksV2 instead.
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf rpc: GetBlocks
|
|
108
|
+
*/
|
|
109
|
+
getBlocks(input: GetBlocksRequest, options?: RpcOptions): UnaryCall<GetBlocksRequest, GetBlocksResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* GetBlocks returns blocks based upon the request params
|
|
112
|
+
*
|
|
113
|
+
* @generated from protobuf rpc: GetBlocksV2
|
|
114
|
+
*/
|
|
115
|
+
getBlocksV2(input: GetBlocksV2Request, options?: RpcOptions): UnaryCall<GetBlocksV2Request, GetBlocksV2Response>;
|
|
116
|
+
/**
|
|
117
|
+
* GetBlock returns block based upon the height or hash
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf rpc: GetBlock
|
|
120
|
+
*/
|
|
121
|
+
getBlock(input: GetBlockRequest, options?: RpcOptions): UnaryCall<GetBlockRequest, GetBlockResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* GetValidators returns validators on the active chain
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf rpc: GetValidators
|
|
126
|
+
*/
|
|
127
|
+
getValidators(input: GetValidatorsRequest, options?: RpcOptions): UnaryCall<GetValidatorsRequest, GetValidatorsResponse>;
|
|
128
|
+
/**
|
|
129
|
+
* GetValidator returns validator information on the active chain
|
|
130
|
+
*
|
|
131
|
+
* @generated from protobuf rpc: GetValidator
|
|
132
|
+
*/
|
|
133
|
+
getValidator(input: GetValidatorRequest, options?: RpcOptions): UnaryCall<GetValidatorRequest, GetValidatorResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* GetValidatorUptime returns validator uptime information on the active chain
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf rpc: GetValidatorUptime
|
|
138
|
+
*/
|
|
139
|
+
getValidatorUptime(input: GetValidatorUptimeRequest, options?: RpcOptions): UnaryCall<GetValidatorUptimeRequest, GetValidatorUptimeResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* GetTxs returns transactions based upon the request params. Deprecated: use
|
|
142
|
+
* GetTxsV2 instead.
|
|
143
|
+
*
|
|
144
|
+
* @generated from protobuf rpc: GetTxs
|
|
145
|
+
*/
|
|
146
|
+
getTxs(input: GetTxsRequest, options?: RpcOptions): UnaryCall<GetTxsRequest, GetTxsResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* GetTxs returns transactions based upon the request params
|
|
149
|
+
*
|
|
150
|
+
* @generated from protobuf rpc: GetTxsV2
|
|
151
|
+
*/
|
|
152
|
+
getTxsV2(input: GetTxsV2Request, options?: RpcOptions): UnaryCall<GetTxsV2Request, GetTxsV2Response>;
|
|
153
|
+
/**
|
|
154
|
+
* GetTxByTxHash returns certain transaction information by its tx hash.
|
|
155
|
+
*
|
|
156
|
+
* @generated from protobuf rpc: GetTxByTxHash
|
|
157
|
+
*/
|
|
158
|
+
getTxByTxHash(input: GetTxByTxHashRequest, options?: RpcOptions): UnaryCall<GetTxByTxHashRequest, GetTxByTxHashResponse>;
|
|
159
|
+
/**
|
|
160
|
+
* GetPeggyDepositTxs returns the peggy deposit transactions based upon the
|
|
161
|
+
* request params
|
|
162
|
+
*
|
|
163
|
+
* @generated from protobuf rpc: GetPeggyDepositTxs
|
|
164
|
+
*/
|
|
165
|
+
getPeggyDepositTxs(input: GetPeggyDepositTxsRequest, options?: RpcOptions): UnaryCall<GetPeggyDepositTxsRequest, GetPeggyDepositTxsResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon
|
|
168
|
+
* the request params
|
|
169
|
+
*
|
|
170
|
+
* @generated from protobuf rpc: GetPeggyWithdrawalTxs
|
|
171
|
+
*/
|
|
172
|
+
getPeggyWithdrawalTxs(input: GetPeggyWithdrawalTxsRequest, options?: RpcOptions): UnaryCall<GetPeggyWithdrawalTxsRequest, GetPeggyWithdrawalTxsResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* GetIBCTransferTxs returns the ibc transfer transactions based upon the
|
|
175
|
+
* request params
|
|
176
|
+
*
|
|
177
|
+
* @generated from protobuf rpc: GetIBCTransferTxs
|
|
178
|
+
*/
|
|
179
|
+
getIBCTransferTxs(input: GetIBCTransferTxsRequest, options?: RpcOptions): UnaryCall<GetIBCTransferTxsRequest, GetIBCTransferTxsResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* GetWasmCodes lists all stored code
|
|
182
|
+
*
|
|
183
|
+
* @generated from protobuf rpc: GetWasmCodes
|
|
184
|
+
*/
|
|
185
|
+
getWasmCodes(input: GetWasmCodesRequest, options?: RpcOptions): UnaryCall<GetWasmCodesRequest, GetWasmCodesResponse>;
|
|
186
|
+
/**
|
|
187
|
+
* GetWasmCodeById list cosmwasm code infor by ID
|
|
188
|
+
*
|
|
189
|
+
* @generated from protobuf rpc: GetWasmCodeByID
|
|
190
|
+
*/
|
|
191
|
+
getWasmCodeByID(input: GetWasmCodeByIDRequest, options?: RpcOptions): UnaryCall<GetWasmCodeByIDRequest, GetWasmCodeByIDResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* GetWasmContracts lists all contracts
|
|
194
|
+
*
|
|
195
|
+
* @generated from protobuf rpc: GetWasmContracts
|
|
196
|
+
*/
|
|
197
|
+
getWasmContracts(input: GetWasmContractsRequest, options?: RpcOptions): UnaryCall<GetWasmContractsRequest, GetWasmContractsResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* GetWasmContractByAddress list cosmwasm contract info by its address
|
|
200
|
+
*
|
|
201
|
+
* @generated from protobuf rpc: GetWasmContractByAddress
|
|
202
|
+
*/
|
|
203
|
+
getWasmContractByAddress(input: GetWasmContractByAddressRequest, options?: RpcOptions): UnaryCall<GetWasmContractByAddressRequest, GetWasmContractByAddressResponse>;
|
|
204
|
+
/**
|
|
205
|
+
* GetCw20Balance lists all cw20 balances of an injective account
|
|
206
|
+
*
|
|
207
|
+
* @generated from protobuf rpc: GetCw20Balance
|
|
208
|
+
*/
|
|
209
|
+
getCw20Balance(input: GetCw20BalanceRequest, options?: RpcOptions): UnaryCall<GetCw20BalanceRequest, GetCw20BalanceResponse>;
|
|
210
|
+
/**
|
|
211
|
+
* Request relayers infos by marketIDs. If no ids are provided, all market with
|
|
212
|
+
* associated relayers are returned
|
|
213
|
+
*
|
|
214
|
+
* @generated from protobuf rpc: Relayers
|
|
215
|
+
*/
|
|
216
|
+
relayers(input: RelayersRequest, options?: RpcOptions): UnaryCall<RelayersRequest, RelayersResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* GetBankTransfers returns bank transfers.
|
|
219
|
+
*
|
|
220
|
+
* @generated from protobuf rpc: GetBankTransfers
|
|
221
|
+
*/
|
|
222
|
+
getBankTransfers(input: GetBankTransfersRequest, options?: RpcOptions): UnaryCall<GetBankTransfersRequest, GetBankTransfersResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* StreamTxs returns transactions based upon the request params
|
|
225
|
+
*
|
|
226
|
+
* @generated from protobuf rpc: StreamTxs
|
|
227
|
+
*/
|
|
228
|
+
streamTxs(input: StreamTxsRequest, options?: RpcOptions): ServerStreamingCall<StreamTxsRequest, StreamTxsResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* StreamBlocks returns the latest blocks
|
|
231
|
+
*
|
|
232
|
+
* @generated from protobuf rpc: StreamBlocks
|
|
233
|
+
*/
|
|
234
|
+
streamBlocks(input: StreamBlocksRequest, options?: RpcOptions): ServerStreamingCall<StreamBlocksRequest, StreamBlocksResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* GetStats returns global exchange statistics in the last 24hs
|
|
237
|
+
*
|
|
238
|
+
* @generated from protobuf rpc: GetStats
|
|
239
|
+
*/
|
|
240
|
+
getStats(input: GetStatsRequest, options?: RpcOptions): UnaryCall<GetStatsRequest, GetStatsResponse>;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* ExplorerAPI implements explorer data API for e.g. Blockchain Explorer
|
|
244
|
+
*
|
|
245
|
+
* @generated from protobuf service injective_explorer_rpc.InjectiveExplorerRPC
|
|
246
|
+
*/
|
|
247
|
+
export class InjectiveExplorerRPCClient implements IInjectiveExplorerRPCClient, ServiceInfo {
|
|
248
|
+
typeName = InjectiveExplorerRPC.typeName;
|
|
249
|
+
methods = InjectiveExplorerRPC.methods;
|
|
250
|
+
options = InjectiveExplorerRPC.options;
|
|
251
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* GetAccountTxs returns transactions involving in an account based upon
|
|
255
|
+
* params. Deprecated: use GetAccountTxsV2 instead.
|
|
256
|
+
*
|
|
257
|
+
* @generated from protobuf rpc: GetAccountTxs
|
|
258
|
+
*/
|
|
259
|
+
getAccountTxs(input: GetAccountTxsRequest, options?: RpcOptions): UnaryCall<GetAccountTxsRequest, GetAccountTxsResponse> {
|
|
260
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
261
|
+
return stackIntercept<GetAccountTxsRequest, GetAccountTxsResponse>("unary", this._transport, method, opt, input);
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* GetAccountTxs returns tranctions involving in an account based upon params.
|
|
265
|
+
*
|
|
266
|
+
* @generated from protobuf rpc: GetAccountTxsV2
|
|
267
|
+
*/
|
|
268
|
+
getAccountTxsV2(input: GetAccountTxsV2Request, options?: RpcOptions): UnaryCall<GetAccountTxsV2Request, GetAccountTxsV2Response> {
|
|
269
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
270
|
+
return stackIntercept<GetAccountTxsV2Request, GetAccountTxsV2Response>("unary", this._transport, method, opt, input);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* GetContractTxs returns contract-related transactions. Deprecated: use
|
|
274
|
+
* GetContractTxsV2 instead.
|
|
275
|
+
*
|
|
276
|
+
* @generated from protobuf rpc: GetContractTxs
|
|
277
|
+
*/
|
|
278
|
+
getContractTxs(input: GetContractTxsRequest, options?: RpcOptions): UnaryCall<GetContractTxsRequest, GetContractTxsResponse> {
|
|
279
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
280
|
+
return stackIntercept<GetContractTxsRequest, GetContractTxsResponse>("unary", this._transport, method, opt, input);
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* GetContractTxs returns contract-related transactions
|
|
284
|
+
*
|
|
285
|
+
* @generated from protobuf rpc: GetContractTxsV2
|
|
286
|
+
*/
|
|
287
|
+
getContractTxsV2(input: GetContractTxsV2Request, options?: RpcOptions): UnaryCall<GetContractTxsV2Request, GetContractTxsV2Response> {
|
|
288
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
289
|
+
return stackIntercept<GetContractTxsV2Request, GetContractTxsV2Response>("unary", this._transport, method, opt, input);
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* GetBlocks returns blocks based upon the request params. Deprecated: use
|
|
293
|
+
* GetBlocksV2 instead.
|
|
294
|
+
*
|
|
295
|
+
* @generated from protobuf rpc: GetBlocks
|
|
296
|
+
*/
|
|
297
|
+
getBlocks(input: GetBlocksRequest, options?: RpcOptions): UnaryCall<GetBlocksRequest, GetBlocksResponse> {
|
|
298
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
299
|
+
return stackIntercept<GetBlocksRequest, GetBlocksResponse>("unary", this._transport, method, opt, input);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* GetBlocks returns blocks based upon the request params
|
|
303
|
+
*
|
|
304
|
+
* @generated from protobuf rpc: GetBlocksV2
|
|
305
|
+
*/
|
|
306
|
+
getBlocksV2(input: GetBlocksV2Request, options?: RpcOptions): UnaryCall<GetBlocksV2Request, GetBlocksV2Response> {
|
|
307
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
308
|
+
return stackIntercept<GetBlocksV2Request, GetBlocksV2Response>("unary", this._transport, method, opt, input);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* GetBlock returns block based upon the height or hash
|
|
312
|
+
*
|
|
313
|
+
* @generated from protobuf rpc: GetBlock
|
|
314
|
+
*/
|
|
315
|
+
getBlock(input: GetBlockRequest, options?: RpcOptions): UnaryCall<GetBlockRequest, GetBlockResponse> {
|
|
316
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
317
|
+
return stackIntercept<GetBlockRequest, GetBlockResponse>("unary", this._transport, method, opt, input);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* GetValidators returns validators on the active chain
|
|
321
|
+
*
|
|
322
|
+
* @generated from protobuf rpc: GetValidators
|
|
323
|
+
*/
|
|
324
|
+
getValidators(input: GetValidatorsRequest, options?: RpcOptions): UnaryCall<GetValidatorsRequest, GetValidatorsResponse> {
|
|
325
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
326
|
+
return stackIntercept<GetValidatorsRequest, GetValidatorsResponse>("unary", this._transport, method, opt, input);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* GetValidator returns validator information on the active chain
|
|
330
|
+
*
|
|
331
|
+
* @generated from protobuf rpc: GetValidator
|
|
332
|
+
*/
|
|
333
|
+
getValidator(input: GetValidatorRequest, options?: RpcOptions): UnaryCall<GetValidatorRequest, GetValidatorResponse> {
|
|
334
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
335
|
+
return stackIntercept<GetValidatorRequest, GetValidatorResponse>("unary", this._transport, method, opt, input);
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* GetValidatorUptime returns validator uptime information on the active chain
|
|
339
|
+
*
|
|
340
|
+
* @generated from protobuf rpc: GetValidatorUptime
|
|
341
|
+
*/
|
|
342
|
+
getValidatorUptime(input: GetValidatorUptimeRequest, options?: RpcOptions): UnaryCall<GetValidatorUptimeRequest, GetValidatorUptimeResponse> {
|
|
343
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
344
|
+
return stackIntercept<GetValidatorUptimeRequest, GetValidatorUptimeResponse>("unary", this._transport, method, opt, input);
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* GetTxs returns transactions based upon the request params. Deprecated: use
|
|
348
|
+
* GetTxsV2 instead.
|
|
349
|
+
*
|
|
350
|
+
* @generated from protobuf rpc: GetTxs
|
|
351
|
+
*/
|
|
352
|
+
getTxs(input: GetTxsRequest, options?: RpcOptions): UnaryCall<GetTxsRequest, GetTxsResponse> {
|
|
353
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
354
|
+
return stackIntercept<GetTxsRequest, GetTxsResponse>("unary", this._transport, method, opt, input);
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* GetTxs returns transactions based upon the request params
|
|
358
|
+
*
|
|
359
|
+
* @generated from protobuf rpc: GetTxsV2
|
|
360
|
+
*/
|
|
361
|
+
getTxsV2(input: GetTxsV2Request, options?: RpcOptions): UnaryCall<GetTxsV2Request, GetTxsV2Response> {
|
|
362
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
363
|
+
return stackIntercept<GetTxsV2Request, GetTxsV2Response>("unary", this._transport, method, opt, input);
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* GetTxByTxHash returns certain transaction information by its tx hash.
|
|
367
|
+
*
|
|
368
|
+
* @generated from protobuf rpc: GetTxByTxHash
|
|
369
|
+
*/
|
|
370
|
+
getTxByTxHash(input: GetTxByTxHashRequest, options?: RpcOptions): UnaryCall<GetTxByTxHashRequest, GetTxByTxHashResponse> {
|
|
371
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
372
|
+
return stackIntercept<GetTxByTxHashRequest, GetTxByTxHashResponse>("unary", this._transport, method, opt, input);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* GetPeggyDepositTxs returns the peggy deposit transactions based upon the
|
|
376
|
+
* request params
|
|
377
|
+
*
|
|
378
|
+
* @generated from protobuf rpc: GetPeggyDepositTxs
|
|
379
|
+
*/
|
|
380
|
+
getPeggyDepositTxs(input: GetPeggyDepositTxsRequest, options?: RpcOptions): UnaryCall<GetPeggyDepositTxsRequest, GetPeggyDepositTxsResponse> {
|
|
381
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
382
|
+
return stackIntercept<GetPeggyDepositTxsRequest, GetPeggyDepositTxsResponse>("unary", this._transport, method, opt, input);
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon
|
|
386
|
+
* the request params
|
|
387
|
+
*
|
|
388
|
+
* @generated from protobuf rpc: GetPeggyWithdrawalTxs
|
|
389
|
+
*/
|
|
390
|
+
getPeggyWithdrawalTxs(input: GetPeggyWithdrawalTxsRequest, options?: RpcOptions): UnaryCall<GetPeggyWithdrawalTxsRequest, GetPeggyWithdrawalTxsResponse> {
|
|
391
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
392
|
+
return stackIntercept<GetPeggyWithdrawalTxsRequest, GetPeggyWithdrawalTxsResponse>("unary", this._transport, method, opt, input);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* GetIBCTransferTxs returns the ibc transfer transactions based upon the
|
|
396
|
+
* request params
|
|
397
|
+
*
|
|
398
|
+
* @generated from protobuf rpc: GetIBCTransferTxs
|
|
399
|
+
*/
|
|
400
|
+
getIBCTransferTxs(input: GetIBCTransferTxsRequest, options?: RpcOptions): UnaryCall<GetIBCTransferTxsRequest, GetIBCTransferTxsResponse> {
|
|
401
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
402
|
+
return stackIntercept<GetIBCTransferTxsRequest, GetIBCTransferTxsResponse>("unary", this._transport, method, opt, input);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* GetWasmCodes lists all stored code
|
|
406
|
+
*
|
|
407
|
+
* @generated from protobuf rpc: GetWasmCodes
|
|
408
|
+
*/
|
|
409
|
+
getWasmCodes(input: GetWasmCodesRequest, options?: RpcOptions): UnaryCall<GetWasmCodesRequest, GetWasmCodesResponse> {
|
|
410
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
411
|
+
return stackIntercept<GetWasmCodesRequest, GetWasmCodesResponse>("unary", this._transport, method, opt, input);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* GetWasmCodeById list cosmwasm code infor by ID
|
|
415
|
+
*
|
|
416
|
+
* @generated from protobuf rpc: GetWasmCodeByID
|
|
417
|
+
*/
|
|
418
|
+
getWasmCodeByID(input: GetWasmCodeByIDRequest, options?: RpcOptions): UnaryCall<GetWasmCodeByIDRequest, GetWasmCodeByIDResponse> {
|
|
419
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
420
|
+
return stackIntercept<GetWasmCodeByIDRequest, GetWasmCodeByIDResponse>("unary", this._transport, method, opt, input);
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* GetWasmContracts lists all contracts
|
|
424
|
+
*
|
|
425
|
+
* @generated from protobuf rpc: GetWasmContracts
|
|
426
|
+
*/
|
|
427
|
+
getWasmContracts(input: GetWasmContractsRequest, options?: RpcOptions): UnaryCall<GetWasmContractsRequest, GetWasmContractsResponse> {
|
|
428
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
429
|
+
return stackIntercept<GetWasmContractsRequest, GetWasmContractsResponse>("unary", this._transport, method, opt, input);
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* GetWasmContractByAddress list cosmwasm contract info by its address
|
|
433
|
+
*
|
|
434
|
+
* @generated from protobuf rpc: GetWasmContractByAddress
|
|
435
|
+
*/
|
|
436
|
+
getWasmContractByAddress(input: GetWasmContractByAddressRequest, options?: RpcOptions): UnaryCall<GetWasmContractByAddressRequest, GetWasmContractByAddressResponse> {
|
|
437
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
438
|
+
return stackIntercept<GetWasmContractByAddressRequest, GetWasmContractByAddressResponse>("unary", this._transport, method, opt, input);
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* GetCw20Balance lists all cw20 balances of an injective account
|
|
442
|
+
*
|
|
443
|
+
* @generated from protobuf rpc: GetCw20Balance
|
|
444
|
+
*/
|
|
445
|
+
getCw20Balance(input: GetCw20BalanceRequest, options?: RpcOptions): UnaryCall<GetCw20BalanceRequest, GetCw20BalanceResponse> {
|
|
446
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
447
|
+
return stackIntercept<GetCw20BalanceRequest, GetCw20BalanceResponse>("unary", this._transport, method, opt, input);
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Request relayers infos by marketIDs. If no ids are provided, all market with
|
|
451
|
+
* associated relayers are returned
|
|
452
|
+
*
|
|
453
|
+
* @generated from protobuf rpc: Relayers
|
|
454
|
+
*/
|
|
455
|
+
relayers(input: RelayersRequest, options?: RpcOptions): UnaryCall<RelayersRequest, RelayersResponse> {
|
|
456
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
457
|
+
return stackIntercept<RelayersRequest, RelayersResponse>("unary", this._transport, method, opt, input);
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* GetBankTransfers returns bank transfers.
|
|
461
|
+
*
|
|
462
|
+
* @generated from protobuf rpc: GetBankTransfers
|
|
463
|
+
*/
|
|
464
|
+
getBankTransfers(input: GetBankTransfersRequest, options?: RpcOptions): UnaryCall<GetBankTransfersRequest, GetBankTransfersResponse> {
|
|
465
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
466
|
+
return stackIntercept<GetBankTransfersRequest, GetBankTransfersResponse>("unary", this._transport, method, opt, input);
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* StreamTxs returns transactions based upon the request params
|
|
470
|
+
*
|
|
471
|
+
* @generated from protobuf rpc: StreamTxs
|
|
472
|
+
*/
|
|
473
|
+
streamTxs(input: StreamTxsRequest, options?: RpcOptions): ServerStreamingCall<StreamTxsRequest, StreamTxsResponse> {
|
|
474
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
475
|
+
return stackIntercept<StreamTxsRequest, StreamTxsResponse>("serverStreaming", this._transport, method, opt, input);
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* StreamBlocks returns the latest blocks
|
|
479
|
+
*
|
|
480
|
+
* @generated from protobuf rpc: StreamBlocks
|
|
481
|
+
*/
|
|
482
|
+
streamBlocks(input: StreamBlocksRequest, options?: RpcOptions): ServerStreamingCall<StreamBlocksRequest, StreamBlocksResponse> {
|
|
483
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
484
|
+
return stackIntercept<StreamBlocksRequest, StreamBlocksResponse>("serverStreaming", this._transport, method, opt, input);
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* GetStats returns global exchange statistics in the last 24hs
|
|
488
|
+
*
|
|
489
|
+
* @generated from protobuf rpc: GetStats
|
|
490
|
+
*/
|
|
491
|
+
getStats(input: GetStatsRequest, options?: RpcOptions): UnaryCall<GetStatsRequest, GetStatsResponse> {
|
|
492
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
493
|
+
return stackIntercept<GetStatsRequest, GetStatsResponse>("unary", this._transport, method, opt, input);
|
|
494
|
+
}
|
|
495
|
+
}
|