@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,224 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
2
|
+
// @generated from protobuf file "injective_archiver_rpc.proto" (package "injective_archiver_rpc", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
//
|
|
5
|
+
// Code generated with goa v3.7.0, DO NOT EDIT.
|
|
6
|
+
//
|
|
7
|
+
// InjectiveArchiverRPC 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 { InjectiveArchiverRPC } from "./injective_archiver_rpc_pb";
|
|
15
|
+
import type { StreamSpotAverageEntriesResponse } from "./injective_archiver_rpc_pb";
|
|
16
|
+
import type { StreamSpotAverageEntriesRequest } from "./injective_archiver_rpc_pb";
|
|
17
|
+
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
18
|
+
import type { HistoricalTradesResponse } from "./injective_archiver_rpc_pb";
|
|
19
|
+
import type { HistoricalTradesRequest } from "./injective_archiver_rpc_pb";
|
|
20
|
+
import type { DenomHoldersResponse } from "./injective_archiver_rpc_pb";
|
|
21
|
+
import type { DenomHoldersRequest } from "./injective_archiver_rpc_pb";
|
|
22
|
+
import type { VolLeaderboardFixedResolutionResponse } from "./injective_archiver_rpc_pb";
|
|
23
|
+
import type { VolLeaderboardFixedResolutionRequest } from "./injective_archiver_rpc_pb";
|
|
24
|
+
import type { PnlLeaderboardFixedResolutionResponse } from "./injective_archiver_rpc_pb";
|
|
25
|
+
import type { PnlLeaderboardFixedResolutionRequest } from "./injective_archiver_rpc_pb";
|
|
26
|
+
import type { VolLeaderboardResponse } from "./injective_archiver_rpc_pb";
|
|
27
|
+
import type { VolLeaderboardRequest } from "./injective_archiver_rpc_pb";
|
|
28
|
+
import type { PnlLeaderboardResponse } from "./injective_archiver_rpc_pb";
|
|
29
|
+
import type { PnlLeaderboardRequest } from "./injective_archiver_rpc_pb";
|
|
30
|
+
import type { VolumesResponse } from "./injective_archiver_rpc_pb";
|
|
31
|
+
import type { VolumesRequest } from "./injective_archiver_rpc_pb";
|
|
32
|
+
import type { RpnlResponse } from "./injective_archiver_rpc_pb";
|
|
33
|
+
import type { RpnlRequest } from "./injective_archiver_rpc_pb";
|
|
34
|
+
import type { AccountStatsResponse } from "./injective_archiver_rpc_pb";
|
|
35
|
+
import type { AccountStatsRequest } from "./injective_archiver_rpc_pb";
|
|
36
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
37
|
+
import type { BalanceResponse } from "./injective_archiver_rpc_pb";
|
|
38
|
+
import type { BalanceRequest } from "./injective_archiver_rpc_pb";
|
|
39
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
40
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
41
|
+
/**
|
|
42
|
+
* InjectiveArchiverRPC defines gRPC API of Archiver provider.
|
|
43
|
+
*
|
|
44
|
+
* @generated from protobuf service injective_archiver_rpc.InjectiveArchiverRPC
|
|
45
|
+
*/
|
|
46
|
+
export interface IInjectiveArchiverRPCClient {
|
|
47
|
+
/**
|
|
48
|
+
* Provide historical balance data for a given account address.
|
|
49
|
+
*
|
|
50
|
+
* @generated from protobuf rpc: Balance
|
|
51
|
+
*/
|
|
52
|
+
balance(input: BalanceRequest, options?: RpcOptions): UnaryCall<BalanceRequest, BalanceResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Provide all-time stats for a given account address.
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf rpc: AccountStats
|
|
57
|
+
*/
|
|
58
|
+
accountStats(input: AccountStatsRequest, options?: RpcOptions): UnaryCall<AccountStatsRequest, AccountStatsResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Provide historical realized profit and loss data for a given account address.
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf rpc: Rpnl
|
|
63
|
+
*/
|
|
64
|
+
rpnl(input: RpnlRequest, options?: RpcOptions): UnaryCall<RpnlRequest, RpnlResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Provide historical volumes for a given account address.
|
|
67
|
+
*
|
|
68
|
+
* @generated from protobuf rpc: Volumes
|
|
69
|
+
*/
|
|
70
|
+
volumes(input: VolumesRequest, options?: RpcOptions): UnaryCall<VolumesRequest, VolumesResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Provide pnl leaderboard data.
|
|
73
|
+
*
|
|
74
|
+
* @generated from protobuf rpc: PnlLeaderboard
|
|
75
|
+
*/
|
|
76
|
+
pnlLeaderboard(input: PnlLeaderboardRequest, options?: RpcOptions): UnaryCall<PnlLeaderboardRequest, PnlLeaderboardResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Provide volume leaderboard data.
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf rpc: VolLeaderboard
|
|
81
|
+
*/
|
|
82
|
+
volLeaderboard(input: VolLeaderboardRequest, options?: RpcOptions): UnaryCall<VolLeaderboardRequest, VolLeaderboardResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Provide pnl leaderboard data.
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf rpc: PnlLeaderboardFixedResolution
|
|
87
|
+
*/
|
|
88
|
+
pnlLeaderboardFixedResolution(input: PnlLeaderboardFixedResolutionRequest, options?: RpcOptions): UnaryCall<PnlLeaderboardFixedResolutionRequest, PnlLeaderboardFixedResolutionResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* Provide volume leaderboard data.
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf rpc: VolLeaderboardFixedResolution
|
|
93
|
+
*/
|
|
94
|
+
volLeaderboardFixedResolution(input: VolLeaderboardFixedResolutionRequest, options?: RpcOptions): UnaryCall<VolLeaderboardFixedResolutionRequest, VolLeaderboardFixedResolutionResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Provide a list of addresses holding a specific denom
|
|
97
|
+
*
|
|
98
|
+
* @generated from protobuf rpc: DenomHolders
|
|
99
|
+
*/
|
|
100
|
+
denomHolders(input: DenomHoldersRequest, options?: RpcOptions): UnaryCall<DenomHoldersRequest, DenomHoldersResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* Provide historical trades data.
|
|
103
|
+
*
|
|
104
|
+
* @generated from protobuf rpc: HistoricalTrades
|
|
105
|
+
*/
|
|
106
|
+
historicalTrades(input: HistoricalTradesRequest, options?: RpcOptions): UnaryCall<HistoricalTradesRequest, HistoricalTradesResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Stream spot markets average entries for a given account address.
|
|
109
|
+
*
|
|
110
|
+
* @generated from protobuf rpc: StreamSpotAverageEntries
|
|
111
|
+
*/
|
|
112
|
+
streamSpotAverageEntries(input: StreamSpotAverageEntriesRequest, options?: RpcOptions): ServerStreamingCall<StreamSpotAverageEntriesRequest, StreamSpotAverageEntriesResponse>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* InjectiveArchiverRPC defines gRPC API of Archiver provider.
|
|
116
|
+
*
|
|
117
|
+
* @generated from protobuf service injective_archiver_rpc.InjectiveArchiverRPC
|
|
118
|
+
*/
|
|
119
|
+
export class InjectiveArchiverRPCClient implements IInjectiveArchiverRPCClient, ServiceInfo {
|
|
120
|
+
typeName = InjectiveArchiverRPC.typeName;
|
|
121
|
+
methods = InjectiveArchiverRPC.methods;
|
|
122
|
+
options = InjectiveArchiverRPC.options;
|
|
123
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Provide historical balance data for a given account address.
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf rpc: Balance
|
|
129
|
+
*/
|
|
130
|
+
balance(input: BalanceRequest, options?: RpcOptions): UnaryCall<BalanceRequest, BalanceResponse> {
|
|
131
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
132
|
+
return stackIntercept<BalanceRequest, BalanceResponse>("unary", this._transport, method, opt, input);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Provide all-time stats for a given account address.
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf rpc: AccountStats
|
|
138
|
+
*/
|
|
139
|
+
accountStats(input: AccountStatsRequest, options?: RpcOptions): UnaryCall<AccountStatsRequest, AccountStatsResponse> {
|
|
140
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
141
|
+
return stackIntercept<AccountStatsRequest, AccountStatsResponse>("unary", this._transport, method, opt, input);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Provide historical realized profit and loss data for a given account address.
|
|
145
|
+
*
|
|
146
|
+
* @generated from protobuf rpc: Rpnl
|
|
147
|
+
*/
|
|
148
|
+
rpnl(input: RpnlRequest, options?: RpcOptions): UnaryCall<RpnlRequest, RpnlResponse> {
|
|
149
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
150
|
+
return stackIntercept<RpnlRequest, RpnlResponse>("unary", this._transport, method, opt, input);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Provide historical volumes for a given account address.
|
|
154
|
+
*
|
|
155
|
+
* @generated from protobuf rpc: Volumes
|
|
156
|
+
*/
|
|
157
|
+
volumes(input: VolumesRequest, options?: RpcOptions): UnaryCall<VolumesRequest, VolumesResponse> {
|
|
158
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
159
|
+
return stackIntercept<VolumesRequest, VolumesResponse>("unary", this._transport, method, opt, input);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Provide pnl leaderboard data.
|
|
163
|
+
*
|
|
164
|
+
* @generated from protobuf rpc: PnlLeaderboard
|
|
165
|
+
*/
|
|
166
|
+
pnlLeaderboard(input: PnlLeaderboardRequest, options?: RpcOptions): UnaryCall<PnlLeaderboardRequest, PnlLeaderboardResponse> {
|
|
167
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
168
|
+
return stackIntercept<PnlLeaderboardRequest, PnlLeaderboardResponse>("unary", this._transport, method, opt, input);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Provide volume leaderboard data.
|
|
172
|
+
*
|
|
173
|
+
* @generated from protobuf rpc: VolLeaderboard
|
|
174
|
+
*/
|
|
175
|
+
volLeaderboard(input: VolLeaderboardRequest, options?: RpcOptions): UnaryCall<VolLeaderboardRequest, VolLeaderboardResponse> {
|
|
176
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
177
|
+
return stackIntercept<VolLeaderboardRequest, VolLeaderboardResponse>("unary", this._transport, method, opt, input);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Provide pnl leaderboard data.
|
|
181
|
+
*
|
|
182
|
+
* @generated from protobuf rpc: PnlLeaderboardFixedResolution
|
|
183
|
+
*/
|
|
184
|
+
pnlLeaderboardFixedResolution(input: PnlLeaderboardFixedResolutionRequest, options?: RpcOptions): UnaryCall<PnlLeaderboardFixedResolutionRequest, PnlLeaderboardFixedResolutionResponse> {
|
|
185
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
186
|
+
return stackIntercept<PnlLeaderboardFixedResolutionRequest, PnlLeaderboardFixedResolutionResponse>("unary", this._transport, method, opt, input);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Provide volume leaderboard data.
|
|
190
|
+
*
|
|
191
|
+
* @generated from protobuf rpc: VolLeaderboardFixedResolution
|
|
192
|
+
*/
|
|
193
|
+
volLeaderboardFixedResolution(input: VolLeaderboardFixedResolutionRequest, options?: RpcOptions): UnaryCall<VolLeaderboardFixedResolutionRequest, VolLeaderboardFixedResolutionResponse> {
|
|
194
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
195
|
+
return stackIntercept<VolLeaderboardFixedResolutionRequest, VolLeaderboardFixedResolutionResponse>("unary", this._transport, method, opt, input);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Provide a list of addresses holding a specific denom
|
|
199
|
+
*
|
|
200
|
+
* @generated from protobuf rpc: DenomHolders
|
|
201
|
+
*/
|
|
202
|
+
denomHolders(input: DenomHoldersRequest, options?: RpcOptions): UnaryCall<DenomHoldersRequest, DenomHoldersResponse> {
|
|
203
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
204
|
+
return stackIntercept<DenomHoldersRequest, DenomHoldersResponse>("unary", this._transport, method, opt, input);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Provide historical trades data.
|
|
208
|
+
*
|
|
209
|
+
* @generated from protobuf rpc: HistoricalTrades
|
|
210
|
+
*/
|
|
211
|
+
historicalTrades(input: HistoricalTradesRequest, options?: RpcOptions): UnaryCall<HistoricalTradesRequest, HistoricalTradesResponse> {
|
|
212
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
213
|
+
return stackIntercept<HistoricalTradesRequest, HistoricalTradesResponse>("unary", this._transport, method, opt, input);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Stream spot markets average entries for a given account address.
|
|
217
|
+
*
|
|
218
|
+
* @generated from protobuf rpc: StreamSpotAverageEntries
|
|
219
|
+
*/
|
|
220
|
+
streamSpotAverageEntries(input: StreamSpotAverageEntriesRequest, options?: RpcOptions): ServerStreamingCall<StreamSpotAverageEntriesRequest, StreamSpotAverageEntriesResponse> {
|
|
221
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
222
|
+
return stackIntercept<StreamSpotAverageEntriesRequest, StreamSpotAverageEntriesResponse>("serverStreaming", this._transport, method, opt, input);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { InjectiveArchiverRPC } from "./injective_archiver_rpc_pb.js";
|
|
2
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
class InjectiveArchiverRPCClient {
|
|
4
|
+
constructor(_transport) {
|
|
5
|
+
this._transport = _transport;
|
|
6
|
+
this.typeName = InjectiveArchiverRPC.typeName;
|
|
7
|
+
this.methods = InjectiveArchiverRPC.methods;
|
|
8
|
+
this.options = InjectiveArchiverRPC.options;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Provide historical balance data for a given account address.
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf rpc: Balance
|
|
14
|
+
*/
|
|
15
|
+
balance(input, options) {
|
|
16
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
17
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Provide all-time stats for a given account address.
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf rpc: AccountStats
|
|
23
|
+
*/
|
|
24
|
+
accountStats(input, options) {
|
|
25
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
26
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Provide historical realized profit and loss data for a given account address.
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf rpc: Rpnl
|
|
32
|
+
*/
|
|
33
|
+
rpnl(input, options) {
|
|
34
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
35
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Provide historical volumes for a given account address.
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: Volumes
|
|
41
|
+
*/
|
|
42
|
+
volumes(input, options) {
|
|
43
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
44
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Provide pnl leaderboard data.
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf rpc: PnlLeaderboard
|
|
50
|
+
*/
|
|
51
|
+
pnlLeaderboard(input, options) {
|
|
52
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
53
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Provide volume leaderboard data.
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf rpc: VolLeaderboard
|
|
59
|
+
*/
|
|
60
|
+
volLeaderboard(input, options) {
|
|
61
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
62
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Provide pnl leaderboard data.
|
|
66
|
+
*
|
|
67
|
+
* @generated from protobuf rpc: PnlLeaderboardFixedResolution
|
|
68
|
+
*/
|
|
69
|
+
pnlLeaderboardFixedResolution(input, options) {
|
|
70
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
71
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Provide volume leaderboard data.
|
|
75
|
+
*
|
|
76
|
+
* @generated from protobuf rpc: VolLeaderboardFixedResolution
|
|
77
|
+
*/
|
|
78
|
+
volLeaderboardFixedResolution(input, options) {
|
|
79
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
80
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Provide a list of addresses holding a specific denom
|
|
84
|
+
*
|
|
85
|
+
* @generated from protobuf rpc: DenomHolders
|
|
86
|
+
*/
|
|
87
|
+
denomHolders(input, options) {
|
|
88
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
89
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Provide historical trades data.
|
|
93
|
+
*
|
|
94
|
+
* @generated from protobuf rpc: HistoricalTrades
|
|
95
|
+
*/
|
|
96
|
+
historicalTrades(input, options) {
|
|
97
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
98
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Stream spot markets average entries for a given account address.
|
|
102
|
+
*
|
|
103
|
+
* @generated from protobuf rpc: StreamSpotAverageEntries
|
|
104
|
+
*/
|
|
105
|
+
streamSpotAverageEntries(input, options) {
|
|
106
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
107
|
+
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
InjectiveArchiverRPCClient
|
|
112
|
+
};
|