@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.
Files changed (139) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/bcs/bcs.d.mts +6 -6
  3. package/dist/bcs/bcs.d.mts.map +1 -1
  4. package/dist/bcs/bcs.mjs +1 -19
  5. package/dist/bcs/bcs.mjs.map +1 -1
  6. package/dist/bcs/index.d.mts +3812 -906
  7. package/dist/bcs/index.d.mts.map +1 -1
  8. package/dist/bcs/index.mjs +2 -1
  9. package/dist/bcs/index.mjs.map +1 -1
  10. package/dist/bcs/transactions.mjs +147 -0
  11. package/dist/bcs/transactions.mjs.map +1 -0
  12. package/dist/client/core-resolver.mjs +2 -1
  13. package/dist/client/core-resolver.mjs.map +1 -1
  14. package/dist/client/core.d.mts +2 -0
  15. package/dist/client/core.d.mts.map +1 -1
  16. package/dist/client/core.mjs.map +1 -1
  17. package/dist/client/query-filters.mjs +119 -0
  18. package/dist/client/query-filters.mjs.map +1 -0
  19. package/dist/client/types.d.mts +166 -1
  20. package/dist/client/types.d.mts.map +1 -1
  21. package/dist/client/utils.d.mts.map +1 -1
  22. package/dist/client/utils.mjs +13 -1
  23. package/dist/client/utils.mjs.map +1 -1
  24. package/dist/cryptography/signature.d.mts +6 -6
  25. package/dist/graphql/client.d.mts +15 -2
  26. package/dist/graphql/client.d.mts.map +1 -1
  27. package/dist/graphql/client.mjs +6 -0
  28. package/dist/graphql/client.mjs.map +1 -1
  29. package/dist/graphql/core.d.mts +5 -1
  30. package/dist/graphql/core.d.mts.map +1 -1
  31. package/dist/graphql/core.mjs +85 -3
  32. package/dist/graphql/core.mjs.map +1 -1
  33. package/dist/graphql/generated/queries.d.mts.map +1 -1
  34. package/dist/graphql/generated/queries.mjs +137 -1
  35. package/dist/graphql/generated/queries.mjs.map +1 -1
  36. package/dist/graphql/generated/tada-env.d.mts +108 -0
  37. package/dist/graphql/index.d.mts +2 -2
  38. package/dist/grpc/client.d.mts +11 -0
  39. package/dist/grpc/client.d.mts.map +1 -1
  40. package/dist/grpc/client.mjs +6 -0
  41. package/dist/grpc/client.mjs.map +1 -1
  42. package/dist/grpc/core.d.mts +5 -1
  43. package/dist/grpc/core.d.mts.map +1 -1
  44. package/dist/grpc/core.mjs +100 -2
  45. package/dist/grpc/core.mjs.map +1 -1
  46. package/dist/grpc/filters.mjs +45 -0
  47. package/dist/grpc/filters.mjs.map +1 -0
  48. package/dist/grpc/proto/sui/rpc/v2/event.d.mts +31 -0
  49. package/dist/grpc/proto/sui/rpc/v2/event.d.mts.map +1 -1
  50. package/dist/grpc/proto/sui/rpc/v2/event.mjs +30 -0
  51. package/dist/grpc/proto/sui/rpc/v2/event.mjs.map +1 -1
  52. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +7 -0
  53. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts.map +1 -1
  54. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs +8 -0
  55. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs.map +1 -1
  56. package/dist/grpc/proto/sui/rpc/v2/filter.d.mts +423 -0
  57. package/dist/grpc/proto/sui/rpc/v2/filter.d.mts.map +1 -0
  58. package/dist/grpc/proto/sui/rpc/v2/filter.mjs +297 -0
  59. package/dist/grpc/proto/sui/rpc/v2/filter.mjs.map +1 -0
  60. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +62 -6
  61. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts.map +1 -1
  62. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.mjs +37 -0
  63. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.mjs.map +1 -1
  64. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +293 -1
  65. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
  66. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +241 -1
  67. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
  68. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  69. package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
  70. package/dist/grpc/proto/sui/rpc/v2/protocol_config.d.mts +15 -2
  71. package/dist/grpc/proto/sui/rpc/v2/protocol_config.d.mts.map +1 -1
  72. package/dist/grpc/proto/sui/rpc/v2/protocol_config.mjs +11 -0
  73. package/dist/grpc/proto/sui/rpc/v2/protocol_config.mjs.map +1 -1
  74. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +211 -0
  75. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -0
  76. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +163 -0
  77. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -0
  78. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
  79. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  80. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +105 -23
  81. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
  82. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +56 -9
  83. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
  84. package/dist/grpc/proto/sui/rpc/v2/subscription_service.d.mts +148 -8
  85. package/dist/grpc/proto/sui/rpc/v2/subscription_service.d.mts.map +1 -1
  86. package/dist/grpc/proto/sui/rpc/v2/subscription_service.mjs +109 -8
  87. package/dist/grpc/proto/sui/rpc/v2/subscription_service.mjs.map +1 -1
  88. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.mts +4 -4
  89. package/dist/grpc/proto/types.d.mts +5 -3
  90. package/dist/grpc/proto/types.mjs +33 -2
  91. package/dist/grpc/proto/types.mjs.map +1 -1
  92. package/dist/jsonRpc/core.d.mts +10 -0
  93. package/dist/jsonRpc/core.d.mts.map +1 -1
  94. package/dist/jsonRpc/core.mjs +85 -2
  95. package/dist/jsonRpc/core.mjs.map +1 -1
  96. package/dist/transactions/Transaction.d.mts +9 -9
  97. package/dist/transactions/Transaction.d.mts.map +1 -1
  98. package/dist/transactions/intents/CoinWithBalance.mjs +14 -18
  99. package/dist/transactions/intents/CoinWithBalance.mjs.map +1 -1
  100. package/dist/version.mjs +1 -1
  101. package/dist/version.mjs.map +1 -1
  102. package/dist/zklogin/bcs.d.mts +14 -14
  103. package/dist/zklogin/bcs.d.mts.map +1 -1
  104. package/docs/clients/core.md +115 -1
  105. package/docs/clients/grpc.md +68 -0
  106. package/docs/migrations/sui-2.0/json-rpc-migration.md +104 -101
  107. package/package.json +2 -2
  108. package/src/bcs/bcs.ts +0 -27
  109. package/src/bcs/index.ts +7 -5
  110. package/src/bcs/transactions.ts +226 -0
  111. package/src/client/core-resolver.ts +5 -1
  112. package/src/client/core.ts +8 -0
  113. package/src/client/query-filters.ts +195 -0
  114. package/src/client/types.ts +186 -1
  115. package/src/client/utils.ts +13 -0
  116. package/src/graphql/client.ts +25 -1
  117. package/src/graphql/core.ts +143 -3
  118. package/src/graphql/generated/queries.ts +226 -0
  119. package/src/graphql/generated/schema.graphql +75 -0
  120. package/src/graphql/generated/tada-env.ts +133 -0
  121. package/src/graphql/index.ts +1 -0
  122. package/src/graphql/queries/listEvents.graphql +40 -0
  123. package/src/graphql/queries/transactions.graphql +26 -0
  124. package/src/grpc/client.ts +19 -0
  125. package/src/grpc/core.ts +187 -3
  126. package/src/grpc/filters.ts +68 -0
  127. package/src/grpc/proto/sui/rpc/v2/event.ts +49 -0
  128. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +15 -0
  129. package/src/grpc/proto/sui/rpc/v2/filter.ts +589 -0
  130. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +111 -0
  131. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +406 -0
  132. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +22 -2
  133. package/src/grpc/proto/sui/rpc/v2/query_options.ts +255 -0
  134. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +136 -18
  135. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +187 -7
  136. package/src/grpc/proto/types.ts +2 -0
  137. package/src/jsonRpc/core.ts +136 -2
  138. package/src/transactions/intents/CoinWithBalance.ts +41 -41
  139. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ledger_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/ledger_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'checkpoint_height',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 8, name: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectRequest', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n]);\n"],"mappings":";;;;;;;;;;;AAmUA,IAAM,6BAAN,cAAyC,YAAmC;CAC3E,cAAc;AACb,QAAM,oCAAoC,EAAE,CAAC;;;;;;AAM/C,MAAa,wBAAwB,IAAI,4BAA4B;AAErE,IAAM,8BAAN,cAA0C,YAAoC;CAC7E,cAAc;AACb,QAAM,qCAAqC;GAC1C;IAAE,IAAI;IAAG,MAAM;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;AAMJ,MAAa,kBAAkB,IAAI,sBAAsB;AAEzD,IAAM,wBAAN,cAAoC,YAA8B;CACjE,cAAc;AACb,QAAM,+BAA+B,CACpC;GAAE,IAAI;GAAG,MAAM;GAAS,MAAM;GAAW,SAAS;GAAO,CACzD,CAAC;;;;;;AAMJ,MAAa,mBAAmB,IAAI,uBAAuB;;;;AAI3D,MAAa,gBAAgB,IAAI,YAAY,4BAA4B;CACxE;EAAE,MAAM;EAAkB,SAAS,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAwB;CAC5F;EAAE,MAAM;EAAa,SAAS,EAAE;EAAE,GAAG;EAAkB,GAAG;EAAmB;CAC7E;EAAE,MAAM;EAAmB,SAAS,EAAE;EAAE,GAAG;EAAwB,GAAG;EAAyB;CAC/F;EAAE,MAAM;EAAkB,SAAS,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAwB;CAC5F;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EAAE,MAAM;EAAiB,SAAS,EAAE;EAAE,GAAG;EAAsB,GAAG;EAAuB;CACzF;EAAE,MAAM;EAAY,SAAS,EAAE;EAAE,GAAG;EAAiB,GAAG;EAAkB;CAC1E,CAAC"}
