@mysten/sui 2.22.1 → 2.23.1
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/CHANGELOG.md +38 -0
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/bcs/bcs.d.mts.map +1 -1
- package/dist/bcs/bcs.mjs +1 -19
- package/dist/bcs/bcs.mjs.map +1 -1
- package/dist/bcs/index.d.mts +3812 -906
- package/dist/bcs/index.d.mts.map +1 -1
- package/dist/bcs/index.mjs +2 -1
- package/dist/bcs/index.mjs.map +1 -1
- package/dist/bcs/transactions.mjs +147 -0
- package/dist/bcs/transactions.mjs.map +1 -0
- package/dist/client/core-resolver.mjs +2 -1
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/client/core.d.mts +2 -0
- package/dist/client/core.d.mts.map +1 -1
- package/dist/client/core.mjs.map +1 -1
- package/dist/client/query-filters.mjs +119 -0
- package/dist/client/query-filters.mjs.map +1 -0
- package/dist/client/types.d.mts +166 -1
- package/dist/client/types.d.mts.map +1 -1
- package/dist/client/utils.d.mts.map +1 -1
- package/dist/client/utils.mjs +13 -1
- package/dist/client/utils.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +6 -6
- package/dist/graphql/client.d.mts +15 -2
- package/dist/graphql/client.d.mts.map +1 -1
- package/dist/graphql/client.mjs +6 -0
- package/dist/graphql/client.mjs.map +1 -1
- package/dist/graphql/core.d.mts +5 -1
- package/dist/graphql/core.d.mts.map +1 -1
- package/dist/graphql/core.mjs +85 -3
- package/dist/graphql/core.mjs.map +1 -1
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs +137 -1
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +108 -0
- package/dist/graphql/index.d.mts +2 -2
- package/dist/grpc/client.d.mts +11 -0
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +6 -0
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts +5 -1
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +100 -2
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/filters.mjs +45 -0
- package/dist/grpc/filters.mjs.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/event.d.mts +31 -0
- package/dist/grpc/proto/sui/rpc/v2/event.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/event.mjs +30 -0
- package/dist/grpc/proto/sui/rpc/v2/event.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +7 -0
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs +8 -0
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/filter.d.mts +423 -0
- package/dist/grpc/proto/sui/rpc/v2/filter.d.mts.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/filter.mjs +297 -0
- package/dist/grpc/proto/sui/rpc/v2/filter.mjs.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +62 -6
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.mjs +37 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +293 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +241 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/protocol_config.d.mts +15 -2
- package/dist/grpc/proto/sui/rpc/v2/protocol_config.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/protocol_config.mjs +11 -0
- package/dist/grpc/proto/sui/rpc/v2/protocol_config.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +211 -0
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +163 -0
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +105 -23
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +56 -9
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.d.mts +148 -8
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.mjs +109 -8
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.mts +4 -4
- package/dist/grpc/proto/types.d.mts +5 -3
- package/dist/grpc/proto/types.mjs +33 -2
- package/dist/grpc/proto/types.mjs.map +1 -1
- package/dist/jsonRpc/core.d.mts +10 -0
- package/dist/jsonRpc/core.d.mts.map +1 -1
- package/dist/jsonRpc/core.mjs +85 -2
- package/dist/jsonRpc/core.mjs.map +1 -1
- package/dist/transactions/Transaction.d.mts +9 -9
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/intents/CoinWithBalance.mjs +14 -18
- package/dist/transactions/intents/CoinWithBalance.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/dist/zklogin/bcs.d.mts.map +1 -1
- package/docs/clients/core.md +115 -1
- package/docs/clients/grpc.md +68 -0
- package/docs/migrations/sui-2.0/json-rpc-migration.md +104 -101
- package/package.json +2 -2
- package/src/bcs/bcs.ts +0 -27
- package/src/bcs/index.ts +7 -5
- package/src/bcs/transactions.ts +226 -0
- package/src/client/core-resolver.ts +5 -1
- package/src/client/core.ts +8 -0
- package/src/client/query-filters.ts +195 -0
- package/src/client/types.ts +186 -1
- package/src/client/utils.ts +13 -0
- package/src/graphql/client.ts +25 -1
- package/src/graphql/core.ts +143 -3
- package/src/graphql/generated/queries.ts +226 -0
- package/src/graphql/generated/schema.graphql +75 -0
- package/src/graphql/generated/tada-env.ts +133 -0
- package/src/graphql/index.ts +1 -0
- package/src/graphql/queries/listEvents.graphql +40 -0
- package/src/graphql/queries/transactions.graphql +26 -0
- package/src/grpc/client.ts +19 -0
- package/src/grpc/core.ts +187 -3
- package/src/grpc/filters.ts +68 -0
- package/src/grpc/proto/sui/rpc/v2/event.ts +49 -0
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +15 -0
- package/src/grpc/proto/sui/rpc/v2/filter.ts +589 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +111 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +406 -0
- package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +22 -2
- package/src/grpc/proto/sui/rpc/v2/query_options.ts +255 -0
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +136 -18
- package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +187 -7
- package/src/grpc/proto/types.ts +2 -0
- package/src/jsonRpc/core.ts +136 -2
- package/src/transactions/intents/CoinWithBalance.ts +41 -41
- package/src/version.ts +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Object as Object$1 } from "./object.mjs";
|
|
2
2
|
import { Timestamp } from "../../../google/protobuf/timestamp.mjs";
|
|
3
|
+
import { Event } from "./event.mjs";
|
|
3
4
|
import { ExecutedTransaction } from "./executed_transaction.mjs";
|
|
4
5
|
import { FieldMask } from "../../../google/protobuf/field_mask.mjs";
|
|
6
|
+
import { EventFilter, TransactionFilter } from "./filter.mjs";
|
|
7
|
+
import { QueryEnd, QueryOptions, Watermark } from "./query_options.mjs";
|
|
5
8
|
import { Epoch } from "./epoch.mjs";
|
|
6
9
|
import { Checkpoint } from "./checkpoint.mjs";
|
|
7
10
|
import { Status } from "../../../google/rpc/status.mjs";
|
|
@@ -302,6 +305,253 @@ interface GetEpochResponse {
|
|
|
302
305
|
*/
|
|
303
306
|
epoch?: Epoch;
|
|
304
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* Request message for LedgerService.ListCheckpoints.
|
|
310
|
+
*
|
|
311
|
+
* @generated from protobuf message sui.rpc.v2.ListCheckpointsRequest
|
|
312
|
+
*/
|
|
313
|
+
interface ListCheckpointsRequest {
|
|
314
|
+
/**
|
|
315
|
+
* Optional. Mask for specifying which parts of the Checkpoint should be
|
|
316
|
+
* returned (e.g. summary, contents, signatures).
|
|
317
|
+
*
|
|
318
|
+
* @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;
|
|
319
|
+
*/
|
|
320
|
+
readMask?: FieldMask;
|
|
321
|
+
/**
|
|
322
|
+
* Optional. Start of the checkpoint range to query (inclusive). Defaults to
|
|
323
|
+
* genesis.
|
|
324
|
+
*
|
|
325
|
+
* @generated from protobuf field: optional uint64 start_checkpoint = 2;
|
|
326
|
+
*/
|
|
327
|
+
startCheckpoint?: bigint;
|
|
328
|
+
/**
|
|
329
|
+
* Optional. End of the checkpoint range to query (exclusive). Defaults to the
|
|
330
|
+
* current indexed ledger tip.
|
|
331
|
+
*
|
|
332
|
+
* @generated from protobuf field: optional uint64 end_checkpoint = 3;
|
|
333
|
+
*/
|
|
334
|
+
endCheckpoint?: bigint;
|
|
335
|
+
/**
|
|
336
|
+
* Optional. DNF filter over indexed transaction dimensions. A checkpoint
|
|
337
|
+
* matches if any transaction it contains satisfies the filter. If absent,
|
|
338
|
+
* all checkpoints in the range are returned.
|
|
339
|
+
*
|
|
340
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;
|
|
341
|
+
*/
|
|
342
|
+
filter?: TransactionFilter;
|
|
343
|
+
/**
|
|
344
|
+
* Optional cursor-bounded query options. If unspecified, reads in ascending
|
|
345
|
+
* order with the default item limit. The server enforces a maximum item
|
|
346
|
+
* limit and silently coerces larger values down to it. To paginate, pass
|
|
347
|
+
* the last received `Watermark.cursor` as `options.after` (ascending) or
|
|
348
|
+
* `options.before` (descending) on the next request.
|
|
349
|
+
*
|
|
350
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;
|
|
351
|
+
*/
|
|
352
|
+
options?: QueryOptions;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Response message for LedgerService.ListCheckpoints.
|
|
356
|
+
*
|
|
357
|
+
* Every frame carries a `watermark` with a safe resume cursor. A frame
|
|
358
|
+
* with `checkpoint` set delivers one matching item; a frame without it reports
|
|
359
|
+
* scan progress or terminal completion. Watermarks never regress in the
|
|
360
|
+
* requested ordering but may repeat.
|
|
361
|
+
*
|
|
362
|
+
* `end` is set exactly once, on the final frame of a successful stream. For
|
|
363
|
+
* `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For
|
|
364
|
+
* every other end reason, the final frame has no `checkpoint` payload.
|
|
365
|
+
*
|
|
366
|
+
* @generated from protobuf message sui.rpc.v2.ListCheckpointsResponse
|
|
367
|
+
*/
|
|
368
|
+
interface ListCheckpointsResponse {
|
|
369
|
+
/**
|
|
370
|
+
* One matching checkpoint.
|
|
371
|
+
*
|
|
372
|
+
* @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;
|
|
373
|
+
*/
|
|
374
|
+
checkpoint?: Checkpoint;
|
|
375
|
+
/**
|
|
376
|
+
* Progress watermark as of this frame. Present on every frame. A
|
|
377
|
+
* ScanLimit terminal watermark may repeat the previous frame's cursor when
|
|
378
|
+
* its authoritative scan frontier was already emitted.
|
|
379
|
+
*
|
|
380
|
+
* @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;
|
|
381
|
+
*/
|
|
382
|
+
watermark?: Watermark;
|
|
383
|
+
/**
|
|
384
|
+
* Set exactly once, on the final frame of a successful query stream.
|
|
385
|
+
*
|
|
386
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;
|
|
387
|
+
*/
|
|
388
|
+
end?: QueryEnd;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Request message for LedgerService.ListTransactions.
|
|
392
|
+
*
|
|
393
|
+
* @generated from protobuf message sui.rpc.v2.ListTransactionsRequest
|
|
394
|
+
*/
|
|
395
|
+
interface ListTransactionsRequest {
|
|
396
|
+
/**
|
|
397
|
+
* Optional. Mask for specifying which parts of the ExecutedTransaction
|
|
398
|
+
* should be returned.
|
|
399
|
+
*
|
|
400
|
+
* @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;
|
|
401
|
+
*/
|
|
402
|
+
readMask?: FieldMask;
|
|
403
|
+
/**
|
|
404
|
+
* Optional. Start of the checkpoint range to query (inclusive). Defaults to
|
|
405
|
+
* genesis.
|
|
406
|
+
*
|
|
407
|
+
* @generated from protobuf field: optional uint64 start_checkpoint = 2;
|
|
408
|
+
*/
|
|
409
|
+
startCheckpoint?: bigint;
|
|
410
|
+
/**
|
|
411
|
+
* Optional. End of the checkpoint range to query (exclusive). Defaults to the
|
|
412
|
+
* current indexed ledger tip.
|
|
413
|
+
*
|
|
414
|
+
* @generated from protobuf field: optional uint64 end_checkpoint = 3;
|
|
415
|
+
*/
|
|
416
|
+
endCheckpoint?: bigint;
|
|
417
|
+
/**
|
|
418
|
+
* Optional. DNF filter over indexed dimensions.
|
|
419
|
+
* If absent, all transactions in the range are returned.
|
|
420
|
+
*
|
|
421
|
+
* @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;
|
|
422
|
+
*/
|
|
423
|
+
filter?: TransactionFilter;
|
|
424
|
+
/**
|
|
425
|
+
* Optional cursor-bounded query options. If unspecified, reads in ascending
|
|
426
|
+
* order with the default item limit. The server enforces a maximum item
|
|
427
|
+
* limit and silently coerces larger values down to it. To paginate, pass
|
|
428
|
+
* the last received `Watermark.cursor` as `options.after` (ascending) or
|
|
429
|
+
* `options.before` (descending) on the next request.
|
|
430
|
+
*
|
|
431
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;
|
|
432
|
+
*/
|
|
433
|
+
options?: QueryOptions;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Response message for LedgerService.ListTransactions.
|
|
437
|
+
*
|
|
438
|
+
* Every frame carries a `watermark` with a safe resume cursor. A frame
|
|
439
|
+
* with `transaction` set delivers one matching item; a frame without it reports
|
|
440
|
+
* scan progress or terminal completion. Watermarks never regress in the
|
|
441
|
+
* requested ordering but may repeat.
|
|
442
|
+
*
|
|
443
|
+
* `end` is set exactly once, on the final frame of a successful stream. For
|
|
444
|
+
* `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For
|
|
445
|
+
* every other end reason, the final frame has no `transaction` payload.
|
|
446
|
+
*
|
|
447
|
+
* @generated from protobuf message sui.rpc.v2.ListTransactionsResponse
|
|
448
|
+
*/
|
|
449
|
+
interface ListTransactionsResponse {
|
|
450
|
+
/**
|
|
451
|
+
* One matching transaction. Its position within the containing checkpoint
|
|
452
|
+
* is reported by `ExecutedTransaction.transaction_index`.
|
|
453
|
+
*
|
|
454
|
+
* @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;
|
|
455
|
+
*/
|
|
456
|
+
transaction?: ExecutedTransaction;
|
|
457
|
+
/**
|
|
458
|
+
* Progress watermark as of this frame. Present on every frame. A
|
|
459
|
+
* ScanLimit terminal watermark may repeat the previous frame's cursor when
|
|
460
|
+
* its authoritative scan frontier was already emitted.
|
|
461
|
+
*
|
|
462
|
+
* @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;
|
|
463
|
+
*/
|
|
464
|
+
watermark?: Watermark;
|
|
465
|
+
/**
|
|
466
|
+
* Set exactly once, on the final frame of a successful query stream.
|
|
467
|
+
*
|
|
468
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;
|
|
469
|
+
*/
|
|
470
|
+
end?: QueryEnd;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Request message for LedgerService.ListEvents.
|
|
474
|
+
*
|
|
475
|
+
* @generated from protobuf message sui.rpc.v2.ListEventsRequest
|
|
476
|
+
*/
|
|
477
|
+
interface ListEventsRequest {
|
|
478
|
+
/**
|
|
479
|
+
* Optional. Mask for specifying which parts of the Event should be returned.
|
|
480
|
+
*
|
|
481
|
+
* @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;
|
|
482
|
+
*/
|
|
483
|
+
readMask?: FieldMask;
|
|
484
|
+
/**
|
|
485
|
+
* Optional. Start of the checkpoint range to query (inclusive). Defaults to
|
|
486
|
+
* genesis.
|
|
487
|
+
*
|
|
488
|
+
* @generated from protobuf field: optional uint64 start_checkpoint = 2;
|
|
489
|
+
*/
|
|
490
|
+
startCheckpoint?: bigint;
|
|
491
|
+
/**
|
|
492
|
+
* Optional. End of the checkpoint range to query (exclusive). Defaults to the
|
|
493
|
+
* current indexed ledger tip.
|
|
494
|
+
*
|
|
495
|
+
* @generated from protobuf field: optional uint64 end_checkpoint = 3;
|
|
496
|
+
*/
|
|
497
|
+
endCheckpoint?: bigint;
|
|
498
|
+
/**
|
|
499
|
+
* Optional. DNF filter over indexed dimensions.
|
|
500
|
+
* If absent, all events in the range are returned.
|
|
501
|
+
*
|
|
502
|
+
* @generated from protobuf field: optional sui.rpc.v2.EventFilter filter = 4;
|
|
503
|
+
*/
|
|
504
|
+
filter?: EventFilter;
|
|
505
|
+
/**
|
|
506
|
+
* Optional cursor-bounded query options. If unspecified, reads in ascending
|
|
507
|
+
* order with the default item limit. The server enforces a maximum item
|
|
508
|
+
* limit and silently coerces larger values down to it. To paginate, pass
|
|
509
|
+
* the last received `Watermark.cursor` as `options.after` (ascending) or
|
|
510
|
+
* `options.before` (descending) on the next request.
|
|
511
|
+
*
|
|
512
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;
|
|
513
|
+
*/
|
|
514
|
+
options?: QueryOptions;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Response message for LedgerService.ListEvents.
|
|
518
|
+
*
|
|
519
|
+
* Every frame carries a `watermark` with a safe resume cursor. A frame
|
|
520
|
+
* with `event` set delivers one matching item; a frame without it reports scan
|
|
521
|
+
* progress or terminal completion. Watermarks never regress in the requested
|
|
522
|
+
* ordering but may repeat.
|
|
523
|
+
*
|
|
524
|
+
* `end` is set exactly once, on the final frame of a successful stream. For
|
|
525
|
+
* `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For
|
|
526
|
+
* every other end reason, the final frame has no `event` payload.
|
|
527
|
+
*
|
|
528
|
+
* @generated from protobuf message sui.rpc.v2.ListEventsResponse
|
|
529
|
+
*/
|
|
530
|
+
interface ListEventsResponse {
|
|
531
|
+
/**
|
|
532
|
+
* One matching event. Its ledger position -- containing checkpoint,
|
|
533
|
+
* emitting transaction digest and offset, and index within that
|
|
534
|
+
* transaction's event list -- is reported by the corresponding fields on
|
|
535
|
+
* `Event`.
|
|
536
|
+
*
|
|
537
|
+
* @generated from protobuf field: optional sui.rpc.v2.Event event = 1;
|
|
538
|
+
*/
|
|
539
|
+
event?: Event;
|
|
540
|
+
/**
|
|
541
|
+
* Progress watermark as of this frame. Present on every frame. A
|
|
542
|
+
* ScanLimit terminal watermark may repeat the previous frame's cursor when
|
|
543
|
+
* its authoritative scan frontier was already emitted.
|
|
544
|
+
*
|
|
545
|
+
* @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;
|
|
546
|
+
*/
|
|
547
|
+
watermark?: Watermark;
|
|
548
|
+
/**
|
|
549
|
+
* Set exactly once, on the final frame of a successful query stream.
|
|
550
|
+
*
|
|
551
|
+
* @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;
|
|
552
|
+
*/
|
|
553
|
+
end?: QueryEnd;
|
|
554
|
+
}
|
|
305
555
|
declare class GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {
|
|
306
556
|
constructor();
|
|
307
557
|
}
|
|
@@ -414,10 +664,52 @@ declare class GetEpochResponse$Type extends MessageType<GetEpochResponse> {
|
|
|
414
664
|
* @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse
|
|
415
665
|
*/
|
|
416
666
|
declare const GetEpochResponse: GetEpochResponse$Type;
|
|
667
|
+
declare class ListCheckpointsRequest$Type extends MessageType<ListCheckpointsRequest> {
|
|
668
|
+
constructor();
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsRequest
|
|
672
|
+
*/
|
|
673
|
+
declare const ListCheckpointsRequest: ListCheckpointsRequest$Type;
|
|
674
|
+
declare class ListCheckpointsResponse$Type extends MessageType<ListCheckpointsResponse> {
|
|
675
|
+
constructor();
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsResponse
|
|
679
|
+
*/
|
|
680
|
+
declare const ListCheckpointsResponse: ListCheckpointsResponse$Type;
|
|
681
|
+
declare class ListTransactionsRequest$Type extends MessageType<ListTransactionsRequest> {
|
|
682
|
+
constructor();
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsRequest
|
|
686
|
+
*/
|
|
687
|
+
declare const ListTransactionsRequest: ListTransactionsRequest$Type;
|
|
688
|
+
declare class ListTransactionsResponse$Type extends MessageType<ListTransactionsResponse> {
|
|
689
|
+
constructor();
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsResponse
|
|
693
|
+
*/
|
|
694
|
+
declare const ListTransactionsResponse: ListTransactionsResponse$Type;
|
|
695
|
+
declare class ListEventsRequest$Type extends MessageType<ListEventsRequest> {
|
|
696
|
+
constructor();
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListEventsRequest
|
|
700
|
+
*/
|
|
701
|
+
declare const ListEventsRequest: ListEventsRequest$Type;
|
|
702
|
+
declare class ListEventsResponse$Type extends MessageType<ListEventsResponse> {
|
|
703
|
+
constructor();
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListEventsResponse
|
|
707
|
+
*/
|
|
708
|
+
declare const ListEventsResponse: ListEventsResponse$Type;
|
|
417
709
|
/**
|
|
418
710
|
* @generated ServiceType for protobuf service sui.rpc.v2.LedgerService
|
|
419
711
|
*/
|
|
420
712
|
declare const LedgerService: ServiceType;
|
|
421
713
|
//#endregion
|
|
422
|
-
export { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, LedgerService };
|
|
714
|
+
export { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, LedgerService, ListCheckpointsRequest, ListCheckpointsResponse, ListEventsRequest, ListEventsResponse, ListTransactionsRequest, ListTransactionsResponse };
|
|
423
715
|
//# sourceMappingURL=ledger_service.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ledger_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"mappings":";;;;;;;;;;;;;;;;;UA6BiB,qBAAA;;;;UAIA,sBAAA;EAiBhB;;;;;;;;EARA,OAAA;EA4CM;AAKP;;;;;;EAzCC,KAAA;EA8DW;;;AAKZ;;EA7DC,KAAA;EAiEA;;AAKD;;;EAhEC,gBAAA;EAoEA;;;;;EA9DA,SAAA,GAAY,SAAA;EA0EI;;;;;EApEhB,yBAAA;EA6E+B;;;;;EAvE/B,gCAAA;EAiFW;;;;;EA3EX,MAAA;AAAA;AA2FD;;;AAAA,UAtFiB,gBAAA;EA4FhB;;;;;EAtFA,QAAA;EAkGsC;;;;AASvC;;;EAnGC,OAAA;EAyGA;;;;;AAYD;EA9GC,QAAA,GAAW,SAAA;AAAA;;;AAuHZ;UAlHiB,iBAAA;;;;EAIhB,MAAA,GAAS,QAAA;AAAA;;;;UAKO,sBAAA;EA6Hb;;;EAzHH,QAAA,EAAU,gBAAA;EA+H0B;;;;;;EAxHpC,QAAA,GAAW,SAAA;AAAA;;;;UAKK,uBAAA;EAmJI;AAKrB;;EApJC,OAAA,EAAS,eAAA;AAAA;;AA6JV;;UAxJiB,eAAA;EAsKI;;;EAlKpB,MAAA;IAEG,SAAA;IAgKiB;AAKrB;;IAjKI,MAAA,EAAQ,QAAA;EAAA;IAGR,SAAA;IAyKa;;;IArKb,KAAA,EAAO,MAAA;EAAA;IAGP,SAAA;EAAA;AAAA;;;;UAMa,qBAAA;EAyLhB;;;;;EAnLA,MAAA;EA6MgB;;;;;;EAtMhB,QAAA,GAAW,SAAA;AAAA;;;;UAKK,sBAAA;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A;AAAA,cAExB,uBAAA,SAAgC,WAAA,CAAY,kBAAA;;;;;;cAYrC,kBAAA,EAAkB,uBAAA;;;;cAIlB,aAAA,EAAa,WAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Object as Object$1 } from "./object.mjs";
|
|
2
2
|
import { Timestamp } from "../../../google/protobuf/timestamp.mjs";
|
|
3
|
+
import { Event } from "./event.mjs";
|
|
3
4
|
import { ExecutedTransaction } from "./executed_transaction.mjs";
|
|
4
5
|
import { FieldMask } from "../../../google/protobuf/field_mask.mjs";
|
|
6
|
+
import { EventFilter, TransactionFilter } from "./filter.mjs";
|
|
7
|
+
import { QueryEnd, QueryOptions, Watermark } from "./query_options.mjs";
|
|
5
8
|
import { Epoch } from "./epoch.mjs";
|
|
6
9
|
import { Checkpoint } from "./checkpoint.mjs";
|
|
7
10
|
import { Status } from "../../../google/rpc/status.mjs";
|
|
@@ -358,6 +361,222 @@ var GetEpochResponse$Type = class extends MessageType {
|
|
|
358
361
|
* @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse
|
|
359
362
|
*/
|
|
360
363
|
const GetEpochResponse = new GetEpochResponse$Type();
|
|
364
|
+
var ListCheckpointsRequest$Type = class extends MessageType {
|
|
365
|
+
constructor() {
|
|
366
|
+
super("sui.rpc.v2.ListCheckpointsRequest", [
|
|
367
|
+
{
|
|
368
|
+
no: 1,
|
|
369
|
+
name: "read_mask",
|
|
370
|
+
kind: "message",
|
|
371
|
+
T: () => FieldMask
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
no: 2,
|
|
375
|
+
name: "start_checkpoint",
|
|
376
|
+
kind: "scalar",
|
|
377
|
+
opt: true,
|
|
378
|
+
T: 4,
|
|
379
|
+
L: 0
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
no: 3,
|
|
383
|
+
name: "end_checkpoint",
|
|
384
|
+
kind: "scalar",
|
|
385
|
+
opt: true,
|
|
386
|
+
T: 4,
|
|
387
|
+
L: 0
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
no: 4,
|
|
391
|
+
name: "filter",
|
|
392
|
+
kind: "message",
|
|
393
|
+
T: () => TransactionFilter
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
no: 5,
|
|
397
|
+
name: "options",
|
|
398
|
+
kind: "message",
|
|
399
|
+
T: () => QueryOptions
|
|
400
|
+
}
|
|
401
|
+
]);
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsRequest
|
|
406
|
+
*/
|
|
407
|
+
const ListCheckpointsRequest = new ListCheckpointsRequest$Type();
|
|
408
|
+
var ListCheckpointsResponse$Type = class extends MessageType {
|
|
409
|
+
constructor() {
|
|
410
|
+
super("sui.rpc.v2.ListCheckpointsResponse", [
|
|
411
|
+
{
|
|
412
|
+
no: 1,
|
|
413
|
+
name: "checkpoint",
|
|
414
|
+
kind: "message",
|
|
415
|
+
T: () => Checkpoint
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
no: 2,
|
|
419
|
+
name: "watermark",
|
|
420
|
+
kind: "message",
|
|
421
|
+
T: () => Watermark
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
no: 3,
|
|
425
|
+
name: "end",
|
|
426
|
+
kind: "message",
|
|
427
|
+
T: () => QueryEnd
|
|
428
|
+
}
|
|
429
|
+
]);
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsResponse
|
|
434
|
+
*/
|
|
435
|
+
const ListCheckpointsResponse = new ListCheckpointsResponse$Type();
|
|
436
|
+
var ListTransactionsRequest$Type = class extends MessageType {
|
|
437
|
+
constructor() {
|
|
438
|
+
super("sui.rpc.v2.ListTransactionsRequest", [
|
|
439
|
+
{
|
|
440
|
+
no: 1,
|
|
441
|
+
name: "read_mask",
|
|
442
|
+
kind: "message",
|
|
443
|
+
T: () => FieldMask
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
no: 2,
|
|
447
|
+
name: "start_checkpoint",
|
|
448
|
+
kind: "scalar",
|
|
449
|
+
opt: true,
|
|
450
|
+
T: 4,
|
|
451
|
+
L: 0
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
no: 3,
|
|
455
|
+
name: "end_checkpoint",
|
|
456
|
+
kind: "scalar",
|
|
457
|
+
opt: true,
|
|
458
|
+
T: 4,
|
|
459
|
+
L: 0
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
no: 4,
|
|
463
|
+
name: "filter",
|
|
464
|
+
kind: "message",
|
|
465
|
+
T: () => TransactionFilter
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
no: 5,
|
|
469
|
+
name: "options",
|
|
470
|
+
kind: "message",
|
|
471
|
+
T: () => QueryOptions
|
|
472
|
+
}
|
|
473
|
+
]);
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsRequest
|
|
478
|
+
*/
|
|
479
|
+
const ListTransactionsRequest = new ListTransactionsRequest$Type();
|
|
480
|
+
var ListTransactionsResponse$Type = class extends MessageType {
|
|
481
|
+
constructor() {
|
|
482
|
+
super("sui.rpc.v2.ListTransactionsResponse", [
|
|
483
|
+
{
|
|
484
|
+
no: 1,
|
|
485
|
+
name: "transaction",
|
|
486
|
+
kind: "message",
|
|
487
|
+
T: () => ExecutedTransaction
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
no: 2,
|
|
491
|
+
name: "watermark",
|
|
492
|
+
kind: "message",
|
|
493
|
+
T: () => Watermark
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
no: 3,
|
|
497
|
+
name: "end",
|
|
498
|
+
kind: "message",
|
|
499
|
+
T: () => QueryEnd
|
|
500
|
+
}
|
|
501
|
+
]);
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsResponse
|
|
506
|
+
*/
|
|
507
|
+
const ListTransactionsResponse = new ListTransactionsResponse$Type();
|
|
508
|
+
var ListEventsRequest$Type = class extends MessageType {
|
|
509
|
+
constructor() {
|
|
510
|
+
super("sui.rpc.v2.ListEventsRequest", [
|
|
511
|
+
{
|
|
512
|
+
no: 1,
|
|
513
|
+
name: "read_mask",
|
|
514
|
+
kind: "message",
|
|
515
|
+
T: () => FieldMask
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
no: 2,
|
|
519
|
+
name: "start_checkpoint",
|
|
520
|
+
kind: "scalar",
|
|
521
|
+
opt: true,
|
|
522
|
+
T: 4,
|
|
523
|
+
L: 0
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
no: 3,
|
|
527
|
+
name: "end_checkpoint",
|
|
528
|
+
kind: "scalar",
|
|
529
|
+
opt: true,
|
|
530
|
+
T: 4,
|
|
531
|
+
L: 0
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
no: 4,
|
|
535
|
+
name: "filter",
|
|
536
|
+
kind: "message",
|
|
537
|
+
T: () => EventFilter
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
no: 5,
|
|
541
|
+
name: "options",
|
|
542
|
+
kind: "message",
|
|
543
|
+
T: () => QueryOptions
|
|
544
|
+
}
|
|
545
|
+
]);
|
|
546
|
+
}
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListEventsRequest
|
|
550
|
+
*/
|
|
551
|
+
const ListEventsRequest = new ListEventsRequest$Type();
|
|
552
|
+
var ListEventsResponse$Type = class extends MessageType {
|
|
553
|
+
constructor() {
|
|
554
|
+
super("sui.rpc.v2.ListEventsResponse", [
|
|
555
|
+
{
|
|
556
|
+
no: 1,
|
|
557
|
+
name: "event",
|
|
558
|
+
kind: "message",
|
|
559
|
+
T: () => Event
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
no: 2,
|
|
563
|
+
name: "watermark",
|
|
564
|
+
kind: "message",
|
|
565
|
+
T: () => Watermark
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
no: 3,
|
|
569
|
+
name: "end",
|
|
570
|
+
kind: "message",
|
|
571
|
+
T: () => QueryEnd
|
|
572
|
+
}
|
|
573
|
+
]);
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* @generated MessageType for protobuf message sui.rpc.v2.ListEventsResponse
|
|
578
|
+
*/
|
|
579
|
+
const ListEventsResponse = new ListEventsResponse$Type();
|
|
361
580
|
/**
|
|
362
581
|
* @generated ServiceType for protobuf service sui.rpc.v2.LedgerService
|
|
363
582
|
*/
|
|
@@ -403,9 +622,30 @@ const LedgerService = new ServiceType("sui.rpc.v2.LedgerService", [
|
|
|
403
622
|
options: {},
|
|
404
623
|
I: GetEpochRequest,
|
|
405
624
|
O: GetEpochResponse
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
name: "ListCheckpoints",
|
|
628
|
+
serverStreaming: true,
|
|
629
|
+
options: {},
|
|
630
|
+
I: ListCheckpointsRequest,
|
|
631
|
+
O: ListCheckpointsResponse
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: "ListTransactions",
|
|
635
|
+
serverStreaming: true,
|
|
636
|
+
options: {},
|
|
637
|
+
I: ListTransactionsRequest,
|
|
638
|
+
O: ListTransactionsResponse
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
name: "ListEvents",
|
|
642
|
+
serverStreaming: true,
|
|
643
|
+
options: {},
|
|
644
|
+
I: ListEventsRequest,
|
|
645
|
+
O: ListEventsResponse
|
|
406
646
|
}
|
|
407
647
|
]);
|
|
408
648
|
|
|
409
649
|
//#endregion
|
|
410
|
-
export { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, LedgerService };
|
|
650
|
+
export { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, LedgerService, ListCheckpointsRequest, ListCheckpointsResponse, ListEventsRequest, ListEventsResponse, ListTransactionsRequest, ListTransactionsResponse };
|
|
411
651
|
//# sourceMappingURL=ledger_service.mjs.map
|