@mysten/sui 2.16.3 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/bcs/bcs.d.mts +6 -6
  3. package/dist/bcs/index.d.mts +20 -20
  4. package/dist/graphql/generated/queries.d.mts.map +1 -1
  5. package/dist/graphql/generated/queries.mjs.map +1 -1
  6. package/dist/graphql/generated/tada-env.d.mts +82 -1
  7. package/dist/grpc/client.d.mts +2 -0
  8. package/dist/grpc/client.d.mts.map +1 -1
  9. package/dist/grpc/client.mjs +2 -0
  10. package/dist/grpc/client.mjs.map +1 -1
  11. package/dist/grpc/proto/google/protobuf/struct.mjs +1 -1
  12. package/dist/grpc/proto/google/protobuf/struct.mjs.map +1 -1
  13. package/dist/grpc/proto/google/rpc/status.mjs +1 -1
  14. package/dist/grpc/proto/google/rpc/status.mjs.map +1 -1
  15. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +66 -0
  16. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts.map +1 -0
  17. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs +48 -0
  18. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs.map +1 -0
  19. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts +135 -0
  20. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts.map +1 -0
  21. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs +144 -0
  22. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs.map +1 -0
  23. package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs +1 -1
  24. package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs.map +1 -1
  25. package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs +3 -3
  26. package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs.map +1 -1
  27. package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs +3 -3
  28. package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs.map +1 -1
  29. package/dist/grpc/proto/sui/rpc/v2/effects.d.mts +71 -3
  30. package/dist/grpc/proto/sui/rpc/v2/effects.d.mts.map +1 -1
  31. package/dist/grpc/proto/sui/rpc/v2/effects.mjs +71 -5
  32. package/dist/grpc/proto/sui/rpc/v2/effects.mjs.map +1 -1
  33. package/dist/grpc/proto/sui/rpc/v2/event.mjs +1 -1
  34. package/dist/grpc/proto/sui/rpc/v2/event.mjs.map +1 -1
  35. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs +2 -2
  36. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs.map +1 -1
  37. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
  38. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +3 -3
  39. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
  40. package/dist/grpc/proto/sui/rpc/v2/move_package.d.mts.map +1 -1
  41. package/dist/grpc/proto/sui/rpc/v2/move_package.mjs +13 -13
  42. package/dist/grpc/proto/sui/rpc/v2/move_package.mjs.map +1 -1
  43. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  44. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +1 -1
  45. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
  46. package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
  47. package/dist/grpc/proto/sui/rpc/v2/object.d.mts.map +1 -1
  48. package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
  49. package/dist/grpc/proto/sui/rpc/v2/object.mjs.map +1 -1
  50. package/dist/grpc/proto/sui/rpc/v2/signature.mjs +3 -3
  51. package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
  52. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
  53. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
  54. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +1 -1
  55. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
  56. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  57. package/dist/grpc/proto/sui/rpc/v2/state_service.d.mts.map +1 -1
  58. package/dist/grpc/proto/sui/rpc/v2/state_service.mjs +3 -3
  59. package/dist/grpc/proto/sui/rpc/v2/state_service.mjs.map +1 -1
  60. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
  61. package/dist/grpc/proto/sui/rpc/v2/system_state.mjs +2 -2
  62. package/dist/grpc/proto/sui/rpc/v2/system_state.mjs.map +1 -1
  63. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
  64. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +16 -16
  65. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
  66. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs +4 -4
  67. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
  68. package/dist/grpc/proto/types.d.mts +3 -2
  69. package/dist/grpc/proto/types.mjs +11 -1
  70. package/dist/grpc/proto/types.mjs.map +1 -1
  71. package/dist/jsonRpc/types/params.d.mts +5 -5
  72. package/dist/transactions/Transaction.d.mts +9 -9
  73. package/dist/transactions/Transaction.d.mts.map +1 -1
  74. package/dist/version.mjs +1 -1
  75. package/dist/version.mjs.map +1 -1
  76. package/package.json +2 -2
  77. package/src/graphql/generated/queries.ts +46 -1
  78. package/src/graphql/generated/schema.graphql +49 -3
  79. package/src/graphql/generated/tada-env.ts +97 -1
  80. package/src/grpc/client.ts +3 -0
  81. package/src/grpc/proto/google/protobuf/struct.ts +1 -1
  82. package/src/grpc/proto/google/rpc/error_details.ts +4 -4
  83. package/src/grpc/proto/google/rpc/status.ts +1 -1
  84. package/src/grpc/proto/sui/forking/v1alpha/forking_service.client.ts +125 -0
  85. package/src/grpc/proto/sui/forking/v1alpha/forking_service.ts +230 -0
  86. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +1 -1
  87. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +3 -3
  88. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +3 -3
  89. package/src/grpc/proto/sui/rpc/v2/effects.ts +112 -6
  90. package/src/grpc/proto/sui/rpc/v2/event.ts +1 -1
  91. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +2 -2
  92. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +3 -3
  93. package/src/grpc/proto/sui/rpc/v2/move_package.ts +19 -13
  94. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +1 -1
  95. package/src/grpc/proto/sui/rpc/v2/object.ts +7 -1
  96. package/src/grpc/proto/sui/rpc/v2/signature.ts +3 -3
  97. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +7 -1
  98. package/src/grpc/proto/sui/rpc/v2/state_service.ts +9 -3
  99. package/src/grpc/proto/sui/rpc/v2/system_state.ts +2 -2
  100. package/src/grpc/proto/sui/rpc/v2/transaction.ts +22 -16
  101. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +4 -4
  102. package/src/grpc/proto/types.ts +1 -0
  103. package/src/jsonRpc/types/params.ts +5 -5
  104. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"transaction_execution_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/transaction_execution_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/transaction_execution_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 { Value } from '../../../google/protobuf/struct.js';\nimport { Bcs } from './bcs.js';\nimport { Argument } from './argument.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { UserSignature } from './signature.js';\nimport { Transaction } from './transaction.js';\n/**\n * @generated from protobuf message sui.rpc.v2.ExecuteTransactionRequest\n */\nexport interface ExecuteTransactionRequest {\n\t/**\n\t * The transaction to execute.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Set of `UserSignature`s authorizing the execution of the provided\n\t * transaction.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.UserSignature signatures = 2;\n\t */\n\tsignatures: UserSignature[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `effects.status,checkpoint`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ExecuteTransaction`.\n *\n * @generated from protobuf message sui.rpc.v2.ExecuteTransactionResponse\n */\nexport interface ExecuteTransactionResponse {\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.SimulateTransactionRequest\n */\nexport interface SimulateTransactionRequest {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Mask specifying which fields to read.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SimulateTransactionRequest.TransactionChecks checks = 3;\n\t */\n\tchecks?: SimulateTransactionRequest_TransactionChecks;\n\t/**\n\t * Perform gas selection based on a budget estimation and include the\n\t * selected gas payment and budget in the response.\n\t *\n\t * This option will be ignored if `checks` is `DISABLED`.\n\t *\n\t * @generated from protobuf field: optional bool do_gas_selection = 4;\n\t */\n\tdoGasSelection?: boolean;\n}\n/**\n * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n *\n * @generated from protobuf enum sui.rpc.v2.SimulateTransactionRequest.TransactionChecks\n */\nexport enum SimulateTransactionRequest_TransactionChecks {\n\t/**\n\t * @generated from protobuf enum value: ENABLED = 0;\n\t */\n\tENABLED = 0,\n\t/**\n\t * @generated from protobuf enum value: DISABLED = 1;\n\t */\n\tDISABLED = 1,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SimulateTransactionResponse\n */\nexport interface SimulateTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandResult command_outputs = 2;\n\t */\n\tcommandOutputs: CommandResult[];\n\t/**\n\t * A suggested gas price to use, that is above RGP, in order to provide a\n\t * better chance of the transaction being included in the presence of\n\t * congested objects.\n\t *\n\t * @generated from protobuf field: optional uint64 suggested_gas_price = 3;\n\t */\n\tsuggestedGasPrice?: bigint;\n}\n/**\n * An intermediate result/output from the execution of a single command\n *\n * @generated from protobuf message sui.rpc.v2.CommandResult\n */\nexport interface CommandResult {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandOutput return_values = 1;\n\t */\n\treturnValues: CommandOutput[];\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandOutput mutated_by_ref = 2;\n\t */\n\tmutatedByRef: CommandOutput[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.CommandOutput\n */\nexport interface CommandOutput {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Argument argument = 1;\n\t */\n\targument?: Argument;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 2;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * JSON rendering of the output.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 3;\n\t */\n\tjson?: Value;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionRequest$Type extends MessageType<ExecuteTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ExecuteTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => UserSignature,\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.ExecuteTransactionRequest\n */\nexport const ExecuteTransactionRequest = new ExecuteTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionResponse$Type extends MessageType<ExecuteTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ExecuteTransactionResponse', [\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.ExecuteTransactionResponse\n */\nexport const ExecuteTransactionResponse = new ExecuteTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionRequest$Type extends MessageType<SimulateTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SimulateTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'checks',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.SimulateTransactionRequest.TransactionChecks',\n\t\t\t\t\tSimulateTransactionRequest_TransactionChecks,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 4, name: 'do_gas_selection', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionRequest\n */\nexport const SimulateTransactionRequest = new SimulateTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionResponse$Type extends MessageType<SimulateTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SimulateTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'command_outputs',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandResult,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'suggested_gas_price',\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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionResponse\n */\nexport const SimulateTransactionResponse = new SimulateTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandResult$Type extends MessageType<CommandResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CommandResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'return_values',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'mutated_by_ref',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CommandResult\n */\nexport const CommandResult = new CommandResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandOutput$Type extends MessageType<CommandOutput> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CommandOutput', [\n\t\t\t{ no: 1, name: 'argument', kind: 'message', T: () => Argument },\n\t\t\t{ no: 2, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 3, name: 'json', kind: 'message', T: () => Value },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CommandOutput\n */\nexport const CommandOutput = new CommandOutput$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.TransactionExecutionService\n */\nexport const TransactionExecutionService = new ServiceType(\n\t'sui.rpc.v2.TransactionExecutionService',\n\t[\n\t\t{\n\t\t\tname: 'ExecuteTransaction',\n\t\t\toptions: {},\n\t\t\tI: ExecuteTransactionRequest,\n\t\t\tO: ExecuteTransactionResponse,\n\t\t},\n\t\t{\n\t\t\tname: 'SimulateTransaction',\n\t\t\toptions: {},\n\t\t\tI: SimulateTransactionRequest,\n\t\t\tO: SimulateTransactionResponse,\n\t\t},\n\t],\n);\n"],"mappings":";;;;;;;;;;;;;;;;AA2FA,IAAY,wHAAL;;;;AAIN;;;;AAIA;;;AA0DD,IAAM,iCAAN,cAA6C,YAAuC;CACnF,cAAc;AACb,QAAM,wCAAwC;GAC7C;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAW,SAAS;IAAa;GACrE;IACC,IAAI;IACJ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N,MAAM;GACN,QAAQ;GACR,SAAS;GACT,CACD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;AAErD,IAAM,qBAAN,cAAiC,YAA2B;CAC3D,cAAc;AACb,QAAM,4BAA4B;GACjC;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAW,SAAS;IAAU;GAC/D;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAW,SAAS;IAAK;GACvD;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAW,SAAS;IAAO;GACxD,CAAC;;;;;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;;;;AAIrD,MAAa,8BAA8B,IAAI,YAC9C,0CACA,CACC;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,EACD;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,CACD,CACD"}