1
+ {"version":3,"file":"ledger_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/ledger_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Event } from './event.js';\nimport { EventFilter } from './filter.js';\nimport { QueryEnd } from './query_options.js';\nimport { Watermark } from './query_options.js';\nimport { QueryOptions } from './query_options.js';\nimport { TransactionFilter } from './filter.js';\nimport { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n/**\n * Request message for LedgerService.ListCheckpoints.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport interface ListCheckpointsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Checkpoint should be\n\t * returned (e.g. summary, contents, signatures).\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed transaction dimensions. A checkpoint\n\t * matches if any transaction it contains satisfies the filter. If absent,\n\t * all checkpoints in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListCheckpoints.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `checkpoint` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `checkpoint` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport interface ListCheckpointsResponse {\n\t/**\n\t * One matching checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListTransactions.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport interface ListTransactionsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the ExecutedTransaction\n\t * should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all transactions in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListTransactions.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `transaction` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `transaction` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport interface ListTransactionsResponse {\n\t/**\n\t * One matching transaction. Its position within the containing checkpoint\n\t * is reported by `ExecutedTransaction.transaction_index`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListEvents.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport interface ListEventsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Event should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all events in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EventFilter filter = 4;\n\t */\n\tfilter?: EventFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListEvents.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `event` set delivers one matching item; a frame without it reports scan\n * progress or terminal completion. Watermarks never regress in the requested\n * ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `event` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport interface ListEventsResponse {\n\t/**\n\t * One matching event. Its ledger position -- containing checkpoint,\n\t * emitting transaction digest and offset, and index within that\n\t * transaction's event list -- is reported by the corresponding fields on\n\t * `Event`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Event event = 1;\n\t */\n\tevent?: Event;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'checkpoint_height',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 8, name: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectRequest', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsRequest$Type extends MessageType<ListCheckpointsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport const ListCheckpointsRequest = new ListCheckpointsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsResponse$Type extends MessageType<ListCheckpointsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport const ListCheckpointsResponse = new ListCheckpointsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsRequest$Type extends MessageType<ListTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport const ListTransactionsRequest = new ListTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsResponse$Type extends MessageType<ListTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport const ListTransactionsResponse = new ListTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsRequest$Type extends MessageType<ListEventsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => EventFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport const ListEventsRequest = new ListEventsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsResponse$Type extends MessageType<ListEventsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsResponse', [\n\t\t\t{ no: 1, name: 'event', kind: 'message', T: () => Event },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport const ListEventsResponse = new ListEventsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n\t{\n\t\tname: 'ListCheckpoints',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListCheckpointsRequest,\n\t\tO: ListCheckpointsResponse,\n\t},\n\t{\n\t\tname: 'ListTransactions',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListTransactionsRequest,\n\t\tO: ListTransactionsResponse,\n\t},\n\t{\n\t\tname: 'ListEvents',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListEventsRequest,\n\t\tO: ListEventsResponse,\n\t},\n]);\n"],"mappings":";;;;;;;;;;;;;;AAgkBA,IAAM,6BAAN,cAAyC,YAAmC;CAC3E,cAAc;AACb,QAAM,oCAAoC,EAAE,CAAC;;;;;;AAM/C,MAAa,wBAAwB,IAAI,4BAA4B;AAErE,IAAM,8BAAN,cAA0C,YAAoC;CAC7E,cAAc;AACb,QAAM,qCAAqC;GAC1C;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAClF;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC/E;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF,CAAC;;;;;;AAMJ,MAAa,yBAAyB,IAAI,6BAA6B;AAEvE,IAAM,wBAAN,cAAoC,YAA8B;CACjE,cAAc;AACb,QAAM,+BAA+B;GACpC;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAU,KAAK;IAAM,GAAG;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AAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { GetDatatypeRequest, GetDatatypeResponse, GetFunctionRequest, GetFunctionResponse, GetPackageRequest, GetPackageResponse, ListPackageVersionsRequest, ListPackageVersionsResponse } from "./move_package_service.mjs";
2
- import * as _protobuf_ts_runtime6 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc6 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts
@@ -31,9 +31,9 @@ interface IMovePackageServiceClient {
31
31
  declare class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {
32
32
  private readonly _transport;
33
33
  typeName: string;
34
- methods: _protobuf_ts_runtime_rpc6.MethodInfo<any, any>[];
34
+ methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
35
35
  options: {
36
- [extensionName: string]: _protobuf_ts_runtime6.JsonValue;
36
+ [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
37
37
  };
38
38
  constructor(_transport: RpcTransport);
39
39
  /**
@@ -1,6 +1,6 @@
1
1
  import { LookupNameRequest, LookupNameResponse, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./name_service.mjs";
2
- import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime6 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc6 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/name_service.client.d.ts
@@ -23,9 +23,9 @@ interface INameServiceClient {
23
23
  declare class NameServiceClient implements INameServiceClient, ServiceInfo {
24
24
  private readonly _transport;
25
25
  typeName: string;
26
- methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
26
+ methods: _protobuf_ts_runtime_rpc6.MethodInfo<any, any>[];
27
27
  options: {
28
- [extensionName: string]: _protobuf_ts_runtime4.JsonValue;
28
+ [extensionName: string]: _protobuf_ts_runtime6.JsonValue;
29
29
  };
30
30
  constructor(_transport: RpcTransport);
31
31
  /**
@@ -1,3 +1,4 @@
1
+ import { Value } from "../../../google/protobuf/struct.mjs";
1
2
  import { MessageType } from "@protobuf-ts/runtime";
2
3
 
3
4
  //#region src/grpc/proto/sui/rpc/v2/protocol_config.d.ts
@@ -10,17 +11,29 @@ interface ProtocolConfig {
10
11
  */
11
12
  protocolVersion?: bigint;
12
13
  /**
13
- * @generated from protobuf field: map<string, bool> feature_flags = 2;
14
+ * Deprecated in favor of the lossless `configs` field.
15
+ *
16
+ * @deprecated
17
+ * @generated from protobuf field: map<string, bool> feature_flags = 2 [deprecated = true];
14
18
  */
15
19
  featureFlags: {
16
20
  [key: string]: boolean;
17
21
  };
18
22
  /**
19
- * @generated from protobuf field: map<string, string> attributes = 3;
23
+ * Deprecated in favor of the lossless `configs` field.
24
+ *
25
+ * @deprecated
26
+ * @generated from protobuf field: map<string, string> attributes = 3 [deprecated = true];
20
27
  */
21
28
  attributes: {
22
29
  [key: string]: string;
23
30
  };
31
+ /**
32
+ * @generated from protobuf field: map<string, google.protobuf.Value> configs = 4;
33
+ */
34
+ configs: {
35
+ [key: string]: Value;
36
+ };
24
37
  }
25
38
  declare class ProtocolConfig$Type extends MessageType<ProtocolConfig> {
26
39
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"protocol_config.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/protocol_config.ts"],"mappings":";;;;;AAeA;UAAiB,cAAA;;;;EAIhB,eAAA;EAKE;;;EADF,YAAA;IAAA,CACE,GAAA;EAAA;EAUuB;;;EALzB,UAAA;IAAA,CACE,GAAA;EAAA;AAAA;AAAA,cAIG,mBAAA,SAA4B,WAAA,CAAY,cAAA;;;;;;cA+BjC,cAAA,EAAc,mBAAA"}
1
+ {"version":3,"file":"protocol_config.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/protocol_config.ts"],"mappings":";;;;;;AAgBA;UAAiB,cAAA;;;;EAIhB,eAAA;EAQE;;;;;;EADF,YAAA;IAAA,CACE,GAAA;EAAA;EAmBuB;;;;;;EAXzB,UAAA;IAAA,CACE,GAAA;EAAA;EAgDoD;;;EA3CtD,OAAA;IAAA,CACE,GAAA,WAAc,KAAA;EAAA;AAAA;AAAA,cAIX,mBAAA,SAA4B,WAAA,CAAY,cAAA;;;;;;cAsCjC,cAAA,EAAc,mBAAA"}
@@ -1,3 +1,4 @@
1
+ import { Value } from "../../../google/protobuf/struct.mjs";
1
2
  import { MessageType } from "@protobuf-ts/runtime";
