@uniswap/client-unirpc-v2 0.0.1 → 0.0.3

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.
@@ -0,0 +1,544 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3, Value } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from enum uniswap.unirpc.v2.Chain
5
+ */
6
+ export declare enum Chain {
7
+ /**
8
+ * @generated from enum value: CHAIN_UNSPECIFIED = 0;
9
+ */
10
+ UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: CHAIN_MAINNET = 1;
13
+ */
14
+ MAINNET = 1,
15
+ /**
16
+ * @generated from enum value: CHAIN_GOERLI = 5;
17
+ */
18
+ GOERLI = 5,
19
+ /**
20
+ * @generated from enum value: CHAIN_SEPOLIA = 11155111;
21
+ */
22
+ SEPOLIA = 11155111,
23
+ /**
24
+ * @generated from enum value: CHAIN_OPTIMISM = 10;
25
+ */
26
+ OPTIMISM = 10,
27
+ /**
28
+ * @generated from enum value: CHAIN_OPTIMISM_GOERLI = 420;
29
+ */
30
+ OPTIMISM_GOERLI = 420,
31
+ /**
32
+ * @generated from enum value: CHAIN_OPTIMISM_SEPOLIA = 11155420;
33
+ */
34
+ OPTIMISM_SEPOLIA = 11155420,
35
+ /**
36
+ * @generated from enum value: CHAIN_ARBITRUM_ONE = 42161;
37
+ */
38
+ ARBITRUM_ONE = 42161,
39
+ /**
40
+ * @generated from enum value: CHAIN_ARBITRUM_GOERLI = 421613;
41
+ */
42
+ ARBITRUM_GOERLI = 421613,
43
+ /**
44
+ * @generated from enum value: CHAIN_ARBITRUM_SEPOLIA = 421614;
45
+ */
46
+ ARBITRUM_SEPOLIA = 421614,
47
+ /**
48
+ * @generated from enum value: CHAIN_POLYGON = 137;
49
+ */
50
+ POLYGON = 137,
51
+ /**
52
+ * @generated from enum value: CHAIN_POLYGON_MUMBAI = 80001;
53
+ */
54
+ POLYGON_MUMBAI = 80001,
55
+ /**
56
+ * @generated from enum value: CHAIN_CELO = 42220;
57
+ */
58
+ CELO = 42220,
59
+ /**
60
+ * @generated from enum value: CHAIN_CELO_ALFAJORES = 44787;
61
+ */
62
+ CELO_ALFAJORES = 44787,
63
+ /**
64
+ * @generated from enum value: CHAIN_GNOSIS = 100;
65
+ */
66
+ GNOSIS = 100,
67
+ /**
68
+ * @generated from enum value: CHAIN_MOONBEAM = 1284;
69
+ */
70
+ MOONBEAM = 1284,
71
+ /**
72
+ * @generated from enum value: CHAIN_BNB = 56;
73
+ */
74
+ BNB = 56,
75
+ /**
76
+ * @generated from enum value: CHAIN_AVALANCHE = 43114;
77
+ */
78
+ AVALANCHE = 43114,
79
+ /**
80
+ * @generated from enum value: CHAIN_BASE_GOERLI = 84531;
81
+ */
82
+ BASE_GOERLI = 84531,
83
+ /**
84
+ * @generated from enum value: CHAIN_BASE = 8453;
85
+ */
86
+ BASE = 8453,
87
+ /**
88
+ * @generated from enum value: CHAIN_ZORA = 7777777;
89
+ */
90
+ ZORA = 7777777,
91
+ /**
92
+ * @generated from enum value: CHAIN_ZORA_SEPOLIA = 999999999;
93
+ */
94
+ ZORA_SEPOLIA = 999999999,
95
+ /**
96
+ * @generated from enum value: CHAIN_ROOTSTOCK = 30;
97
+ */
98
+ ROOTSTOCK = 30,
99
+ /**
100
+ * @generated from enum value: CHAIN_BLAST = 81457;
101
+ */
102
+ BLAST = 81457,
103
+ /**
104
+ * @generated from enum value: CHAIN_ZKSYNC = 324;
105
+ */
106
+ ZKSYNC = 324,
107
+ /**
108
+ * @generated from enum value: CHAIN_UNICHAIN = 130;
109
+ */
110
+ UNICHAIN = 130,
111
+ /**
112
+ * @generated from enum value: CHAIN_UNICHAIN_TESTNET = 1301;
113
+ */
114
+ UNICHAIN_TESTNET = 1301,
115
+ /**
116
+ * @generated from enum value: CHAIN_WORLDCHAIN = 480;
117
+ */
118
+ WORLDCHAIN = 480,
119
+ /**
120
+ * Deprecated, Id changed to CHAIN_MONAD_TESTNET_V2
121
+ *
122
+ * @generated from enum value: CHAIN_MONAD_TESTNET = 41454 [deprecated = true];
123
+ * @deprecated
124
+ */
125
+ MONAD_TESTNET = 41454,
126
+ /**
127
+ * @generated from enum value: CHAIN_MONAD_TESTNET_V2 = 10143;
128
+ */
129
+ MONAD_TESTNET_V2 = 10143,
130
+ /**
131
+ * @generated from enum value: CHAIN_BASE_SEPOLIA = 84532;
132
+ */
133
+ BASE_SEPOLIA = 84532,
134
+ /**
135
+ * @generated from enum value: CHAIN_SONEIUM = 1868;
136
+ */
137
+ SONEIUM = 1868,
138
+ /**
139
+ * @generated from enum value: CHAIN_MONAD = 143;
140
+ */
141
+ MONAD = 143,
142
+ /**
143
+ * @generated from enum value: CHAIN_XLAYER = 196;
144
+ */
145
+ XLAYER = 196,
146
+ /**
147
+ * @generated from enum value: CHAIN_MEGAETH = 4326;
148
+ */
149
+ MEGAETH = 4326,
150
+ /**
151
+ * @generated from enum value: CHAIN_TEMPO = 4217;
152
+ */
153
+ TEMPO = 4217,
154
+ /**
155
+ * @generated from enum value: CHAIN_LINEA = 59144;
156
+ */
157
+ LINEA = 59144
158
+ }
159
+ /**
160
+ * @generated from message uniswap.unirpc.v2.GasStrategy
161
+ */
162
+ export declare class GasStrategy extends Message<GasStrategy> {
163
+ /**
164
+ * @generated from field: optional double limit_inflation_factor = 1;
165
+ */
166
+ limitInflationFactor?: number;
167
+ /**
168
+ * @generated from field: optional double price_inflation_factor = 2;
169
+ */
170
+ priceInflationFactor?: number;
171
+ /**
172
+ * @generated from field: optional double percentile_threshold_for1559_fee = 3;
173
+ */
174
+ percentileThresholdFor1559Fee?: number;
175
+ /**
176
+ * @generated from field: optional double threshold_to_inflate_last_block_base_fee = 4;
177
+ */
178
+ thresholdToInflateLastBlockBaseFee?: number;
179
+ /**
180
+ * @generated from field: optional double base_fee_multiplier = 5;
181
+ */
182
+ baseFeeMultiplier?: number;
183
+ /**
184
+ * @generated from field: optional uint32 base_fee_history_window = 6;
185
+ */
186
+ baseFeeHistoryWindow?: number;
187
+ /**
188
+ * @generated from field: optional double min_priority_fee_ratio_of_base_fee = 7;
189
+ */
190
+ minPriorityFeeRatioOfBaseFee?: number;
191
+ /**
192
+ * @generated from field: optional double min_priority_fee_gwei = 8;
193
+ */
194
+ minPriorityFeeGwei?: number;
195
+ /**
196
+ * @generated from field: optional double max_priority_fee_gwei = 9;
197
+ */
198
+ maxPriorityFeeGwei?: number;
199
+ constructor(data?: PartialMessage<GasStrategy>);
200
+ static readonly runtime: typeof proto3;
201
+ static readonly typeName = "uniswap.unirpc.v2.GasStrategy";
202
+ static readonly fields: FieldList;
203
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GasStrategy;
204
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GasStrategy;
205
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GasStrategy;
206
+ static equals(a: GasStrategy | PlainMessage<GasStrategy> | undefined, b: GasStrategy | PlainMessage<GasStrategy> | undefined): boolean;
207
+ }
208
+ /**
209
+ * @generated from message uniswap.unirpc.v2.GasFeesBySpeed
210
+ */
211
+ export declare class GasFeesBySpeed extends Message<GasFeesBySpeed> {
212
+ /**
213
+ * @generated from field: optional string normal = 1;
214
+ */
215
+ normal?: string;
216
+ /**
217
+ * @generated from field: optional string fast = 2;
218
+ */
219
+ fast?: string;
220
+ /**
221
+ * @generated from field: optional string urgent = 3;
222
+ */
223
+ urgent?: string;
224
+ constructor(data?: PartialMessage<GasFeesBySpeed>);
225
+ static readonly runtime: typeof proto3;
226
+ static readonly typeName = "uniswap.unirpc.v2.GasFeesBySpeed";
227
+ static readonly fields: FieldList;
228
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GasFeesBySpeed;
229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GasFeesBySpeed;
230
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GasFeesBySpeed;
231
+ static equals(a: GasFeesBySpeed | PlainMessage<GasFeesBySpeed> | undefined, b: GasFeesBySpeed | PlainMessage<GasFeesBySpeed> | undefined): boolean;
232
+ }
233
+ /**
234
+ * @generated from message uniswap.unirpc.v2.GasEstimate
235
+ */
236
+ export declare class GasEstimate extends Message<GasEstimate> {
237
+ /**
238
+ * @generated from field: optional string type = 1;
239
+ */
240
+ type?: string;
241
+ /**
242
+ * @generated from field: optional uniswap.unirpc.v2.GasStrategy strategy = 2;
243
+ */
244
+ strategy?: GasStrategy;
245
+ /**
246
+ * @generated from field: optional string gas_limit = 3;
247
+ */
248
+ gasLimit?: string;
249
+ /**
250
+ * @generated from field: optional string gas_fee = 4;
251
+ */
252
+ gasFee?: string;
253
+ /**
254
+ * @generated from field: optional string gas_price = 5;
255
+ */
256
+ gasPrice?: string;
257
+ /**
258
+ * @generated from field: optional string max_priority_fee_per_gas = 6;
259
+ */
260
+ maxPriorityFeePerGas?: string;
261
+ /**
262
+ * @generated from field: optional string max_fee_per_gas = 7;
263
+ */
264
+ maxFeePerGas?: string;
265
+ constructor(data?: PartialMessage<GasEstimate>);
266
+ static readonly runtime: typeof proto3;
267
+ static readonly typeName = "uniswap.unirpc.v2.GasEstimate";
268
+ static readonly fields: FieldList;
269
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GasEstimate;
270
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GasEstimate;
271
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GasEstimate;
272
+ static equals(a: GasEstimate | PlainMessage<GasEstimate> | undefined, b: GasEstimate | PlainMessage<GasEstimate> | undefined): boolean;
273
+ }
274
+ /**
275
+ * StateOverrideItem is one account's state override for eth_simulateV1.
276
+ *
277
+ * @generated from message uniswap.unirpc.v2.StateOverrideItem
278
+ */
279
+ export declare class StateOverrideItem extends Message<StateOverrideItem> {
280
+ /**
281
+ * @generated from field: optional string balance = 1;
282
+ */
283
+ balance?: string;
284
+ /**
285
+ * @generated from field: optional string nonce = 2;
286
+ */
287
+ nonce?: string;
288
+ /**
289
+ * @generated from field: optional string code = 3;
290
+ */
291
+ code?: string;
292
+ /**
293
+ * @generated from field: map<string, string> state = 4;
294
+ */
295
+ state: {
296
+ [key: string]: string;
297
+ };
298
+ /**
299
+ * @generated from field: map<string, string> state_diff = 5;
300
+ */
301
+ stateDiff: {
302
+ [key: string]: string;
303
+ };
304
+ constructor(data?: PartialMessage<StateOverrideItem>);
305
+ static readonly runtime: typeof proto3;
306
+ static readonly typeName = "uniswap.unirpc.v2.StateOverrideItem";
307
+ static readonly fields: FieldList;
308
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StateOverrideItem;
309
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StateOverrideItem;
310
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StateOverrideItem;
311
+ static equals(a: StateOverrideItem | PlainMessage<StateOverrideItem> | undefined, b: StateOverrideItem | PlainMessage<StateOverrideItem> | undefined): boolean;
312
+ }
313
+ /**
314
+ * @generated from message uniswap.unirpc.v2.Call
315
+ */
316
+ export declare class Call extends Message<Call> {
317
+ /**
318
+ * @generated from field: optional string from = 1;
319
+ */
320
+ from?: string;
321
+ /**
322
+ * @generated from field: optional string to = 2;
323
+ */
324
+ to?: string;
325
+ /**
326
+ * @generated from field: optional string data = 3;
327
+ */
328
+ data?: string;
329
+ /**
330
+ * @generated from field: optional string value = 4;
331
+ */
332
+ value?: string;
333
+ constructor(data?: PartialMessage<Call>);
334
+ static readonly runtime: typeof proto3;
335
+ static readonly typeName = "uniswap.unirpc.v2.Call";
336
+ static readonly fields: FieldList;
337
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Call;
338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Call;
339
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Call;
340
+ static equals(a: Call | PlainMessage<Call> | undefined, b: Call | PlainMessage<Call> | undefined): boolean;
341
+ }
342
+ /**
343
+ * @generated from message uniswap.unirpc.v2.EstimateGasFeeRequest
344
+ */
345
+ export declare class EstimateGasFeeRequest extends Message<EstimateGasFeeRequest> {
346
+ /**
347
+ * @generated from field: optional int32 chain_id = 1;
348
+ */
349
+ chainId?: number;
350
+ /**
351
+ * @generated from field: optional string from = 2;
352
+ */
353
+ from?: string;
354
+ /**
355
+ * @generated from field: optional string to = 3;
356
+ */
357
+ to?: string;
358
+ /**
359
+ * @generated from field: optional string data = 4;
360
+ */
361
+ data?: string;
362
+ /**
363
+ * @generated from field: optional string value = 5;
364
+ */
365
+ value?: string;
366
+ /**
367
+ * @generated from field: optional string gas_limit = 6;
368
+ */
369
+ gasLimit?: string;
370
+ /**
371
+ * @generated from field: repeated uniswap.unirpc.v2.GasStrategy gas_strategies = 7;
372
+ */
373
+ gasStrategies: GasStrategy[];
374
+ /**
375
+ * @generated from field: optional string smart_contract_delegation_address = 8;
376
+ */
377
+ smartContractDelegationAddress?: string;
378
+ /**
379
+ * @generated from field: map<string, uniswap.unirpc.v2.StateOverrideItem> state_overrides = 9;
380
+ */
381
+ stateOverrides: {
382
+ [key: string]: StateOverrideItem;
383
+ };
384
+ /**
385
+ * @generated from field: repeated uniswap.unirpc.v2.Call preflight_calls = 10;
386
+ */
387
+ preflightCalls: Call[];
388
+ constructor(data?: PartialMessage<EstimateGasFeeRequest>);
389
+ static readonly runtime: typeof proto3;
390
+ static readonly typeName = "uniswap.unirpc.v2.EstimateGasFeeRequest";
391
+ static readonly fields: FieldList;
392
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EstimateGasFeeRequest;
393
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EstimateGasFeeRequest;
394
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EstimateGasFeeRequest;
395
+ static equals(a: EstimateGasFeeRequest | PlainMessage<EstimateGasFeeRequest> | undefined, b: EstimateGasFeeRequest | PlainMessage<EstimateGasFeeRequest> | undefined): boolean;
396
+ }
397
+ /**
398
+ * @generated from message uniswap.unirpc.v2.EstimateGasFeeResponse
399
+ */
400
+ export declare class EstimateGasFeeResponse extends Message<EstimateGasFeeResponse> {
401
+ /**
402
+ * @generated from field: optional string type = 1;
403
+ */
404
+ type?: string;
405
+ /**
406
+ * @generated from field: optional string gas_limit = 2;
407
+ */
408
+ gasLimit?: string;
409
+ /**
410
+ * @generated from field: optional uniswap.unirpc.v2.GasFeesBySpeed gas_fee = 3;
411
+ */
412
+ gasFee?: GasFeesBySpeed;
413
+ /**
414
+ * @generated from field: optional uniswap.unirpc.v2.GasFeesBySpeed gas_price = 4;
415
+ */
416
+ gasPrice?: GasFeesBySpeed;
417
+ /**
418
+ * @generated from field: optional uniswap.unirpc.v2.GasFeesBySpeed max_priority_fee_per_gas = 5;
419
+ */
420
+ maxPriorityFeePerGas?: GasFeesBySpeed;
421
+ /**
422
+ * @generated from field: optional uniswap.unirpc.v2.GasFeesBySpeed max_fee_per_gas = 6;
423
+ */
424
+ maxFeePerGas?: GasFeesBySpeed;
425
+ /**
426
+ * @generated from field: repeated uniswap.unirpc.v2.GasEstimate gas_estimates = 7;
427
+ */
428
+ gasEstimates: GasEstimate[];
429
+ constructor(data?: PartialMessage<EstimateGasFeeResponse>);
430
+ static readonly runtime: typeof proto3;
431
+ static readonly typeName = "uniswap.unirpc.v2.EstimateGasFeeResponse";
432
+ static readonly fields: FieldList;
433
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EstimateGasFeeResponse;
434
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EstimateGasFeeResponse;
435
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EstimateGasFeeResponse;
436
+ static equals(a: EstimateGasFeeResponse | PlainMessage<EstimateGasFeeResponse> | undefined, b: EstimateGasFeeResponse | PlainMessage<EstimateGasFeeResponse> | undefined): boolean;
437
+ }
438
+ /**
439
+ * @generated from message uniswap.unirpc.v2.UniRpcRequest
440
+ */
441
+ export declare class UniRpcRequest extends Message<UniRpcRequest> {
442
+ /**
443
+ * Standard JSON-RPC fields
444
+ *
445
+ * @generated from field: string jsonrpc = 1;
446
+ */
447
+ jsonrpc: string;
448
+ /**
449
+ * proto3 `optional` gives the field explicit presence so that id=0 is
450
+ * preserved on the wire. Without it, int32 defaults to 0 and proto3 JSON
451
+ * serialization omits default-value scalars — which drops the id entirely
452
+ * when clients (e.g. viem's http transport) start numbering at 0, breaking
453
+ * JSON-RPC id correlation on the upstream round-trip.
454
+ *
455
+ * @generated from field: optional int32 id = 2;
456
+ */
457
+ id?: number;
458
+ /**
459
+ * @generated from field: string method = 3;
460
+ */
461
+ method: string;
462
+ /**
463
+ * Params can be any valid JSON value.
464
+ *
465
+ * @generated from field: google.protobuf.Value params = 4;
466
+ */
467
+ params?: Value;
468
+ constructor(data?: PartialMessage<UniRpcRequest>);
469
+ static readonly runtime: typeof proto3;
470
+ static readonly typeName = "uniswap.unirpc.v2.UniRpcRequest";
471
+ static readonly fields: FieldList;
472
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniRpcRequest;
473
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniRpcRequest;
474
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniRpcRequest;
475
+ static equals(a: UniRpcRequest | PlainMessage<UniRpcRequest> | undefined, b: UniRpcRequest | PlainMessage<UniRpcRequest> | undefined): boolean;
476
+ }
477
+ /**
478
+ * @generated from message uniswap.unirpc.v2.UniRpcResponse
479
+ */
480
+ export declare class UniRpcResponse extends Message<UniRpcResponse> {
481
+ /**
482
+ * Standard JSON-RPC fields
483
+ *
484
+ * @generated from field: string jsonrpc = 1;
485
+ */
486
+ jsonrpc: string;
487
+ /**
488
+ * See UniRpcRequest.id — `optional` is required to preserve id=0 through
489
+ * proto3 JSON (de)serialization when echoing the id back to the client.
490
+ *
491
+ * @generated from field: optional int32 id = 2;
492
+ */
493
+ id?: number;
494
+ /**
495
+ * Result can be any valid JSON value
496
+ *
497
+ * @generated from field: google.protobuf.Value result = 3;
498
+ */
499
+ result?: Value;
500
+ /**
501
+ * @generated from field: uniswap.unirpc.v2.UniRpcError error = 4;
502
+ */
503
+ error?: UniRpcError;
504
+ /**
505
+ * UniRpc specific fields
506
+ * - returned as header
507
+ *
508
+ * @generated from field: google.protobuf.StringValue stickyId = 5;
509
+ */
510
+ stickyId?: string;
511
+ constructor(data?: PartialMessage<UniRpcResponse>);
512
+ static readonly runtime: typeof proto3;
513
+ static readonly typeName = "uniswap.unirpc.v2.UniRpcResponse";
514
+ static readonly fields: FieldList;
515
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniRpcResponse;
516
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniRpcResponse;
517
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniRpcResponse;
518
+ static equals(a: UniRpcResponse | PlainMessage<UniRpcResponse> | undefined, b: UniRpcResponse | PlainMessage<UniRpcResponse> | undefined): boolean;
519
+ }
520
+ /**
521
+ * @generated from message uniswap.unirpc.v2.UniRpcError
522
+ */
523
+ export declare class UniRpcError extends Message<UniRpcError> {
524
+ /**
525
+ * @generated from field: int32 code = 1;
526
+ */
527
+ code: number;
528
+ /**
529
+ * @generated from field: string message = 2;
530
+ */
531
+ message: string;
532
+ /**
533
+ * @generated from field: google.protobuf.Value data = 3;
534
+ */
535
+ data?: Value;
536
+ constructor(data?: PartialMessage<UniRpcError>);
537
+ static readonly runtime: typeof proto3;
538
+ static readonly typeName = "uniswap.unirpc.v2.UniRpcError";
539
+ static readonly fields: FieldList;
540
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UniRpcError;
541
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UniRpcError;
542
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UniRpcError;
543
+ static equals(a: UniRpcError | PlainMessage<UniRpcError> | undefined, b: UniRpcError | PlainMessage<UniRpcError> | undefined): boolean;
544
+ }