1
+ {"version":3,"file":"transaction_execution_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/transaction_execution_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/transaction_execution_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 { Value } from '../../../google/protobuf/struct.js';\nimport { Bcs } from './bcs.js';\nimport { Argument } from './argument.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { UserSignature } from './signature.js';\nimport { Transaction } from './transaction.js';\n/**\n * @generated from protobuf message sui.rpc.v2.ExecuteTransactionRequest\n */\nexport interface ExecuteTransactionRequest {\n\t/**\n\t * The transaction to execute.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Set of `UserSignature`s authorizing the execution of the provided\n\t * transaction.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.UserSignature signatures = 2;\n\t */\n\tsignatures: UserSignature[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `effects.status,checkpoint`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ExecuteTransaction`.\n *\n * @generated from protobuf message sui.rpc.v2.ExecuteTransactionResponse\n */\nexport interface ExecuteTransactionResponse {\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.SimulateTransactionRequest\n */\nexport interface SimulateTransactionRequest {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Transaction transaction = 1;\n\t */\n\ttransaction?: Transaction;\n\t/**\n\t * Mask specifying which fields to read.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.SimulateTransactionRequest.TransactionChecks checks = 3;\n\t */\n\tchecks?: SimulateTransactionRequest_TransactionChecks;\n\t/**\n\t * Perform gas selection based on a budget estimation and include the\n\t * selected gas payment and budget in the response.\n\t *\n\t * This option will be ignored if `checks` is `DISABLED`.\n\t *\n\t * @generated from protobuf field: optional bool do_gas_selection = 4;\n\t */\n\tdoGasSelection?: boolean;\n}\n/**\n * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX\n *\n * @generated from protobuf enum sui.rpc.v2.SimulateTransactionRequest.TransactionChecks\n */\nexport enum SimulateTransactionRequest_TransactionChecks {\n\t/**\n\t * @generated from protobuf enum value: ENABLED = 0;\n\t */\n\tENABLED = 0,\n\t/**\n\t * @generated from protobuf enum value: DISABLED = 1;\n\t */\n\tDISABLED = 1,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.SimulateTransactionResponse\n */\nexport interface SimulateTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandResult command_outputs = 2;\n\t */\n\tcommandOutputs: CommandResult[];\n\t/**\n\t * A suggested gas price to use, that is above RGP, in order to provide a\n\t * better chance of the transaction being included in the presence of\n\t * congested objects.\n\t *\n\t * @generated from protobuf field: optional uint64 suggested_gas_price = 3;\n\t */\n\tsuggestedGasPrice?: bigint;\n}\n/**\n * An intermediate result/output from the execution of a single command\n *\n * @generated from protobuf message sui.rpc.v2.CommandResult\n */\nexport interface CommandResult {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandOutput return_values = 1;\n\t */\n\treturnValues: CommandOutput[];\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.CommandOutput mutated_by_ref = 2;\n\t */\n\tmutatedByRef: CommandOutput[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.CommandOutput\n */\nexport interface CommandOutput {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Argument argument = 1;\n\t */\n\targument?: Argument;\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 2;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * JSON rendering of the output.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 3;\n\t */\n\tjson?: Value;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionRequest$Type extends MessageType<ExecuteTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ExecuteTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'signatures',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => UserSignature,\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.ExecuteTransactionRequest\n */\nexport const ExecuteTransactionRequest = new ExecuteTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExecuteTransactionResponse$Type extends MessageType<ExecuteTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ExecuteTransactionResponse', [\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.ExecuteTransactionResponse\n */\nexport const ExecuteTransactionResponse = new ExecuteTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionRequest$Type extends MessageType<SimulateTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SimulateTransactionRequest', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => Transaction },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'checks',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.SimulateTransactionRequest.TransactionChecks',\n\t\t\t\t\tSimulateTransactionRequest_TransactionChecks,\n\t\t\t\t],\n\t\t\t},\n\t\t\t{ no: 4, name: 'do_gas_selection', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionRequest\n */\nexport const SimulateTransactionRequest = new SimulateTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SimulateTransactionResponse$Type extends MessageType<SimulateTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SimulateTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'command_outputs',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => CommandResult,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'suggested_gas_price',\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]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SimulateTransactionResponse\n */\nexport const SimulateTransactionResponse = new SimulateTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandResult$Type extends MessageType<CommandResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CommandResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'return_values',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'mutated_by_ref',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => CommandOutput,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CommandResult\n */\nexport const CommandResult = new CommandResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CommandOutput$Type extends MessageType<CommandOutput> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CommandOutput', [\n\t\t\t{ no: 1, name: 'argument', kind: 'message', T: () => Argument },\n\t\t\t{ no: 2, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 3, name: 'json', kind: 'message', T: () => Value },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CommandOutput\n */\nexport const CommandOutput = new CommandOutput$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.TransactionExecutionService\n */\nexport const TransactionExecutionService = new ServiceType(\n\t'sui.rpc.v2.TransactionExecutionService',\n\t[\n\t\t{\n\t\t\tname: 'ExecuteTransaction',\n\t\t\toptions: {},\n\t\t\tI: ExecuteTransactionRequest,\n\t\t\tO: ExecuteTransactionResponse,\n\t\t},\n\t\t{\n\t\t\tname: 'SimulateTransaction',\n\t\t\toptions: {},\n\t\t\tI: SimulateTransactionRequest,\n\t\t\tO: SimulateTransactionResponse,\n\t\t},\n\t],\n);\n"],"mappings":";;;;;;;;;;;;;;;;AA2FA,IAAY,wHAAL;;;;AAIN;;;;AAIA;;;AA0DD,IAAM,iCAAN,cAA6C,YAAuC;CACnF,cAAc;AACb,QAAM,wCAAwC;GAC7C;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAW,SAAS;IAAa;GACrE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE,CAAC;;;;;;AAMJ,MAAa,4BAA4B,IAAI,gCAAgC;AAE7E,IAAM,kCAAN,cAA8C,YAAwC;CACrF,cAAc;AACb,QAAM,yCAAyC,CAC9C;GAAE,IAAI;GAAG,MAAM;GAAe,MAAM;GAAW,SAAS;GAAqB,CAC7E,CAAC;;;;;;AAMJ,MAAa,6BAA6B,IAAI,iCAAiC;AAE/E,IAA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;;AAMJ,MAAa,gBAAgB,IAAI,oBAAoB;;;;AAIrD,MAAa,8BAA8B,IAAI,YAC9C,0CACA,CACC;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,EACD;CACC,MAAM;CACN,SAAS,EAAE;CACX,GAAG;CACH,GAAG;CACH,CACD,CACD"}
@@ -8,7 +8,7 @@ import { Event, TransactionEvents } from "./sui/rpc/v2/event.mjs";
8
8
  import { ObjectReference } from "./sui/rpc/v2/object_reference.mjs";