2
3
 
3
4
  //#region src/grpc/proto/sui/rpc/v2/protocol_config.ts
@@ -31,6 +32,16 @@ var ProtocolConfig$Type = class extends MessageType {
31
32
  kind: "scalar",
32
33
  T: 9
33
34
  }
35
+ },
36
+ {
37
+ no: 4,
38
+ name: "configs",
39
+ kind: "map",
40
+ K: 9,
41
+ V: {
42
+ kind: "message",
43
+ T: () => Value
44
+ }
34
45
  }
35
46
  ]);
36
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"protocol_config.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/protocol_config.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/protocol_config.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n\t/**\n\t * @generated from protobuf field: optional uint64 protocol_version = 1;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * @generated from protobuf field: map<string, bool> feature_flags = 2;\n\t */\n\tfeatureFlags: {\n\t\t[key: string]: boolean;\n\t};\n\t/**\n\t * @generated from protobuf field: map<string, string> attributes = 3;\n\t */\n\tattributes: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ProtocolConfig', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'feature_flags',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'attributes',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],"mappings":";;;AAkCA,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;KAAE,MAAM;KAAU,GAAG;KAAuB;IAC/C;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;KAAE,MAAM;KAAU,GAAG;KAAyB;IACjD;GACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB"}
1
+ {"version":3,"file":"protocol_config.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/protocol_config.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/protocol_config.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\n/**\n * @generated from protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n\t/**\n\t * @generated from protobuf field: optional uint64 protocol_version = 1;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * Deprecated in favor of the lossless `configs` field.\n\t *\n\t * @deprecated\n\t * @generated from protobuf field: map<string, bool> feature_flags = 2 [deprecated = true];\n\t */\n\tfeatureFlags: {\n\t\t[key: string]: boolean;\n\t};\n\t/**\n\t * Deprecated in favor of the lossless `configs` field.\n\t *\n\t * @deprecated\n\t * @generated from protobuf field: map<string, string> attributes = 3 [deprecated = true];\n\t */\n\tattributes: {\n\t\t[key: string]: string;\n\t};\n\t/**\n\t * @generated from protobuf field: map<string, google.protobuf.Value> configs = 4;\n\t */\n\tconfigs: {\n\t\t[key: string]: Value;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ProtocolConfig', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'feature_flags',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'attributes',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'configs',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'message', T: () => Value },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],"mappings":";;;;AA+CA,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B;GAClC;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;KAAE,MAAM;KAAU,GAAG;KAAuB;IAC/C;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;KAAE,MAAM;KAAU,GAAG;KAAyB;IACjD;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,GAAG;IACH,GAAG;KAAE,MAAM;KAAW,SAAS;KAAO;IACtC;GACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB"}
@@ -0,0 +1,211 @@
1
+ import { MessageType } from "@protobuf-ts/runtime";
2
+
3
+ //#region src/grpc/proto/sui/rpc/v2/query_options.d.ts
4
+ /**
5
+ * Cursor-bounded query options.
6
+ *
7
+ * `after` and `before` are canonical ledger-position bounds, not
8
+ * ordering-relative cursors. `after` always excludes items at or below that
9
+ * cursor, and `before` always excludes items at or above that cursor. Ordering
10
+ * only controls the order of returned items within the resulting open interval.
11
+ *
12
+ * When a request also specifies a checkpoint range, cursor bounds and
13
+ * checkpoint bounds compose by intersection: results come only from ledger
14
+ * positions inside both. Checkpoint bounds are likewise canonical and
15
+ * ordering-independent.
16
+ *
17
+ * For example, with `after = A`, `before = B`, `ordering = DESCENDING`, and
18
+ * `limit = N`, the response contains up to N matching items in descending
19
+ * order from the interval `(A, B)`. If the response ends with
20
+ * `QUERY_END_REASON_ITEM_LIMIT`, resume by keeping `after = A` and setting
21
+ * `before` to the last `Watermark.cursor` received. That cursor is the
22
+ * lowest position reached in ledger order, so it becomes the next exclusive
23
+ * upper bound.
24
+ *
25
+ * @generated from protobuf message sui.rpc.v2.QueryOptions
26
+ */
27
+ interface QueryOptions {
28
+ /**
29
+ * The maximum number of items to return. Each method applies its own default
30
+ * and maximum. QueryEnd does not count against this limit.
31
+ *
32
+ * @generated from protobuf field: optional uint32 limit = 1;
33
+ */
34
+ limit?: number;
35
+ /**
36
+ * Opaque exclusive lower bound. Results must be strictly after this cursor in
37
+ * canonical ledger order.
38
+ *
39
+ * @generated from protobuf field: optional bytes after = 2;
40
+ */
41
+ after?: Uint8Array;
42
+ /**
43
+ * Opaque exclusive upper bound. Results must be strictly before this cursor
44
+ * in canonical ledger order.
45
+ *
46
+ * @generated from protobuf field: optional bytes before = 3;
47
+ */
48
+ before?: Uint8Array;
49
+ /**
50
+ * Ordering for returned results. Defaults to ASCENDING.
51
+ *
52
+ * Ordering only controls the order of results within the bounded interval;
53
+ * cursor bounds keep the same meaning for ascending and descending reads.
54
+ *
55
+ * @generated from protobuf field: optional sui.rpc.v2.Ordering ordering = 4;
56
+ */
57
+ ordering?: Ordering;
58
+ }
59
+ /**
60
+ * Progress marker for a query scan. Carried on every response frame, whether or
61
+ * not the frame delivers a matching item. Watermarks never regress in the
62
+ * requested ordering, but consecutive frames may carry the same watermark when
63
+ * additional work does not advance the safe resume frontier.
64
+ *
65
+ * @generated from protobuf message sui.rpc.v2.Watermark
66
+ */
67
+ interface Watermark {
68
+ /**
69
+ * Opaque cursor at this scan position. Set on every watermark. Use as
70
+ * `options.after` (ascending) or `options.before` (descending) on the next
71
+ * request to resume from here. The most recently received cursor is always
72
+ * the safe resume point.
73
+ *
74
+ * @generated from protobuf field: optional bytes cursor = 1;
75
+ */
76
+ cursor?: Uint8Array;
77
+ /**
78
+ * The inclusive boundary checkpoint that the scan has fully covered within
79
+ * the request's effective interval, in the request's ordering direction: an
80
+ * ascending scan has emitted every matching item in the interval at
81
+ * checkpoints `<= checkpoint` (strictly greater ones may still hold
82
+ * matches); a descending scan has emitted every matching item in the
83
+ * interval at checkpoints `>= checkpoint`. This boundary never regresses in
84
+ * the scan direction, but it may repeat while the cursor advances.
85
+ *
86
+ * Unset until the scan's first checkpoint is fully covered. For example, a
87
+ * scan resumed from a cursor that lands mid-checkpoint leaves this unset
88
+ * until the next checkpoint boundary in the scan direction is fully covered.
89
+ * A watermark still has a valid resume cursor while this field is unset.
90
+ *
91
+ * @generated from protobuf field: optional uint64 checkpoint = 2;
92
+ */
93
+ checkpoint?: bigint;
94
+ }
95
+ /**
96
+ * Marker for the final frame of a successful query stream. Every successful
97
+ * stream sets `QueryEnd` on exactly one frame, after which no further frames
98
+ * are sent. That frame always carries the final watermark. For `ItemLimit`, it
99
+ * also carries the final matching item; for every other reason it carries no
100
+ * item. A ScanLimit terminal watermark may repeat the previous frame's cursor
101
+ * when its authoritative scan frontier was already emitted; this does not
102
+ * repeat an item.
103
+ *
104
+ * A stream that fails or is cancelled terminates with a gRPC status and does
105
+ * not send `QueryEnd`.
106
+ *
107
+ * @generated from protobuf message sui.rpc.v2.QueryEnd
108
+ */
109
+ interface QueryEnd {
110
+ /**
111
+ * Reason this response stopped.
112
+ *
113
+ * @generated from protobuf field: optional sui.rpc.v2.QueryEndReason reason = 1;
114
+ */
115
+ reason?: QueryEndReason;
116
+ }
117
+ /**
118
+ * Ordering for the returned result set.
119
+ *
120
+ * @generated from protobuf enum sui.rpc.v2.Ordering
121
+ */
122
+ declare enum Ordering {
123
+ /**
124
+ * Return results in increasing cursor order.
125
+ *
126
+ * @generated from protobuf enum value: ORDERING_ASCENDING = 0;
127
+ */
128
+ ASCENDING = 0,
129
+ /**
130
+ * Return results in decreasing cursor order.
131
+ *
132
+ * @generated from protobuf enum value: ORDERING_DESCENDING = 1;
133
+ */
134
+ DESCENDING = 1
135
+ }
136
+ /**
137
+ * Reason the server stopped this query response.
138
+ *
139
+ * @generated from protobuf enum sui.rpc.v2.QueryEndReason
140
+ */
141
+ declare enum QueryEndReason {
142
+ /**
143
+ * The stop reason was not specified.
144
+ *
145
+ * @generated from protobuf enum value: QUERY_END_REASON_UNKNOWN = 0;
146
+ */
147
+ UNKNOWN = 0,
148
+ /**
149
+ * The response reached the requested item limit. The final matching item's
150
+ * frame carries `QueryEnd` and the final watermark. Resume from that frame's
151
+ * `Watermark.cursor` to continue reading the same effective interval.
152
+ *
153
+ * @generated from protobuf enum value: QUERY_END_REASON_ITEM_LIMIT = 1;
154
+ */
155
+ ITEM_LIMIT = 1,
156
+ /**
157
+ * The response reached the server's per-request bucket-fetch budget for
158
+ * filtered scans before reaching the effective interval bound. The terminal
159
+ * frame carries no item. Its watermark cursor is the authoritative scan
160
+ * frontier from which to resume.
161
+ *
162
+ * @generated from protobuf enum value: QUERY_END_REASON_SCAN_LIMIT = 2;
163
+ */
164
+ SCAN_LIMIT = 2,
165
+ /**
166
+ * The scan reached a requested checkpoint range bound. The terminal frame
167
+ * carries no item.
168
+ *
169
+ * @generated from protobuf enum value: QUERY_END_REASON_CHECKPOINT_BOUND = 3;
170
+ */
171
+ CHECKPOINT_BOUND = 3,
172
+ /**
173
+ * The scan reached an exclusive cursor bound. The terminal frame carries no
174
+ * item. Its watermark cursor represents that resolved bound without claiming
175
+ * that its containing checkpoint was fully covered.
176
+ *
177
+ * @generated from protobuf enum value: QUERY_END_REASON_CURSOR_BOUND = 4;
178
+ */
179
+ CURSOR_BOUND = 4,
180
+ /**
181
+ * The scan reached the currently indexed ledger tip. The terminal frame
182
+ * carries no item.
183
+ *
184
+ * @generated from protobuf enum value: QUERY_END_REASON_LEDGER_TIP = 5;
185
+ */
186
+ LEDGER_TIP = 5
187
+ }
188
+ declare class QueryOptions$Type extends MessageType<QueryOptions> {
189
+ constructor();
190
+ }
191
+ /**
192
+ * @generated MessageType for protobuf message sui.rpc.v2.QueryOptions
193
+ */
194
+ declare const QueryOptions: QueryOptions$Type;
195
+ declare class Watermark$Type extends MessageType<Watermark> {
196
+ constructor();
197
+ }
198
+ /**
199
+ * @generated MessageType for protobuf message sui.rpc.v2.Watermark
200
+ */
201
+ declare const Watermark: Watermark$Type;
202
+ declare class QueryEnd$Type extends MessageType<QueryEnd> {
203
+ constructor();
204
+ }
205
+ /**
206
+ * @generated MessageType for protobuf message sui.rpc.v2.QueryEnd
207
+ */
208
+ declare const QueryEnd: QueryEnd$Type;
209
+ //#endregion
210
+ export { Ordering, QueryEnd, QueryEndReason, QueryOptions, Watermark };
211
+ //# sourceMappingURL=query_options.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_options.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/query_options.ts"],"mappings":";;;;;AAmCA;;;;;;;;;;;;;;;;;AAwCA;;;;UAxCiB,YAAA;EAiDP;;;;AAiCV;;EA3EC,KAAA;EAiFA;;AAOD;;;;EAjFC,KAAA,GAAQ,UAAA;EAoGG;;;;;;EA7FX,MAAA,GAAS,UAAA;EA2HT;;;;;AAgBA;;;EAlIA,QAAA,GAAW,QAAA;AAAA;;;;;AAuJZ;;;;UA7IiB,SAAA;EA+IX;;;;;;;;EAtIL,MAAA,GAAS,UAAA;EAwJG;;;;;AAAiC;;;;;;;;;AAkB9C;;EAzJC,UAAA;AAAA;;;;;;;;;;;;;;;UAgBgB,QAAA;;;;;;EAMhB,MAAA,GAAS,cAAA;AAAA;;;;;;aAOE,QAAA;;;;;;EAMX,SAAA;;;;;;EAMA,UAAA;AAAA;;;;;;aAOW,cAAA;;;;;;EAMX,OAAA;;;;;;;;EAQA,UAAA;;;;;;;;;EASA,UAAA;;;;;;;EAOA,gBAAA;;;;;;;;EAQA,YAAA;;;;;;;EAOA,UAAA;AAAA;AAAA,cAGK,iBAAA,SAA0B,WAAA,CAAY,YAAA;;;;;;cAmB/B,YAAA,EAAY,iBAAA;AAAA,cAEnB,cAAA,SAAuB,WAAA,CAAY,SAAA;;;;;;cAkB5B,SAAA,EAAS,cAAA;AAAA,cAEhB,aAAA,SAAsB,WAAA,CAAY,QAAA;;;;;;cAgB3B,QAAA,EAAQ,aAAA"}