9
9
  import { GasCostSummary } from "./sui/rpc/v2/gas_cost_summary.mjs";
10
10
  import { CleverError, CoinDenyListError, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CongestedObjects, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, IndexError, MoveAbort, MoveLocation, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, SizeError, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind } from "./sui/rpc/v2/execution_status.mjs";
11
- import { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind } from "./sui/rpc/v2/effects.mjs";
11
+ import { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, EventDigestEntry, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind } from "./sui/rpc/v2/effects.mjs";
12
12
  import { Jwk, JwkId } from "./sui/rpc/v2/jwk.mjs";
13
13
  import { SignatureScheme } from "./sui/rpc/v2/signature_scheme.mjs";
14
14
  import { CircomG1, CircomG2, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, PasskeyAuthenticator, SimpleSignature, UserSignature, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier } from "./sui/rpc/v2/signature.mjs";
@@ -28,11 +28,12 @@ import { SignatureVerificationService, VerifySignatureRequest, VerifySignatureRe
28
28
  import { Balance, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, DynamicField, DynamicField_DynamicFieldKind, GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, StateService } from "./sui/rpc/v2/state_service.mjs";
29
29
  import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService } from "./sui/rpc/v2/subscription_service.mjs";
30
30
  import { LookupNameRequest, LookupNameResponse, NameRecord, NameService, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./sui/rpc/v2/name_service.mjs";
31
+ import { AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, ForkingService, GetStatusRequest, GetStatusResponse } from "./sui/forking/v1alpha/forking_service.mjs";
31
32
  import { ErrorReason } from "./sui/rpc/v2/error_reason.mjs";
32
33
 
33
34
  //#region src/grpc/proto/types.d.ts
34
35
  declare namespace types_d_exports {
35
- export { Ability, AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ActiveJwk, AddressAliasesVersion, Argument, Argument_ArgumentKind, AuthenticatorStateExpire, AuthenticatorStateUpdate, Balance, BalanceChange, BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, Bcs, CanceledTransaction, ChangeEpoch, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, Checkpoint, CheckpointCommitment, CheckpointCommitment_CheckpointCommitmentKind, CheckpointContents, CheckpointSummary, CheckpointedTransactionInfo, CircomG1, CircomG2, CleverError, CoinDenyListError, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, Command, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CommandOutput, CommandResult, CongestedObjects, ConsensusCommitPrologue, ConsensusDeterminedVersionAssignments, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, Display, DynamicField, DynamicField_DynamicFieldKind, EndOfEpochData, EndOfEpochTransaction, EndOfEpochTransactionKind, EndOfEpochTransactionKind_Kind, Epoch, ErrorReason, Event, ExecuteTransactionRequest, ExecuteTransactionResponse, ExecutedTransaction, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, ExecutionTimeObservation, ExecutionTimeObservation_ExecutionTimeObservationKind, ExecutionTimeObservations, FieldDescriptor, FunctionDescriptor, FunctionDescriptor_Visibility, FundsWithdrawal, FundsWithdrawal_Source, GasCostSummary, GasPayment, GenesisTransaction, GetBalanceRequest, GetBalanceResponse, GetCheckpointRequest, GetCheckpointResponse, GetCoinInfoRequest, GetCoinInfoResponse, GetDatatypeRequest, GetDatatypeResponse, GetEpochRequest, GetEpochResponse, GetFunctionRequest, GetFunctionResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetPackageRequest, GetPackageResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, IndexError, Input, Input_InputKind, Input_Mutability, Jwk, JwkId, LedgerService, Linkage, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, ListPackageVersionsRequest, ListPackageVersionsResponse, LookupNameRequest, LookupNameResponse, MakeMoveVector, MergeCoins, Module, MoveAbort, MoveCall, MoveLocation, MovePackageService, MoveTable, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, NameRecord, NameService, Object$1 as Object, ObjectReference, ObjectSet, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Owner, Owner_OwnerKind, Package, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, PackageVersion, PasskeyAuthenticator, ProgrammableTransaction, ProtocolConfig, Publish, RandomnessStateUpdate, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, ReverseLookupNameRequest, ReverseLookupNameResponse, SignatureScheme, SignatureVerificationService, SimpleSignature, SimulateTransactionRequest, SimulateTransactionRequest_TransactionChecks, SimulateTransactionResponse, SizeError, SplitCoins, StakeSubsidy, StakingPool, StateService, StorageFund, SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService, SystemPackage, SystemParameters, SystemState, Transaction, TransactionEffects, TransactionEvents, TransactionExecutionService, TransactionExpiration, TransactionExpiration_TransactionExpirationKind, TransactionKind, TransactionKind_Kind, TransferObjects, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind, TypeOrigin, TypeParameter, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind, Upgrade, UserSignature, Validator, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ValidatorExecutionTimeObservation, ValidatorReportRecord, ValidatorSet, VariantDescriptor, VerifySignatureRequest, VerifySignatureResponse, VersionAssignment, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier };
36
+ export { Ability, AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ActiveJwk, AddressAliasesVersion, AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, Argument, Argument_ArgumentKind, AuthenticatorStateExpire, AuthenticatorStateUpdate, Balance, BalanceChange, BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, Bcs, CanceledTransaction, ChangeEpoch, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, Checkpoint, CheckpointCommitment, CheckpointCommitment_CheckpointCommitmentKind, CheckpointContents, CheckpointSummary, CheckpointedTransactionInfo, CircomG1, CircomG2, CleverError, CoinDenyListError, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, Command, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CommandOutput, CommandResult, CongestedObjects, ConsensusCommitPrologue, ConsensusDeterminedVersionAssignments, DatatypeDescriptor, DatatypeDescriptor_DatatypeKind, Display, DynamicField, DynamicField_DynamicFieldKind, EndOfEpochData, EndOfEpochTransaction, EndOfEpochTransactionKind, EndOfEpochTransactionKind_Kind, Epoch, ErrorReason, Event, EventDigestEntry, ExecuteTransactionRequest, ExecuteTransactionResponse, ExecutedTransaction, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, ExecutionTimeObservation, ExecutionTimeObservation_ExecutionTimeObservationKind, ExecutionTimeObservations, FieldDescriptor, ForkingService, FunctionDescriptor, FunctionDescriptor_Visibility, FundsWithdrawal, FundsWithdrawal_Source, GasCostSummary, GasPayment, GenesisTransaction, GetBalanceRequest, GetBalanceResponse, GetCheckpointRequest, GetCheckpointResponse, GetCoinInfoRequest, GetCoinInfoResponse, GetDatatypeRequest, GetDatatypeResponse, GetEpochRequest, GetEpochResponse, GetFunctionRequest, GetFunctionResponse, GetObjectRequest, GetObjectResponse, GetObjectResult, GetPackageRequest, GetPackageResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetStatusRequest, GetStatusResponse, GetTransactionRequest, GetTransactionResponse, GetTransactionResult, IndexError, Input, Input_InputKind, Input_Mutability, Jwk, JwkId, LedgerService, Linkage, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, ListPackageVersionsRequest, ListPackageVersionsResponse, LookupNameRequest, LookupNameResponse, MakeMoveVector, MergeCoins, Module, MoveAbort, MoveCall, MoveLocation, MovePackageService, MoveTable, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, NameRecord, NameService, Object$1 as Object, ObjectReference, ObjectSet, OpenSignature, OpenSignatureBody, OpenSignatureBody_Type, OpenSignature_Reference, Owner, Owner_OwnerKind, Package, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, PackageVersion, PasskeyAuthenticator, ProgrammableTransaction, ProtocolConfig, Publish, RandomnessStateUpdate, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, ReverseLookupNameRequest, ReverseLookupNameResponse, SignatureScheme, SignatureVerificationService, SimpleSignature, SimulateTransactionRequest, SimulateTransactionRequest_TransactionChecks, SimulateTransactionResponse, SizeError, SplitCoins, StakeSubsidy, StakingPool, StateService, StorageFund, SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService, SystemPackage, SystemParameters, SystemState, Transaction, TransactionEffects, TransactionEvents, TransactionExecutionService, TransactionExpiration, TransactionExpiration_TransactionExpirationKind, TransactionKind, TransactionKind_Kind, TransferObjects, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind, TypeOrigin, TypeParameter, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind, Upgrade, UserSignature, Validator, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ValidatorExecutionTimeObservation, ValidatorReportRecord, ValidatorSet, VariantDescriptor, VerifySignatureRequest, VerifySignatureResponse, VersionAssignment, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier };
36
37
  }
37
38
  //#endregion
38
39
  export { types_d_exports };
@@ -11,7 +11,7 @@ import { ActiveJwk, AuthenticatorStateExpire, AuthenticatorStateUpdate, Canceled
11
11
  import { BalanceChange } from "./sui/rpc/v2/balance_change.mjs";
12
12
  import { GasCostSummary } from "./sui/rpc/v2/gas_cost_summary.mjs";
13
13
  import { CleverError, CoinDenyListError, CommandArgumentError, CommandArgumentError_CommandArgumentErrorKind, CongestedObjects, ExecutionError, ExecutionError_ExecutionErrorKind, ExecutionStatus, IndexError, MoveAbort, MoveLocation, PackageUpgradeError, PackageUpgradeError_PackageUpgradeErrorKind, SizeError, TypeArgumentError, TypeArgumentError_TypeArgumentErrorKind } from "./sui/rpc/v2/execution_status.mjs";
14
- import { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind } from "./sui/rpc/v2/effects.mjs";
14
+ import { AccumulatorWrite, AccumulatorWrite_AccumulatorOperation, AccumulatorWrite_AccumulatorValue, ChangedObject, ChangedObject_IdOperation, ChangedObject_InputObjectState, ChangedObject_OutputObjectState, EventDigestEntry, TransactionEffects, UnchangedConsensusObject, UnchangedConsensusObject_UnchangedConsensusObjectKind } from "./sui/rpc/v2/effects.mjs";
15
15
  import { Event, TransactionEvents } from "./sui/rpc/v2/event.mjs";
16
16
  import { SignatureScheme } from "./sui/rpc/v2/signature_scheme.mjs";
17
17
  import { CircomG1, CircomG2, MultisigAggregatedSignature, MultisigCommittee, MultisigMember, MultisigMemberPublicKey, MultisigMemberSignature, PasskeyAuthenticator, SimpleSignature, UserSignature, ValidatorAggregatedSignature, ValidatorCommittee, ValidatorCommitteeMember, ZkLoginAuthenticator, ZkLoginClaim, ZkLoginInputs, ZkLoginProof, ZkLoginPublicIdentifier } from "./sui/rpc/v2/signature.mjs";
@@ -29,6 +29,7 @@ import { SignatureVerificationService, VerifySignatureRequest, VerifySignatureRe
29
29
  import { Balance, CoinMetadata, CoinMetadata_MetadataCapState, CoinTreasury, CoinTreasury_SupplyState, DynamicField, DynamicField_DynamicFieldKind, GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse, RegulatedCoinMetadata, RegulatedCoinMetadata_CoinRegulatedState, StateService } from "./sui/rpc/v2/state_service.mjs";
30
30
  import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscriptionService } from "./sui/rpc/v2/subscription_service.mjs";
31
31
  import { LookupNameRequest, LookupNameResponse, NameRecord, NameService, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./sui/rpc/v2/name_service.mjs";
32
+ import { AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, ForkingService, GetStatusRequest, GetStatusResponse } from "./sui/forking/v1alpha/forking_service.mjs";
32
33
  import { ErrorReason } from "./sui/rpc/v2/error_reason.mjs";
33
34
 
34
35
  //#region src/grpc/proto/types.ts
@@ -36,8 +37,13 @@ var types_exports = /* @__PURE__ */ __exportAll({
36
37
  Ability: () => Ability,
37
38
  AccumulatorWrite: () => AccumulatorWrite,
38
39
  AccumulatorWrite_AccumulatorOperation: () => AccumulatorWrite_AccumulatorOperation,
40
+ AccumulatorWrite_AccumulatorValue: () => AccumulatorWrite_AccumulatorValue,
39
41
  ActiveJwk: () => ActiveJwk,
40
42
  AddressAliasesVersion: () => AddressAliasesVersion,
43
+ AdvanceCheckpointRequest: () => AdvanceCheckpointRequest,
44
+ AdvanceCheckpointResponse: () => AdvanceCheckpointResponse,
45
+ AdvanceClockRequest: () => AdvanceClockRequest,
46
+ AdvanceClockResponse: () => AdvanceClockResponse,
41
47
  Argument: () => Argument,
42
48
  Argument_ArgumentKind: () => Argument_ArgumentKind,
43
49
  AuthenticatorStateExpire: () => AuthenticatorStateExpire,
@@ -89,6 +95,7 @@ var types_exports = /* @__PURE__ */ __exportAll({
89
95
  Epoch: () => Epoch,
90
96
  ErrorReason: () => ErrorReason,
91
97
  Event: () => Event,
98
+ EventDigestEntry: () => EventDigestEntry,
92
99
  ExecuteTransactionRequest: () => ExecuteTransactionRequest,
93
100
  ExecuteTransactionResponse: () => ExecuteTransactionResponse,
94
101
  ExecutedTransaction: () => ExecutedTransaction,
@@ -99,6 +106,7 @@ var types_exports = /* @__PURE__ */ __exportAll({
99
106
  ExecutionTimeObservation_ExecutionTimeObservationKind: () => ExecutionTimeObservation_ExecutionTimeObservationKind,
100
107
  ExecutionTimeObservations: () => ExecutionTimeObservations,
101
108
  FieldDescriptor: () => FieldDescriptor,
109
+ ForkingService: () => ForkingService,
102
110
  FunctionDescriptor: () => FunctionDescriptor,
103
111
  FunctionDescriptor_Visibility: () => FunctionDescriptor_Visibility,
104
112
  FundsWithdrawal: () => FundsWithdrawal,
@@ -125,6 +133,8 @@ var types_exports = /* @__PURE__ */ __exportAll({
125
133
  GetPackageResponse: () => GetPackageResponse,
126
134
  GetServiceInfoRequest: () => GetServiceInfoRequest,
127
135
  GetServiceInfoResponse: () => GetServiceInfoResponse,
136
+ GetStatusRequest: () => GetStatusRequest,
137
+ GetStatusResponse: () => GetStatusResponse,
128
138
  GetTransactionRequest: () => GetTransactionRequest,
129
139
  GetTransactionResponse: () => GetTransactionResponse,
130
140
  GetTransactionResult: () => GetTransactionResult,
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/grpc/proto/types.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * ######################################\n * ### DO NOT EDIT THIS FILE DIRECTLY ###\n * ######################################\n *\n * This file is auto-generated by scripts/generate-grpc-types.ts\n * Run `pnpm codegen:grpc` to regenerate.\n */\n\n// Re-export all gRPC proto types for easy consumption\nexport * from './sui/rpc/v2/argument.js';\nexport * from './sui/rpc/v2/balance_change.js';\nexport * from './sui/rpc/v2/bcs.js';\nexport * from './sui/rpc/v2/checkpoint.js';\nexport * from './sui/rpc/v2/checkpoint_contents.js';\nexport * from './sui/rpc/v2/checkpoint_summary.js';\nexport * from './sui/rpc/v2/effects.js';\nexport * from './sui/rpc/v2/epoch.js';\nexport * from './sui/rpc/v2/error_reason.js';\nexport * from './sui/rpc/v2/event.js';\nexport * from './sui/rpc/v2/executed_transaction.js';\nexport * from './sui/rpc/v2/execution_status.js';\nexport * from './sui/rpc/v2/gas_cost_summary.js';\nexport * from './sui/rpc/v2/input.js';\nexport * from './sui/rpc/v2/jwk.js';\nexport * from './sui/rpc/v2/ledger_service.js';\nexport * from './sui/rpc/v2/move_package.js';\nexport * from './sui/rpc/v2/move_package_service.js';\nexport * from './sui/rpc/v2/name_service.js';\nexport * from './sui/rpc/v2/object.js';\nexport * from './sui/rpc/v2/object_reference.js';\nexport * from './sui/rpc/v2/owner.js';\nexport * from './sui/rpc/v2/protocol_config.js';\nexport * from './sui/rpc/v2/signature.js';\nexport * from './sui/rpc/v2/signature_scheme.js';\nexport * from './sui/rpc/v2/signature_verification_service.js';\nexport * from './sui/rpc/v2/state_service.js';\nexport * from './sui/rpc/v2/subscription_service.js';\nexport * from './sui/rpc/v2/system_state.js';\nexport * from './sui/rpc/v2/transaction.js';\nexport * from './sui/rpc/v2/transaction_execution_service.js';\n"],"mappings":""}
1
+ {"version":3,"file":"types.mjs","names":[],"sources":["../../../src/grpc/proto/types.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * ######################################\n * ### DO NOT EDIT THIS FILE DIRECTLY ###\n * ######################################\n *\n * This file is auto-generated by scripts/generate-grpc-types.ts\n * Run `pnpm codegen:grpc` to regenerate.\n */\n\n// Re-export all gRPC proto types for easy consumption\nexport * from './sui/rpc/v2/argument.js';\nexport * from './sui/rpc/v2/balance_change.js';\nexport * from './sui/rpc/v2/bcs.js';\nexport * from './sui/rpc/v2/checkpoint.js';\nexport * from './sui/rpc/v2/checkpoint_contents.js';\nexport * from './sui/rpc/v2/checkpoint_summary.js';\nexport * from './sui/rpc/v2/effects.js';\nexport * from './sui/rpc/v2/epoch.js';\nexport * from './sui/rpc/v2/error_reason.js';\nexport * from './sui/rpc/v2/event.js';\nexport * from './sui/rpc/v2/executed_transaction.js';\nexport * from './sui/rpc/v2/execution_status.js';\nexport * from './sui/rpc/v2/gas_cost_summary.js';\nexport * from './sui/rpc/v2/input.js';\nexport * from './sui/rpc/v2/jwk.js';\nexport * from './sui/rpc/v2/ledger_service.js';\nexport * from './sui/rpc/v2/move_package.js';\nexport * from './sui/rpc/v2/move_package_service.js';\nexport * from './sui/rpc/v2/name_service.js';\nexport * from './sui/rpc/v2/object.js';\nexport * from './sui/rpc/v2/object_reference.js';\nexport * from './sui/rpc/v2/owner.js';\nexport * from './sui/rpc/v2/protocol_config.js';\nexport * from './sui/rpc/v2/signature.js';\nexport * from './sui/rpc/v2/signature_scheme.js';\nexport * from './sui/rpc/v2/signature_verification_service.js';\nexport * from './sui/rpc/v2/state_service.js';\nexport * from './sui/rpc/v2/subscription_service.js';\nexport * from './sui/rpc/v2/system_state.js';\nexport * from './sui/rpc/v2/transaction.js';\nexport * from './sui/rpc/v2/transaction_execution_service.js';\nexport * from './sui/forking/v1alpha/forking_service.js';\n"],"mappings":""}
@@ -126,8 +126,8 @@ interface GetObjectParams {
126
126
  signal?: AbortSignal;
127
127
  }
128
128
  /**
129
- * Return the protocol config table for the given version number. If the version number is not
130
- * specified, If none is specified, the node uses the version of the latest epoch it has processed.
129
+ * Return the protocol config table for the given version number. If none is specified, the node uses
130
+ * the version of the latest epoch it has processed.
131
131
  */
132
132
  interface GetProtocolConfigParams {
133
133
  /**
@@ -507,7 +507,7 @@ interface UnsafePayAllSuiParams {
507
507
  * input_coin to create new coin following the order of amounts and assign it to the corresponding
508
508
  * recipient. 2. accumulate all residual SUI from input coins left and deposit all SUI to the first
509
509
  * input coin, then use the first input coin as the gas coin object. 3. the balance of the first input
510
- * coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost 4. all other input coints other
510
+ * coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost 4. all other input coins other
511
511
  * than the first one are deleted.
512
512
  */
513
513
  interface UnsafePaySuiParams {
@@ -578,7 +578,7 @@ interface UnsafeRequestWithdrawStakeParams {
578
578
  interface UnsafeSplitCoinParams {
579
579
  /** the transaction signer's Sui address */
580
580
  signer: string;
581
- /** the coin object to be spilt */
581
+ /** the coin object to be split */
582
582
  coinObjectId: string;
583
583
  /** the amounts to split out from the coin */
584
584
  splitAmounts: string[];
@@ -595,7 +595,7 @@ interface UnsafeSplitCoinParams {
595
595
  interface UnsafeSplitCoinEqualParams {
596
596
  /** the transaction signer's Sui address */
597
597
  signer: string;
598
- /** the coin object to be spilt */
598
+ /** the coin object to be split */
599
599
  coinObjectId: string;
600
600
  /** the number of coins to split into */
601
601
  splitCount: string;
@@ -8,7 +8,7 @@ import { createPure } from "./pure.mjs";
8
8
  import { SignatureWithBytes, Signer } from "../cryptography/keypair.mjs";
9
9
  import "../cryptography/index.mjs";
10
10
  import { ClientWithCoreApi } from "../client/core.mjs";
11
- import * as _mysten_bcs1124 from "@mysten/bcs";
11
+ import * as _mysten_bcs823 from "@mysten/bcs";
12
12
  import { SerializedBcs } from "@mysten/bcs";
13
13
  import { InferInput } from "valibot";
14
14
 
@@ -77,7 +77,7 @@ declare class Transaction {
77
77
  getData(): {
78
78
  version: 2;
79
79
  sender?: string | null | undefined;
80
- expiration?: _mysten_bcs1124.EnumOutputShapeWithKeys<{
80
+ expiration?: _mysten_bcs823.EnumOutputShapeWithKeys<{
81
81
  None: true;
82
82
  Epoch: string | number;
83
83
  ValidDuring: {
@@ -88,7 +88,7 @@ declare class Transaction {
88
88
  chain: string;
89
89
  nonce: number;
90
90
  };
91
- }, "None" | "Epoch" | "ValidDuring"> | null | undefined;
91
+ }, "Epoch" | "None" | "ValidDuring"> | null | undefined;
92
92
  gasData: {
93
93
  budget: string | number | null;
94
94
  price: string | number | null;
@@ -99,8 +99,8 @@ declare class Transaction {
99
99
  digest: string;
100
100
  }[] | null;
101
101
  };
102
- inputs: _mysten_bcs1124.EnumOutputShapeWithKeys<{
103
- Object: _mysten_bcs1124.EnumOutputShapeWithKeys<{
102
+ inputs: _mysten_bcs823.EnumOutputShapeWithKeys<{
103
+ Object: _mysten_bcs823.EnumOutputShapeWithKeys<{
104
104
  ImmOrOwnedObject: {
105
105
  objectId: string;
106
106
  version: string | number;
@@ -116,7 +116,7 @@ declare class Transaction {
116
116
  version: string | number;
117
117
  digest: string;
118
118
  };
119
- }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
119
+ }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
120
120
  Pure: {
121
121
  bytes: string;
122
122
  };
@@ -139,13 +139,13 @@ declare class Transaction {
139
139
  Balance: string;
140
140
  $kind: "Balance";
141
141
  };
142
- withdrawFrom: _mysten_bcs1124.EnumOutputShapeWithKeys<{
142
+ withdrawFrom: _mysten_bcs823.EnumOutputShapeWithKeys<{
143
143
  Sender: true;
144
144
  Sponsor: true;
145
145
  }, "Sender" | "Sponsor">;
146
146
  };
147
- }, "Pure" | "Object" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
148
- commands: _mysten_bcs1124.EnumOutputShapeWithKeys<{
147
+ }, "Object" | "Pure" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
148
+ commands: _mysten_bcs823.EnumOutputShapeWithKeys<{
149
149
  MoveCall: {
150
150
  package: string;
151
151
  module: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Transaction.d.mts","names":[],"sources":["../../src/transactions/Transaction.ts"],"mappings":";;;;;;;;;;;;;;;KAyCY,yBAAA,GACT,OAAA,CAAQ,UAAA,QAAkB,cAAA;EAAmB,KAAA;EAAgB,IAAA;AAAA,OAE7D,EAAA,EAAI,WAAA,KACC,OAAA,CAAQ,UAAA,QAAkB,cAAA;EAAmB,KAAA;EAAgB,IAAA;AAAA,MAClE,qBAAA,CAAsB,yBAAA;AAAA,KAEb,iBAAA,GAAoB,OAAA,CAAQ,QAAA;EAAY,MAAA;AAAA,KACnD,OAAA,CAAQ,QAAA;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AA;IAAQ;EAAA;IAAU,MAAA;IAAkC,IAAA;EAAA;IAChE,KAAA;IACA,KAAA;IACA,IAAA;EAAA;;;;;EAuBD,SAAA,CAAA;EAIM,MAAA,CAAO,OAAA,GAAS,2BAAA,GAAmC,OAAA;;EAmBnD,IAAA,CAAK,OAAA,EAAS,WAAA,GAAc,OAAA,CAAQ,kBAAA;;;;;;;;;;EAe1C,0BAAA,CAA2B,OAAA;IAAW,gBAAA;EAAA;;;;;;;;;;;;EA2BtC,eAAA,CAAA;EArbI;EAscE,KAAA,CAAM,OAAA,GAAS,uBAAA,GAA+B,OAAA,CAAQ,UAAA,CAAW,WAAA;;EASjE,SAAA,CACL,OAAA;IACC,MAAA,GAAS,iBAAA;EAAA,IAER,OAAA;EAsJG,uBAAA,CAAwB,OAAA,EAAS,2BAAA,GAA2B,OAAA;AAAA"}
package/dist/version.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/version.ts
2
- const PACKAGE_VERSION = "2.16.3";
2
+ const PACKAGE_VERSION = "2.17.0";
3
3
 
4
4
  //#endregion
5
5
  export { PACKAGE_VERSION };
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '2.16.3';\n"],"mappings":";AAKA,MAAa,kBAAkB"}
1
+ {"version":3,"file":"version.mjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// This file is generated by genversion.mjs. Do not edit it directly.\n\nexport const PACKAGE_VERSION = '2.17.0';\n"],"mappings":";AAKA,MAAa,kBAAkB"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mysten Labs <build@mystenlabs.com>",
4
4
  "description": "Sui TypeScript API",
5
5
  "homepage": "https://sdk.mystenlabs.com",
6
- "version": "2.16.3",
6
+ "version": "2.17.0",
7
7
  "license": "Apache-2.0",
8
8
  "sideEffects": false,
9
9
  "files": [
@@ -178,7 +178,7 @@
178
178
  "codegen:version": "node genversion.mjs",
179
179
  "codegen:grpc": "rm -rf src/grpc/proto && mkdir src/grpc/proto && pnpm codegen:grpc-protoc && pnpm codegen:grpc-header && pnpm codegen:grpc-extensions && pnpm codegen:grpc-types",
180
180
  "codegen:grpc-types": "tsx scripts/generate-grpc-types.ts",
181
- "codegen:grpc-protoc": "protoc --ts_out ./src/grpc/proto --ts_opt force_server_none --ts_opt optimize_code_size --ts_opt ts_nocheck -I ../../../sui-apis/proto -I ../../../sui-apis/proto ../../../sui-apis/proto/sui/rpc/v2/*.proto ../../../sui-apis/proto/google/*/*.proto",
181
+ "codegen:grpc-protoc": "protoc --ts_out ./src/grpc/proto --ts_opt force_server_none --ts_opt optimize_code_size --ts_opt ts_nocheck -I ../../../sui-apis/proto -I ../../../sui/crates/sui-fork/proto ../../../sui-apis/proto/sui/rpc/v2/*.proto ../../../sui-apis/proto/google/*/*.proto ../../../sui/crates/sui-fork/proto/sui/forking/v1alpha/*.proto",
182
182
  "codegen:grpc-header": "find src/grpc/proto -type f -exec sh -c 'echo \"// Copyright (c) Mysten Labs, Inc.\\n// SPDX-License-Identifier: Apache-2.0\\n\" | cat - {} > temp && mv temp {}' \\;",
183
183
  "codegen:grpc-extensions": "find src/grpc/proto -name '*.ts' | xargs sed -i '' -E 's/from \"(\\.[^\"]+)\"/from \"\\1.js\"/g'",
184
184
  "build": "rm -rf dist && node genversion.mjs && tsc --noEmit && tsdown",
@@ -1991,6 +1991,14 @@ export type Input = {
1991
1991
  ix?: Maybe<Scalars['Int']['output']>;
1992
1992
  };
1993
1993
 
1994
+ /** An enum that specifies the intent scope for signature verification. */
1995
+ export enum IntentScope {
1996
+ /** Indicates that the bytes are to be parsed as a personal message. */
1997
+ PersonalMessage = 'PERSONAL_MESSAGE',
1998
+ /** Indicates that the bytes are to be parsed as transaction data bytes. */
1999
+ TransactionData = 'TRANSACTION_DATA'
2000
+ }
2001
+
1994
2002
  /** Information used by a package to link to a specific version of its dependency. */
1995
2003
  export type Linkage = {
1996
2004
  __typename?: 'Linkage';
@@ -3706,7 +3714,9 @@ export type Query = {
3706
3714
  /** The network's genesis checkpoint digest (uniquely identifies the network), Base58-encoded. */
3707
3715
  chainIdentifier: Scalars['String']['output'];
3708
3716
  /**
3709
- * Fetch a checkpoint by its sequence number, or the latest checkpoint if no sequence number is provided.
3717
+ * Fetch a checkpoint by its sequence number or digest, or the latest checkpoint if neither is provided.
3718
+ *
3719
+ * It is an error to specify both `sequenceNumber` and `digest`.
3710
3720
  *
3711
3721
  * Returns `null` if the checkpoint does not exist in the store, either because it never existed or because it was pruned.
3712
3722
  */
@@ -3882,6 +3892,22 @@ export type Query = {
3882
3892
  * Fails if the type is malformed, returns `null` if a type mentioned does not exist.
3883
3893
  */
3884
3894
  type?: Maybe<MoveType>;
3895
+ /**
3896
+ * Verify a signature is from the given `author`.
3897
+ *
3898
+ * Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, and
3899
+ * Passkey.
3900
+ *
3901
+ * Returns successfully if the signature is valid. If the signature is invalid, returns an
3902
+ * error with the reason for the failure.
3903
+ *
3904
+ * - `message` is either a serialized personal message or `TransactionData`, Base64-encoded.
3905
+ * - `signature` is a serialized signature, also Base64-encoded.
3906
+ * - `intentScope` indicates whether `message` is to be parsed as a personal message or
3907
+ * `TransactionData`.
3908
+ * - `author` is the signer's address.
3909
+ */
3910
+ verifySignature?: Maybe<SignatureVerifyResult>;
3885
3911
  /**
3886
3912
  * Verify a zkLogin signature is from the given `author`.
3887
3913
  *
@@ -3891,6 +3917,7 @@ export type Query = {
3891
3917
  * - `signature` is a serialized zkLogin signature, also Base64-encoded.
3892
3918
  * - `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
3893
3919
  * - `author` is the signer's address.
3920
+ * @deprecated Use `verifySignature` instead, which supports all signature types.
3894
3921
  */
3895
3922
  verifyZkLoginSignature?: Maybe<ZkLoginVerifyResult>;
3896
3923
  };
@@ -3905,6 +3932,7 @@ export type QueryAddressArgs = {
3905
3932
 
3906
3933
 
3907
3934
  export type QueryCheckpointArgs = {
3935
+ digest?: InputMaybe<Scalars['String']['input']>;
3908
3936
  sequenceNumber?: InputMaybe<Scalars['UInt53']['input']>;
3909
3937
  };
3910
3938
 
@@ -4084,6 +4112,14 @@ export type QueryTypeArgs = {
4084
4112
  };
4085
4113
 
4086
4114
 
4115
+ export type QueryVerifySignatureArgs = {
4116
+ author: Scalars['SuiAddress']['input'];
4117
+ intentScope: IntentScope;
4118
+ message: Scalars['Base64']['input'];
4119
+ signature: Scalars['Base64']['input'];
4120
+ };
4121
+
4122
+
4087
4123
  export type QueryVerifyZkLoginSignatureArgs = {
4088
4124
  author: Scalars['SuiAddress']['input'];
4089
4125
  bytes: Scalars['Base64']['input'];
@@ -4308,6 +4344,13 @@ export type SharedInput = {
4308
4344
  /** The structured details of a signature, varying by scheme. */
4309
4345
  export type SignatureScheme = Ed25519Signature | MultisigSignature | PasskeySignature | Secp256K1Signature | Secp256R1Signature | ZkLoginSignature;
4310
4346
 
4347
+ /** The result of signature verification. */
4348
+ export type SignatureVerifyResult = {
4349
+ __typename?: 'SignatureVerifyResult';
4350
+ /** Whether the signature was verified successfully. */
4351
+ success?: Maybe<Scalars['Boolean']['output']>;
4352
+ };
4353
+
4311
4354
  /** The result of simulating a transaction, including the predicted effects. */
4312
4355
  export type SimulationResult = {
4313
4356
  __typename?: 'SimulationResult';
@@ -4435,6 +4478,8 @@ export type TransactionEffects = {
4435
4478
  transaction?: Maybe<Transaction>;
4436
4479
  /** The unchanged consensus-managed objects that were referenced by this transaction. */
4437
4480
  unchangedConsensusObjects?: Maybe<UnchangedConsensusObjectConnection>;
4481
+ /** The schema version of the effects struct. */
4482
+ version?: Maybe<Scalars['Int']['output']>;
4438
4483
  };
4439
4484
 
4440
4485
 
@@ -1808,6 +1808,20 @@ type Input {
1808
1808
  }
1809
1809
 
1810
1810
 
1811
+ """
1812
+ An enum that specifies the intent scope for signature verification.
1813
+ """
1814
+ enum IntentScope {
1815
+ """
1816
+ Indicates that the bytes are to be parsed as transaction data bytes.
1817
+ """
1818
+ TRANSACTION_DATA
1819
+ """
1820
+ Indicates that the bytes are to be parsed as a personal message.
1821
+ """
1822
+ PERSONAL_MESSAGE
1823
+ }
1824
+
1811
1825
  """
1812
1826
  Arbitrary JSON data.
1813
1827
  """
@@ -3486,11 +3500,13 @@ type Query {
3486
3500
  """
3487
3501
  chainIdentifier: String!
3488
3502
  """
3489
- Fetch a checkpoint by its sequence number, or the latest checkpoint if no sequence number is provided.
3503
+ Fetch a checkpoint by its sequence number or digest, or the latest checkpoint if neither is provided.
3504
+
3505
+ It is an error to specify both `sequenceNumber` and `digest`.
3490
3506
 
3491
3507
  Returns `null` if the checkpoint does not exist in the store, either because it never existed or because it was pruned.
3492
3508
  """
3493
- checkpoint(sequenceNumber: UInt53): Checkpoint
3509
+ checkpoint(sequenceNumber: UInt53, digest: String): Checkpoint
3494
3510
  """
3495
3511
  Paginate checkpoints in the network, optionally bounded to checkpoints in the given epoch.
3496
3512
  """
@@ -3681,6 +3697,22 @@ type Query {
3681
3697
  """
3682
3698
  type(type: String!): MoveType
3683
3699
  """
3700
+ Verify a signature is from the given `author`.
3701
+
3702
+ Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, and
3703
+ Passkey.
3704
+
3705
+ Returns successfully if the signature is valid. If the signature is invalid, returns an
3706
+ error with the reason for the failure.
3707
+
3708
+ - `message` is either a serialized personal message or `TransactionData`, Base64-encoded.
3709
+ - `signature` is a serialized signature, also Base64-encoded.
3710
+ - `intentScope` indicates whether `message` is to be parsed as a personal message or
3711
+ `TransactionData`.
3712
+ - `author` is the signer's address.
3713
+ """
3714
+ verifySignature(message: Base64!, signature: Base64!, intentScope: IntentScope!, author: SuiAddress!): SignatureVerifyResult
3715
+ """
3684
3716
  Verify a zkLogin signature is from the given `author`.
3685
3717
 
3686
3718
  Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
@@ -3690,7 +3722,7 @@ type Query {
3690
3722
  - `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
3691
3723
  - `author` is the signer's address.
3692
3724
  """
3693
- verifyZkLoginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult
3725
+ verifyZkLoginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult @deprecated(reason: "Use `verifySignature` instead, which supports all signature types.")
3694
3726
  }
3695
3727
 
3696
3728
  """
@@ -3976,6 +4008,16 @@ The structured details of a signature, varying by scheme.
3976
4008
  """
3977
4009
  union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature
3978
4010
 
4011
+ """
4012
+ The result of signature verification.
4013
+ """
4014
+ type SignatureVerifyResult {
4015
+ """
4016
+ Whether the signature was verified successfully.
4017
+ """
4018
+ success: Boolean
4019
+ }
4020
+
3979
4021
  """
3980
4022
  The result of simulating a transaction, including the predicted effects.
3981
4023
  """
@@ -4194,6 +4236,10 @@ type TransactionEffects {
4194
4236
  The unchanged consensus-managed objects that were referenced by this transaction.
4195
4237
  """
4196
4238
  unchangedConsensusObjects(first: Int, after: String, last: Int, before: String): UnchangedConsensusObjectConnection
4239
+ """
4240
+ The schema version of the effects struct.
4241
+ """
4242
+ version: Int
4197
4243
  }
4198
4244
 
4199
4245
  input TransactionFilter {