@mysten/sui 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/bcs/bcs.d.ts +47 -111
- package/dist/cjs/bcs/bcs.js +17 -17
- package/dist/cjs/bcs/bcs.js.map +2 -2
- package/dist/cjs/bcs/effects.d.ts +2 -6
- package/dist/cjs/bcs/effects.js +1 -1
- package/dist/cjs/bcs/effects.js.map +2 -2
- package/dist/cjs/bcs/index.d.ts +49 -117
- package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/cjs/bcs/type-tag-serializer.js +5 -1
- package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
- package/dist/cjs/cryptography/intent.js +1 -1
- package/dist/cjs/cryptography/intent.js.map +2 -2
- package/dist/cjs/cryptography/keypair.js +1 -1
- package/dist/cjs/cryptography/keypair.js.map +2 -2
- package/dist/cjs/cryptography/publickey.js +1 -1
- package/dist/cjs/cryptography/publickey.js.map +2 -2
- package/dist/cjs/cryptography/signature.d.ts +2 -2
- package/dist/cjs/experimental/client.js +0 -4
- package/dist/cjs/experimental/client.js.map +2 -2
- package/dist/cjs/experimental/types.d.ts +1 -7
- package/dist/cjs/experimental/types.js.map +1 -1
- package/dist/cjs/graphql/generated/queries.d.ts +1 -1
- package/dist/cjs/graphql/generated/queries.js.map +1 -1
- package/dist/cjs/grpc/client.d.ts +7 -7
- package/dist/cjs/grpc/client.js +7 -7
- package/dist/cjs/grpc/client.js.map +2 -2
- package/dist/cjs/grpc/core.d.ts +4 -2
- package/dist/cjs/grpc/core.js +19 -22
- package/dist/cjs/grpc/core.js.map +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/balance_change.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint.d.ts +19 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +4 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/effects.d.ts +28 -23
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +15 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/epoch.d.ts +5 -5
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +12 -17
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +2 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/execution_status.d.ts +44 -44
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +16 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/input.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +88 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.d.ts +16 -16
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.d.ts +42 -42
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +17 -17
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package.d.ts +48 -48
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +17 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package_service.client.d.ts +10 -10
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/move_package_service.d.ts +23 -23
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +10 -10
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/name_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +14 -14
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.d.ts +26 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +11 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +78 -65
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +32 -27
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +4 -4
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.d.ts +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +99 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.d.ts → v2/state_service.d.ts} +65 -183
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +33 -139
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +6 -6
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +2 -2
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +7 -7
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +3 -3
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +38 -38
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +9 -9
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +284 -264
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +103 -159
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/{esm/grpc/proto/sui/rpc/v2beta2 → cjs/grpc/proto/sui/rpc/v2}/transaction_execution_service.client.d.ts +14 -10
- package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +14 -4
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +159 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/cjs/jsonRpc/client.d.ts +2 -6
- package/dist/cjs/jsonRpc/client.js +0 -8
- package/dist/cjs/jsonRpc/client.js.map +2 -2
- package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/cjs/multisig/publickey.d.ts +10 -10
- package/dist/cjs/multisig/publickey.js +2 -2
- package/dist/cjs/multisig/publickey.js.map +2 -2
- package/dist/cjs/transactions/TransactionData.d.ts +1 -0
- package/dist/cjs/transactions/TransactionData.js +71 -0
- package/dist/cjs/transactions/TransactionData.js.map +3 -3
- package/dist/cjs/transactions/serializer.js +1 -1
- package/dist/cjs/transactions/serializer.js.map +2 -2
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.js +2 -0
- package/dist/cjs/utils/index.js.map +2 -2
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +2 -2
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/zklogin/bcs.d.ts +1 -3
- package/dist/cjs/zklogin/bcs.js +1 -1
- package/dist/cjs/zklogin/bcs.js.map +2 -2
- package/dist/cjs/zklogin/publickey.d.ts +1 -1
- package/dist/cjs/zklogin/signature.d.ts +1 -1
- package/dist/esm/bcs/bcs.d.ts +47 -111
- package/dist/esm/bcs/bcs.js +17 -17
- package/dist/esm/bcs/bcs.js.map +2 -2
- package/dist/esm/bcs/effects.d.ts +2 -6
- package/dist/esm/bcs/effects.js +1 -1
- package/dist/esm/bcs/effects.js.map +2 -2
- package/dist/esm/bcs/index.d.ts +49 -117
- package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
- package/dist/esm/bcs/type-tag-serializer.js +5 -1
- package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
- package/dist/esm/cryptography/intent.js +1 -1
- package/dist/esm/cryptography/intent.js.map +2 -2
- package/dist/esm/cryptography/keypair.js +1 -1
- package/dist/esm/cryptography/keypair.js.map +2 -2
- package/dist/esm/cryptography/publickey.js +1 -1
- package/dist/esm/cryptography/publickey.js.map +2 -2
- package/dist/esm/cryptography/signature.d.ts +2 -2
- package/dist/esm/experimental/client.js +0 -4
- package/dist/esm/experimental/client.js.map +2 -2
- package/dist/esm/experimental/types.d.ts +1 -7
- package/dist/esm/graphql/generated/queries.d.ts +1 -1
- package/dist/esm/graphql/generated/queries.js.map +1 -1
- package/dist/esm/grpc/client.d.ts +7 -7
- package/dist/esm/grpc/client.js +7 -7
- package/dist/esm/grpc/client.js.map +2 -2
- package/dist/esm/grpc/core.d.ts +4 -2
- package/dist/esm/grpc/core.js +19 -22
- package/dist/esm/grpc/core.js.map +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/balance_change.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint.d.ts +19 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.js +4 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_contents.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/checkpoint_summary.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.js +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/effects.d.ts +28 -23
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.js +15 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/epoch.d.ts +5 -5
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/event.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/executed_transaction.d.ts +12 -17
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.js +3 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/execution_status.d.ts +44 -44
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.js +16 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/gas_cost_summary.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/input.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/input.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +70 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +68 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.d.ts +16 -16
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.js +7 -7
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.d.ts +42 -42
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.js +17 -17
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package.d.ts +48 -48
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.js +17 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package_service.client.d.ts +10 -10
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.js +4 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/move_package_service.d.ts +23 -23
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.js +10 -10
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/name_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.d.ts +14 -14
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.js +6 -6
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.d.ts +26 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object.js +11 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.d.ts +2 -2
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.d.ts +78 -65
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.js +32 -27
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/signature_scheme.d.ts +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.d.ts +4 -4
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.js +1 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.d.ts +9 -9
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.js +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +79 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.d.ts → v2/state_service.d.ts} +65 -183
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2/live_data_service.js → v2/state_service.js} +30 -136
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.client.d.ts +6 -6
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.js +2 -2
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.d.ts +7 -7
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.js +3 -3
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.d.ts +38 -38
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.js +9 -9
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.d.ts +284 -264
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.js +101 -157
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +7 -0
- package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/transaction_execution_service.client.d.ts +14 -10
- package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.js +14 -4
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +139 -0
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/esm/jsonRpc/client.d.ts +2 -6
- package/dist/esm/jsonRpc/client.js +0 -8
- package/dist/esm/jsonRpc/client.js.map +2 -2
- package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
- package/dist/esm/multisig/publickey.d.ts +10 -10
- package/dist/esm/multisig/publickey.js +2 -2
- package/dist/esm/multisig/publickey.js.map +2 -2
- package/dist/esm/transactions/TransactionData.d.ts +1 -0
- package/dist/esm/transactions/TransactionData.js +71 -0
- package/dist/esm/transactions/TransactionData.js.map +3 -3
- package/dist/esm/transactions/serializer.js +1 -1
- package/dist/esm/transactions/serializer.js.map +2 -2
- package/dist/esm/utils/index.d.ts +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +2 -2
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/zklogin/bcs.d.ts +1 -3
- package/dist/esm/zklogin/bcs.js +1 -1
- package/dist/esm/zklogin/bcs.js.map +2 -2
- package/dist/esm/zklogin/publickey.d.ts +1 -1
- package/dist/esm/zklogin/signature.d.ts +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/bcs/bcs.ts +17 -17
- package/src/bcs/effects.ts +1 -1
- package/src/bcs/type-tag-serializer.ts +4 -0
- package/src/cryptography/intent.ts +1 -1
- package/src/cryptography/keypair.ts +1 -1
- package/src/cryptography/publickey.ts +1 -1
- package/src/experimental/client.ts +0 -4
- package/src/experimental/types.ts +4 -17
- package/src/graphql/generated/queries.ts +1 -1
- package/src/grpc/client.ts +8 -8
- package/src/grpc/core.ts +48 -34
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/argument.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/balance_change.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/bcs.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint.ts +22 -8
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_contents.ts +10 -10
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/checkpoint_summary.ts +19 -19
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/effects.ts +43 -31
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/epoch.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.ts +2 -2
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/event.ts +10 -10
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/executed_transaction.ts +15 -33
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/execution_status.ts +61 -61
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/gas_cost_summary.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/input.ts +7 -7
- package/src/grpc/proto/sui/rpc/v2/jwk.ts +94 -0
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.client.ts +17 -17
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/ledger_service.ts +60 -60
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package.ts +66 -69
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.client.ts +11 -11
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/move_package_service.ts +34 -34
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.client.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/name_service.ts +21 -21
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/object.ts +33 -8
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/object_reference.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/owner.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/protocol_config.ts +4 -4
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature.ts +105 -102
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.ts +2 -2
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.client.ts +5 -5
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_verification_service.ts +13 -13
- package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +161 -0
- package/src/grpc/proto/sui/rpc/{v2beta2/live_data_service.ts → v2/state_service.ts} +91 -268
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.client.ts +7 -7
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/subscription_service.ts +11 -11
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/system_state.ts +48 -48
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction.ts +349 -387
- package/src/grpc/proto/sui/rpc/{v2beta2 → v2}/transaction_execution_service.client.ts +31 -11
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +282 -0
- package/src/jsonRpc/client.ts +2 -17
- package/src/multisig/publickey.ts +14 -14
- package/src/transactions/TransactionData.ts +100 -1
- package/src/transactions/serializer.ts +1 -1
- package/src/utils/index.ts +1 -0
- package/src/version.ts +2 -2
- package/src/zklogin/bcs.ts +1 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -0
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -94
- package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +0 -81
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -92
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +0 -7
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +0 -115
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +0 -74
- package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +0 -7
- package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.client.ts +0 -187
- package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.ts +0 -178
- /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
- /package/dist/cjs/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
- /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/error_reason.js +0 -0
- /package/dist/esm/grpc/proto/sui/rpc/{v2beta2 → v2}/signature_scheme.js +0 -0
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
2
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
3
|
-
import { Value } from "../../../google/protobuf/struct.js";
|
|
4
3
|
import { Bcs } from "./bcs.js";
|
|
5
|
-
import { Argument } from "./argument.js";
|
|
6
|
-
import { ExecutedTransaction } from "./executed_transaction.js";
|
|
7
|
-
import { Transaction } from "./transaction.js";
|
|
8
4
|
import { Object } from "./object.js";
|
|
9
5
|
import { FieldMask } from "../../../google/protobuf/field_mask.js";
|
|
10
6
|
var CoinMetadata_MetadataCapState = /* @__PURE__ */ ((CoinMetadata_MetadataCapState2) => {
|
|
@@ -32,14 +28,9 @@ var DynamicField_DynamicFieldKind = /* @__PURE__ */ ((DynamicField_DynamicFieldK
|
|
|
32
28
|
DynamicField_DynamicFieldKind2[DynamicField_DynamicFieldKind2["OBJECT"] = 2] = "OBJECT";
|
|
33
29
|
return DynamicField_DynamicFieldKind2;
|
|
34
30
|
})(DynamicField_DynamicFieldKind || {});
|
|
35
|
-
var SimulateTransactionRequest_TransactionChecks = /* @__PURE__ */ ((SimulateTransactionRequest_TransactionChecks2) => {
|
|
36
|
-
SimulateTransactionRequest_TransactionChecks2[SimulateTransactionRequest_TransactionChecks2["ENABLED"] = 0] = "ENABLED";
|
|
37
|
-
SimulateTransactionRequest_TransactionChecks2[SimulateTransactionRequest_TransactionChecks2["DISABLED"] = 1] = "DISABLED";
|
|
38
|
-
return SimulateTransactionRequest_TransactionChecks2;
|
|
39
|
-
})(SimulateTransactionRequest_TransactionChecks || {});
|
|
40
31
|
class GetCoinInfoRequest$Type extends MessageType {
|
|
41
32
|
constructor() {
|
|
42
|
-
super("sui.rpc.
|
|
33
|
+
super("sui.rpc.v2.GetCoinInfoRequest", [
|
|
43
34
|
{
|
|
44
35
|
no: 1,
|
|
45
36
|
name: "coin_type",
|
|
@@ -54,7 +45,7 @@ class GetCoinInfoRequest$Type extends MessageType {
|
|
|
54
45
|
const GetCoinInfoRequest = new GetCoinInfoRequest$Type();
|
|
55
46
|
class GetCoinInfoResponse$Type extends MessageType {
|
|
56
47
|
constructor() {
|
|
57
|
-
super("sui.rpc.
|
|
48
|
+
super("sui.rpc.v2.GetCoinInfoResponse", [
|
|
58
49
|
{
|
|
59
50
|
no: 1,
|
|
60
51
|
name: "coin_type",
|
|
@@ -72,7 +63,7 @@ class GetCoinInfoResponse$Type extends MessageType {
|
|
|
72
63
|
const GetCoinInfoResponse = new GetCoinInfoResponse$Type();
|
|
73
64
|
class CoinMetadata$Type extends MessageType {
|
|
74
65
|
constructor() {
|
|
75
|
-
super("sui.rpc.
|
|
66
|
+
super("sui.rpc.v2.CoinMetadata", [
|
|
76
67
|
{
|
|
77
68
|
no: 1,
|
|
78
69
|
name: "id",
|
|
@@ -134,7 +125,7 @@ class CoinMetadata$Type extends MessageType {
|
|
|
134
125
|
name: "metadata_cap_state",
|
|
135
126
|
kind: "enum",
|
|
136
127
|
opt: true,
|
|
137
|
-
T: () => ["sui.rpc.
|
|
128
|
+
T: () => ["sui.rpc.v2.CoinMetadata.MetadataCapState", CoinMetadata_MetadataCapState]
|
|
138
129
|
}
|
|
139
130
|
]);
|
|
140
131
|
}
|
|
@@ -142,7 +133,7 @@ class CoinMetadata$Type extends MessageType {
|
|
|
142
133
|
const CoinMetadata = new CoinMetadata$Type();
|
|
143
134
|
class CoinTreasury$Type extends MessageType {
|
|
144
135
|
constructor() {
|
|
145
|
-
super("sui.rpc.
|
|
136
|
+
super("sui.rpc.v2.CoinTreasury", [
|
|
146
137
|
{
|
|
147
138
|
no: 1,
|
|
148
139
|
name: "id",
|
|
@@ -164,7 +155,7 @@ class CoinTreasury$Type extends MessageType {
|
|
|
164
155
|
name: "supply_state",
|
|
165
156
|
kind: "enum",
|
|
166
157
|
opt: true,
|
|
167
|
-
T: () => ["sui.rpc.
|
|
158
|
+
T: () => ["sui.rpc.v2.CoinTreasury.SupplyState", CoinTreasury_SupplyState]
|
|
168
159
|
}
|
|
169
160
|
]);
|
|
170
161
|
}
|
|
@@ -172,7 +163,7 @@ class CoinTreasury$Type extends MessageType {
|
|
|
172
163
|
const CoinTreasury = new CoinTreasury$Type();
|
|
173
164
|
class RegulatedCoinMetadata$Type extends MessageType {
|
|
174
165
|
constructor() {
|
|
175
|
-
super("sui.rpc.
|
|
166
|
+
super("sui.rpc.v2.RegulatedCoinMetadata", [
|
|
176
167
|
{
|
|
177
168
|
no: 1,
|
|
178
169
|
name: "id",
|
|
@@ -218,7 +209,7 @@ class RegulatedCoinMetadata$Type extends MessageType {
|
|
|
218
209
|
kind: "enum",
|
|
219
210
|
opt: true,
|
|
220
211
|
T: () => [
|
|
221
|
-
"sui.rpc.
|
|
212
|
+
"sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState",
|
|
222
213
|
RegulatedCoinMetadata_CoinRegulatedState
|
|
223
214
|
]
|
|
224
215
|
}
|
|
@@ -228,7 +219,7 @@ class RegulatedCoinMetadata$Type extends MessageType {
|
|
|
228
219
|
const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();
|
|
229
220
|
class GetBalanceRequest$Type extends MessageType {
|
|
230
221
|
constructor() {
|
|
231
|
-
super("sui.rpc.
|
|
222
|
+
super("sui.rpc.v2.GetBalanceRequest", [
|
|
232
223
|
{
|
|
233
224
|
no: 1,
|
|
234
225
|
name: "owner",
|
|
@@ -251,7 +242,7 @@ class GetBalanceRequest$Type extends MessageType {
|
|
|
251
242
|
const GetBalanceRequest = new GetBalanceRequest$Type();
|
|
252
243
|
class GetBalanceResponse$Type extends MessageType {
|
|
253
244
|
constructor() {
|
|
254
|
-
super("sui.rpc.
|
|
245
|
+
super("sui.rpc.v2.GetBalanceResponse", [
|
|
255
246
|
{ no: 1, name: "balance", kind: "message", T: () => Balance }
|
|
256
247
|
]);
|
|
257
248
|
}
|
|
@@ -259,7 +250,7 @@ class GetBalanceResponse$Type extends MessageType {
|
|
|
259
250
|
const GetBalanceResponse = new GetBalanceResponse$Type();
|
|
260
251
|
class ListBalancesRequest$Type extends MessageType {
|
|
261
252
|
constructor() {
|
|
262
|
-
super("sui.rpc.
|
|
253
|
+
super("sui.rpc.v2.ListBalancesRequest", [
|
|
263
254
|
{
|
|
264
255
|
no: 1,
|
|
265
256
|
name: "owner",
|
|
@@ -290,7 +281,7 @@ class ListBalancesRequest$Type extends MessageType {
|
|
|
290
281
|
const ListBalancesRequest = new ListBalancesRequest$Type();
|
|
291
282
|
class ListBalancesResponse$Type extends MessageType {
|
|
292
283
|
constructor() {
|
|
293
|
-
super("sui.rpc.
|
|
284
|
+
super("sui.rpc.v2.ListBalancesResponse", [
|
|
294
285
|
{
|
|
295
286
|
no: 1,
|
|
296
287
|
name: "balances",
|
|
@@ -312,7 +303,7 @@ class ListBalancesResponse$Type extends MessageType {
|
|
|
312
303
|
const ListBalancesResponse = new ListBalancesResponse$Type();
|
|
313
304
|
class Balance$Type extends MessageType {
|
|
314
305
|
constructor() {
|
|
315
|
-
super("sui.rpc.
|
|
306
|
+
super("sui.rpc.v2.Balance", [
|
|
316
307
|
{
|
|
317
308
|
no: 1,
|
|
318
309
|
name: "coin_type",
|
|
@@ -335,7 +326,7 @@ class Balance$Type extends MessageType {
|
|
|
335
326
|
const Balance = new Balance$Type();
|
|
336
327
|
class ListDynamicFieldsRequest$Type extends MessageType {
|
|
337
328
|
constructor() {
|
|
338
|
-
super("sui.rpc.
|
|
329
|
+
super("sui.rpc.v2.ListDynamicFieldsRequest", [
|
|
339
330
|
{
|
|
340
331
|
no: 1,
|
|
341
332
|
name: "parent",
|
|
@@ -367,7 +358,7 @@ class ListDynamicFieldsRequest$Type extends MessageType {
|
|
|
367
358
|
const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();
|
|
368
359
|
class ListDynamicFieldsResponse$Type extends MessageType {
|
|
369
360
|
constructor() {
|
|
370
|
-
super("sui.rpc.
|
|
361
|
+
super("sui.rpc.v2.ListDynamicFieldsResponse", [
|
|
371
362
|
{
|
|
372
363
|
no: 1,
|
|
373
364
|
name: "dynamic_fields",
|
|
@@ -389,13 +380,13 @@ class ListDynamicFieldsResponse$Type extends MessageType {
|
|
|
389
380
|
const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();
|
|
390
381
|
class DynamicField$Type extends MessageType {
|
|
391
382
|
constructor() {
|
|
392
|
-
super("sui.rpc.
|
|
383
|
+
super("sui.rpc.v2.DynamicField", [
|
|
393
384
|
{
|
|
394
385
|
no: 1,
|
|
395
386
|
name: "kind",
|
|
396
387
|
kind: "enum",
|
|
397
388
|
opt: true,
|
|
398
|
-
T: () => ["sui.rpc.
|
|
389
|
+
T: () => ["sui.rpc.v2.DynamicField.DynamicFieldKind", DynamicField_DynamicFieldKind]
|
|
399
390
|
},
|
|
400
391
|
{
|
|
401
392
|
no: 2,
|
|
@@ -413,24 +404,11 @@ class DynamicField$Type extends MessageType {
|
|
|
413
404
|
T: 9
|
|
414
405
|
/*ScalarType.STRING*/
|
|
415
406
|
},
|
|
407
|
+
{ no: 4, name: "field_object", kind: "message", T: () => Object },
|
|
408
|
+
{ no: 5, name: "name", kind: "message", T: () => Bcs },
|
|
409
|
+
{ no: 6, name: "value", kind: "message", T: () => Bcs },
|
|
416
410
|
{
|
|
417
|
-
no:
|
|
418
|
-
name: "name_type",
|
|
419
|
-
kind: "scalar",
|
|
420
|
-
opt: true,
|
|
421
|
-
T: 9
|
|
422
|
-
/*ScalarType.STRING*/
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
no: 5,
|
|
426
|
-
name: "name_value",
|
|
427
|
-
kind: "scalar",
|
|
428
|
-
opt: true,
|
|
429
|
-
T: 12
|
|
430
|
-
/*ScalarType.BYTES*/
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
no: 6,
|
|
411
|
+
no: 7,
|
|
434
412
|
name: "value_type",
|
|
435
413
|
kind: "scalar",
|
|
436
414
|
opt: true,
|
|
@@ -438,94 +416,21 @@ class DynamicField$Type extends MessageType {
|
|
|
438
416
|
/*ScalarType.STRING*/
|
|
439
417
|
},
|
|
440
418
|
{
|
|
441
|
-
no:
|
|
442
|
-
name: "
|
|
419
|
+
no: 8,
|
|
420
|
+
name: "child_id",
|
|
443
421
|
kind: "scalar",
|
|
444
422
|
opt: true,
|
|
445
423
|
T: 9
|
|
446
424
|
/*ScalarType.STRING*/
|
|
447
425
|
},
|
|
448
|
-
{ no:
|
|
426
|
+
{ no: 9, name: "child_object", kind: "message", T: () => Object }
|
|
449
427
|
]);
|
|
450
428
|
}
|
|
451
429
|
}
|
|
452
430
|
const DynamicField = new DynamicField$Type();
|
|
453
|
-
class SimulateTransactionRequest$Type extends MessageType {
|
|
454
|
-
constructor() {
|
|
455
|
-
super("sui.rpc.v2beta2.SimulateTransactionRequest", [
|
|
456
|
-
{ no: 1, name: "transaction", kind: "message", T: () => Transaction },
|
|
457
|
-
{ no: 2, name: "read_mask", kind: "message", T: () => FieldMask },
|
|
458
|
-
{
|
|
459
|
-
no: 3,
|
|
460
|
-
name: "checks",
|
|
461
|
-
kind: "enum",
|
|
462
|
-
opt: true,
|
|
463
|
-
T: () => [
|
|
464
|
-
"sui.rpc.v2beta2.SimulateTransactionRequest.TransactionChecks",
|
|
465
|
-
SimulateTransactionRequest_TransactionChecks
|
|
466
|
-
]
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
no: 4,
|
|
470
|
-
name: "do_gas_selection",
|
|
471
|
-
kind: "scalar",
|
|
472
|
-
opt: true,
|
|
473
|
-
T: 8
|
|
474
|
-
/*ScalarType.BOOL*/
|
|
475
|
-
}
|
|
476
|
-
]);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
const SimulateTransactionRequest = new SimulateTransactionRequest$Type();
|
|
480
|
-
class SimulateTransactionResponse$Type extends MessageType {
|
|
481
|
-
constructor() {
|
|
482
|
-
super("sui.rpc.v2beta2.SimulateTransactionResponse", [
|
|
483
|
-
{ no: 1, name: "transaction", kind: "message", T: () => ExecutedTransaction },
|
|
484
|
-
{
|
|
485
|
-
no: 2,
|
|
486
|
-
name: "outputs",
|
|
487
|
-
kind: "message",
|
|
488
|
-
repeat: 1,
|
|
489
|
-
T: () => CommandResult
|
|
490
|
-
}
|
|
491
|
-
]);
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
const SimulateTransactionResponse = new SimulateTransactionResponse$Type();
|
|
495
|
-
class CommandResult$Type extends MessageType {
|
|
496
|
-
constructor() {
|
|
497
|
-
super("sui.rpc.v2beta2.CommandResult", [
|
|
498
|
-
{
|
|
499
|
-
no: 1,
|
|
500
|
-
name: "return_values",
|
|
501
|
-
kind: "message",
|
|
502
|
-
repeat: 1,
|
|
503
|
-
T: () => CommandOutput
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
no: 2,
|
|
507
|
-
name: "mutated_by_ref",
|
|
508
|
-
kind: "message",
|
|
509
|
-
repeat: 1,
|
|
510
|
-
T: () => CommandOutput
|
|
511
|
-
}
|
|
512
|
-
]);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
const CommandResult = new CommandResult$Type();
|
|
516
|
-
class CommandOutput$Type extends MessageType {
|
|
517
|
-
constructor() {
|
|
518
|
-
super("sui.rpc.v2beta2.CommandOutput", [
|
|
519
|
-
{ no: 1, name: "argument", kind: "message", T: () => Argument },
|
|
520
|
-
{ no: 2, name: "value", kind: "message", T: () => Bcs },
|
|
521
|
-
{ no: 3, name: "json", kind: "message", T: () => Value }
|
|
522
|
-
]);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
const CommandOutput = new CommandOutput$Type();
|
|
526
431
|
class ListOwnedObjectsRequest$Type extends MessageType {
|
|
527
432
|
constructor() {
|
|
528
|
-
super("sui.rpc.
|
|
433
|
+
super("sui.rpc.v2.ListOwnedObjectsRequest", [
|
|
529
434
|
{
|
|
530
435
|
no: 1,
|
|
531
436
|
name: "owner",
|
|
@@ -565,7 +470,7 @@ class ListOwnedObjectsRequest$Type extends MessageType {
|
|
|
565
470
|
const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();
|
|
566
471
|
class ListOwnedObjectsResponse$Type extends MessageType {
|
|
567
472
|
constructor() {
|
|
568
|
-
super("sui.rpc.
|
|
473
|
+
super("sui.rpc.v2.ListOwnedObjectsResponse", [
|
|
569
474
|
{ no: 1, name: "objects", kind: "message", repeat: 1, T: () => Object },
|
|
570
475
|
{
|
|
571
476
|
no: 2,
|
|
@@ -579,7 +484,7 @@ class ListOwnedObjectsResponse$Type extends MessageType {
|
|
|
579
484
|
}
|
|
580
485
|
}
|
|
581
486
|
const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();
|
|
582
|
-
const
|
|
487
|
+
const StateService = new ServiceType("sui.rpc.v2.StateService", [
|
|
583
488
|
{
|
|
584
489
|
name: "ListDynamicFields",
|
|
585
490
|
options: {},
|
|
@@ -594,13 +499,7 @@ const LiveDataService = new ServiceType("sui.rpc.v2beta2.LiveDataService", [
|
|
|
594
499
|
},
|
|
595
500
|
{ name: "GetCoinInfo", options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },
|
|
596
501
|
{ name: "GetBalance", options: {}, I: GetBalanceRequest, O: GetBalanceResponse },
|
|
597
|
-
{ name: "ListBalances", options: {}, I: ListBalancesRequest, O: ListBalancesResponse }
|
|
598
|
-
{
|
|
599
|
-
name: "SimulateTransaction",
|
|
600
|
-
options: {},
|
|
601
|
-
I: SimulateTransactionRequest,
|
|
602
|
-
O: SimulateTransactionResponse
|
|
603
|
-
}
|
|
502
|
+
{ name: "ListBalances", options: {}, I: ListBalancesRequest, O: ListBalancesResponse }
|
|
604
503
|
]);
|
|
605
504
|
export {
|
|
606
505
|
Balance,
|
|
@@ -608,8 +507,6 @@ export {
|
|
|
608
507
|
CoinMetadata_MetadataCapState,
|
|
609
508
|
CoinTreasury,
|
|
610
509
|
CoinTreasury_SupplyState,
|
|
611
|
-
CommandOutput,
|
|
612
|
-
CommandResult,
|
|
613
510
|
DynamicField,
|
|
614
511
|
DynamicField_DynamicFieldKind,
|
|
615
512
|
GetBalanceRequest,
|
|
@@ -622,11 +519,8 @@ export {
|
|
|
622
519
|
ListDynamicFieldsResponse,
|
|
623
520
|
ListOwnedObjectsRequest,
|
|
624
521
|
ListOwnedObjectsResponse,
|
|
625
|
-
LiveDataService,
|
|
626
522
|
RegulatedCoinMetadata,
|
|
627
523
|
RegulatedCoinMetadata_CoinRegulatedState,
|
|
628
|
-
|
|
629
|
-
SimulateTransactionRequest_TransactionChecks,
|
|
630
|
-
SimulateTransactionResponse
|
|
524
|
+
StateService
|
|
631
525
|
};
|
|
632
|
-
//# sourceMappingURL=
|
|
526
|
+
//# sourceMappingURL=state_service.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/state_service.ts"],
|
|
4
|
+
"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/state_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 { Bcs } from './bcs.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n\t/**\n\t * The coin type to request information about\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n\t/**\n\t * Required. The coin type.\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata metadata = 2;\n\t */\n\tmetadata?: CoinMetadata;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury treasury = 3;\n\t */\n\ttreasury?: CoinTreasury;\n\t/**\n\t * If this coin type is a regulated coin, this field will be\n\t * populated with information either from its Currency object\n\t * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n\t * object for coins that have not been migrated to the CoinRegistry\n\t *\n\t * If this coin is not known to be regulated, only the\n\t * coin_regulated_state field will be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata regulated_metadata = 4;\n\t */\n\tregulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2.CoinMetadata\n */\nexport interface CoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::CoinMetadata` object or\n\t * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Number of decimal places to coin uses.\n\t *\n\t * @generated from protobuf field: optional uint32 decimals = 2;\n\t */\n\tdecimals?: number;\n\t/**\n\t * Name for the token\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n\t/**\n\t * Symbol for the token\n\t *\n\t * @generated from protobuf field: optional string symbol = 4;\n\t */\n\tsymbol?: string;\n\t/**\n\t * Description of the token\n\t *\n\t * @generated from protobuf field: optional string description = 5;\n\t */\n\tdescription?: string;\n\t/**\n\t * URL for the token logo\n\t *\n\t * @generated from protobuf field: optional string icon_url = 6;\n\t */\n\ticonUrl?: string;\n\t/**\n\t * The MetadataCap ID if it has been claimed for this coin type.\n\t * This capability allows updating the coin's metadata fields.\n\t * Only populated when metadata is from CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string metadata_cap_id = 7;\n\t */\n\tmetadataCapId?: string;\n\t/**\n\t * State of the MetadataCap for this coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n\t */\n\tmetadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n\t/**\n\t * Indicates the state of the MetadataCap is unknown.\n\t * Set when the coin has not been migrated to the CoinRegistry.\n\t *\n\t * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t */\n\tMETADATA_CAP_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates the MetadataCap has been claimed.\n\t *\n\t * @generated from protobuf enum value: CLAIMED = 1;\n\t */\n\tCLAIMED = 1,\n\t/**\n\t * Indicates the MetadataCap has not been claimed.\n\t *\n\t * @generated from protobuf enum value: UNCLAIMED = 2;\n\t */\n\tUNCLAIMED = 2,\n\t/**\n\t * Indicates the MetadataCap has been deleted.\n\t *\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2.CoinTreasury\n */\nexport interface CoinTreasury {\n\t/**\n\t * ObjectId of the `0x2::coin::TreasuryCap` object.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Total available supply for this coin type.\n\t *\n\t * @generated from protobuf field: optional uint64 total_supply = 2;\n\t */\n\ttotalSupply?: bigint;\n\t/**\n\t * Supply state indicating if the supply is fixed or can still be minted\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury.SupplyState supply_state = 3;\n\t */\n\tsupplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n\t/**\n\t * Supply is unknown or TreasuryCap still exists (minting still possible)\n\t *\n\t * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t */\n\tSUPPLY_STATE_UNKNOWN = 0,\n\t/**\n\t * Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t *\n\t * @generated from protobuf enum value: FIXED = 1;\n\t */\n\tFIXED = 1,\n\t/**\n\t * Supply can only decrease (burning allowed, minting not allowed)\n\t *\n\t * @generated from protobuf enum value: BURN_ONLY = 2;\n\t */\n\tBURN_ONLY = 2,\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n\t * Only present for coins that have not been migrated to CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The ID of the coin's `CoinMetadata` or `CoinData` object.\n\t *\n\t * @generated from protobuf field: optional string coin_metadata_object = 2;\n\t */\n\tcoinMetadataObject?: string;\n\t/**\n\t * The ID of the coin's `DenyCap` object.\n\t *\n\t * @generated from protobuf field: optional string deny_cap_object = 3;\n\t */\n\tdenyCapObject?: string;\n\t/**\n\t * Whether the coin can be globally paused\n\t *\n\t * @generated from protobuf field: optional bool allow_global_pause = 4;\n\t */\n\tallowGlobalPause?: boolean;\n\t/**\n\t * Variant of the regulated coin metadata\n\t *\n\t * @generated from protobuf field: optional uint32 variant = 5;\n\t */\n\tvariant?: number;\n\t/**\n\t * Indicates the coin's regulated state.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n\t */\n\tcoinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n\t/**\n\t * Indicates the regulation state of the coin is unknown.\n\t * This is set when a coin has not been migrated to the\n\t * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t * object.\n\t *\n\t * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t */\n\tCOIN_REGULATED_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t *\n\t * @generated from protobuf enum value: REGULATED = 1;\n\t */\n\tREGULATED = 1,\n\t/**\n\t * Indicates a coin is unregulated.\n\t *\n\t * @generated from protobuf enum value: UNREGULATED = 2;\n\t */\n\tUNREGULATED = 2,\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 2;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n\t/**\n\t * The balance information for the requested coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Balance balance = 1;\n\t */\n\tbalance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of balance entries to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListBalances` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListBalances` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n\t/**\n\t * The list of coin types and their respective balances.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Balance balances = 1;\n\t */\n\tbalances: Balance[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2.Balance\n */\nexport interface Balance {\n\t/**\n\t * The type of the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * Shows the total balance of the coin in its smallest unit.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 3;\n\t */\n\tbalance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n\t/**\n\t * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n\t *\n\t * @generated from protobuf field: optional string parent = 1;\n\t */\n\tparent?: string;\n\t/**\n\t * The maximum number of dynamic fields to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListDynamicFields` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListDynamicFields` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `parent,field_id`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.DynamicField dynamic_fields = 1;\n\t */\n\tdynamicFields: DynamicField[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.DynamicField\n */\nexport interface DynamicField {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.DynamicField.DynamicFieldKind kind = 1;\n\t */\n\tkind?: DynamicField_DynamicFieldKind;\n\t/**\n\t * ObjectId of this dynamic field's parent.\n\t *\n\t * @generated from protobuf field: optional string parent = 2;\n\t */\n\tparent?: string;\n\t/**\n\t * ObjectId of this dynamic field.\n\t *\n\t * @generated from protobuf field: optional string field_id = 3;\n\t */\n\tfieldId?: string;\n\t/**\n\t * The field object itself\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object field_object = 4;\n\t */\n\tfieldObject?: Object;\n\t/**\n\t * The dynamic field's \"name\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs name = 5;\n\t */\n\tname?: Bcs;\n\t/**\n\t * The dynamic field's \"value\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 6;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * The type of the dynamic field \"value\".\n\t *\n\t * If this is a dynamic object field then this is the type of the object\n\t * itself (which is a child of this field), otherwise this is the type of the\n\t * value of this field.\n\t *\n\t * @generated from protobuf field: optional string value_type = 7;\n\t */\n\tvalueType?: string;\n\t/**\n\t * The ObjectId of the child object when a child is a dynamic\n\t * object field.\n\t *\n\t * The presence or absence of this field can be used to determine if a child\n\t * is a dynamic field or a dynamic child object\n\t *\n\t * @generated from protobuf field: optional string child_id = 8;\n\t */\n\tchildId?: string;\n\t/**\n\t * The object itself when a child is a dynamic object field.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object child_object = 9;\n\t */\n\tchildObject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n\t/**\n\t * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t */\n\tDYNAMIC_FIELD_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD = 1;\n\t */\n\tFIELD = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n\t/**\n\t * Required. The address of the account that owns the objects.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of entries return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListOwnedObjects` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListOwnedObjects` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,object_type`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional type filter to limit the types of objects listed.\n\t *\n\t * Providing an object type with no type params will return objects of that\n\t * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n\t * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n\t * with a type param will restrict the returned objects to only those objects\n\t * that match the provided type parameters, e.g.\n\t * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n\t */\n\tobjects: Object[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoRequest', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoResponse', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'metadata', kind: 'message', T: () => CoinMetadata },\n\t\t\t{ no: 3, name: 'treasury', kind: 'message', T: () => CoinTreasury },\n\t\t\t{ no: 4, name: 'regulated_metadata', kind: 'message', T: () => RegulatedCoinMetadata },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'decimals', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'symbol', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'icon_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'metadata_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'metadata_cap_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinMetadata.MetadataCapState', CoinMetadata_MetadataCapState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinTreasury', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'total_supply',\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: 'supply_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinTreasury.SupplyState', CoinTreasury_SupplyState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.RegulatedCoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'coin_metadata_object',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'deny_cap_object', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'allow_global_pause', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 5, name: 'variant', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'coin_regulated_state',\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.RegulatedCoinMetadata.CoinRegulatedState',\n\t\t\t\t\tRegulatedCoinMetadata_CoinRegulatedState,\n\t\t\t\t],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceResponse', [\n\t\t\t{ no: 1, name: 'balance', kind: 'message', T: () => Balance },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balances',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Balance,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Balance', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'balance',\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.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsRequest', [\n\t\t\t{ no: 1, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'dynamic_fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => DynamicField,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.DynamicField', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.DynamicField.DynamicFieldKind', DynamicField_DynamicFieldKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'field_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'field_object', kind: 'message', T: () => Object },\n\t\t\t{ no: 5, name: 'name', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 6, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 7, name: 'value_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'child_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 9, name: 'child_object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsResponse', [\n\t\t\t{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.StateService\n */\nexport const StateService = new ServiceType('sui.rpc.v2.StateService', [\n\t{\n\t\tname: 'ListDynamicFields',\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse,\n\t},\n\t{\n\t\tname: 'ListOwnedObjects',\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse,\n\t},\n\t{ name: 'GetCoinInfo', options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n\t{ name: 'GetBalance', options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n\t{ name: 'ListBalances', options: {}, I: ListBalancesRequest, O: ListBalancesResponse },\n]);\n"],
|
|
5
|
+
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,WAAW;AACpB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAoHnB,IAAK,gCAAL,kBAAKA,mCAAL;AAON,EAAAA,8DAAA,gCAA6B,KAA7B;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAMA,EAAAA,8DAAA,eAAY,KAAZ;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAzBW,SAAAA;AAAA,GAAA;AAyDL,IAAK,2BAAL,kBAAKC,8BAAL;AAMN,EAAAA,oDAAA,0BAAuB,KAAvB;AAMA,EAAAA,oDAAA,WAAQ,KAAR;AAMA,EAAAA,oDAAA,eAAY,KAAZ;AAlBW,SAAAA;AAAA,GAAA;AAqEL,IAAK,2CAAL,kBAAKC,8CAAL;AASN,EAAAA,oFAAA,kCAA+B,KAA/B;AAMA,EAAAA,oFAAA,eAAY,KAAZ;AAMA,EAAAA,oFAAA,iBAAc,KAAd;AArBW,SAAAA;AAAA,GAAA;AA6PL,IAAK,gCAAL,kBAAKC,mCAAL;AAIN,EAAAA,8DAAA,gCAA6B,KAA7B;AAIA,EAAAA,8DAAA,WAAQ,KAAR;AAIA,EAAAA,8DAAA,YAAS,KAAT;AAZW,SAAAA;AAAA,GAAA;AAkFZ,MAAM,gCAAgC,YAAgC;AAAA,EACrE,cAAc;AACb,UAAM,iCAAiC;AAAA,MACtC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACnF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,qBAAqB,IAAI,wBAAwB;AAE9D,MAAM,iCAAiC,YAAiC;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AK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACrF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,0BAA0B,IAAI,6BAA6B;AAExE,MAAM,sCAAsC,YAAsC;AAAA,EACjF,cAAc;AACb,UAAM,uCAAuC;AAAA,MAC5C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,OAAO;AAAA,MAC5F;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAmB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACzF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;AAInE,MAAM,eAAe,IAAI,YAAY,2BAA2B;AAAA,EACtE;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,gBAAgB,SAAS,CAAC,GAAG,GAAG,qBAAqB,GAAG,qBAAqB;AACtF,CAAC;",
|
|
6
|
+
"names": ["CoinMetadata_MetadataCapState", "CoinTreasury_SupplyState", "RegulatedCoinMetadata_CoinRegulatedState", "DynamicField_DynamicFieldKind"]
|
|
7
|
+
}
|
|
@@ -5,7 +5,7 @@ import type { SubscribeCheckpointsRequest } from './subscription_service.js';
|
|
|
5
5
|
import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
|
|
6
6
|
import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
7
7
|
/**
|
|
8
|
-
* @generated from protobuf service sui.rpc.
|
|
8
|
+
* @generated from protobuf service sui.rpc.v2.SubscriptionService
|
|
9
9
|
*/
|
|
10
10
|
export interface ISubscriptionServiceClient {
|
|
11
11
|
/**
|
|
@@ -17,16 +17,16 @@ export interface ISubscriptionServiceClient {
|
|
|
17
17
|
* guaranteed to return checkpoints in-order and without gaps. This enables
|
|
18
18
|
* clients to know exactly the last checkpoint they have processed and in the
|
|
19
19
|
* event the subscription terminates (either by the client/server or by the
|
|
20
|
-
* connection breaking), clients will be able to
|
|
20
|
+
* connection breaking), clients will be able to reinitialize a subscription
|
|
21
21
|
* and then leverage other APIs in order to request data for the checkpoints
|
|
22
22
|
* they missed.
|
|
23
23
|
*
|
|
24
|
-
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.
|
|
24
|
+
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);
|
|
25
25
|
*/
|
|
26
26
|
subscribeCheckpoints(input: SubscribeCheckpointsRequest, options?: RpcOptions): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* @generated from protobuf service sui.rpc.
|
|
29
|
+
* @generated from protobuf service sui.rpc.v2.SubscriptionService
|
|
30
30
|
*/
|
|
31
31
|
export declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
|
|
32
32
|
private readonly _transport;
|
|
@@ -45,11 +45,11 @@ export declare class SubscriptionServiceClient implements ISubscriptionServiceCl
|
|
|
45
45
|
* guaranteed to return checkpoints in-order and without gaps. This enables
|
|
46
46
|
* clients to know exactly the last checkpoint they have processed and in the
|
|
47
47
|
* event the subscription terminates (either by the client/server or by the
|
|
48
|
-
* connection breaking), clients will be able to
|
|
48
|
+
* connection breaking), clients will be able to reinitialize a subscription
|
|
49
49
|
* and then leverage other APIs in order to request data for the checkpoints
|
|
50
50
|
* they missed.
|
|
51
51
|
*
|
|
52
|
-
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.
|
|
52
|
+
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);
|
|
53
53
|
*/
|
|
54
54
|
subscribeCheckpoints(input: SubscribeCheckpointsRequest, options?: RpcOptions): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;
|
|
55
55
|
}
|
|
@@ -16,11 +16,11 @@ class SubscriptionServiceClient {
|
|
|
16
16
|
* guaranteed to return checkpoints in-order and without gaps. This enables
|
|
17
17
|
* clients to know exactly the last checkpoint they have processed and in the
|
|
18
18
|
* event the subscription terminates (either by the client/server or by the
|
|
19
|
-
* connection breaking), clients will be able to
|
|
19
|
+
* connection breaking), clients will be able to reinitialize a subscription
|
|
20
20
|
* and then leverage other APIs in order to request data for the checkpoints
|
|
21
21
|
* they missed.
|
|
22
22
|
*
|
|
23
|
-
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.
|
|
23
|
+
* @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);
|
|
24
24
|
*/
|
|
25
25
|
subscribeCheckpoints(input, options) {
|
|
26
26
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],
|
|
4
|
+
"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/subscription_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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { SubscriptionService } from './subscription_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { SubscribeCheckpointsResponse } from './subscription_service.js';\nimport type { SubscribeCheckpointsRequest } from './subscription_service.js';\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitialize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n\ttypeName = SubscriptionService.typeName;\n\tmethods = SubscriptionService.methods;\n\toptions = SubscriptionService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitialize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
|
|
5
|
+
"mappings": "AAaA,SAAS,2BAA2B;AACpC,SAAS,sBAAsB;AAgCxB,MAAM,0BAA6E;AAAA,EAIzF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,oBAAoB;AAC/B,mBAAU,oBAAoB;AAC9B,mBAAU,oBAAoB;AAAA,EAC0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBxD,qBACC,OACA,SACiF;AACjF,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/{cjs/grpc/proto/sui/rpc/v2beta2 → esm/grpc/proto/sui/rpc/v2}/subscription_service.d.ts
RENAMED
|
@@ -5,11 +5,11 @@ import { FieldMask } from '../../../google/protobuf/field_mask.js';
|
|
|
5
5
|
/**
|
|
6
6
|
* Request message for SubscriptionService.SubscribeCheckpoints
|
|
7
7
|
*
|
|
8
|
-
* @generated from protobuf message sui.rpc.
|
|
8
|
+
* @generated from protobuf message sui.rpc.v2.SubscribeCheckpointsRequest
|
|
9
9
|
*/
|
|
10
10
|
export interface SubscribeCheckpointsRequest {
|
|
11
11
|
/**
|
|
12
|
-
* Optional. Mask for
|
|
12
|
+
* Optional. Mask for specifying which parts of the
|
|
13
13
|
* SubscribeCheckpointsResponse should be returned.
|
|
14
14
|
*
|
|
15
15
|
* @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;
|
|
@@ -19,7 +19,7 @@ export interface SubscribeCheckpointsRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* Response message for SubscriptionService.SubscribeCheckpoints
|
|
21
21
|
*
|
|
22
|
-
* @generated from protobuf message sui.rpc.
|
|
22
|
+
* @generated from protobuf message sui.rpc.v2.SubscribeCheckpointsResponse
|
|
23
23
|
*/
|
|
24
24
|
export interface SubscribeCheckpointsResponse {
|
|
25
25
|
/**
|
|
@@ -32,7 +32,7 @@ export interface SubscribeCheckpointsResponse {
|
|
|
32
32
|
/**
|
|
33
33
|
* The requested data for this checkpoint
|
|
34
34
|
*
|
|
35
|
-
* @generated from protobuf field: optional sui.rpc.
|
|
35
|
+
* @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 2;
|
|
36
36
|
*/
|
|
37
37
|
checkpoint?: Checkpoint;
|
|
38
38
|
}
|
|
@@ -40,18 +40,18 @@ declare class SubscribeCheckpointsRequest$Type extends MessageType<SubscribeChec
|
|
|
40
40
|
constructor();
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* @generated MessageType for protobuf message sui.rpc.
|
|
43
|
+
* @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsRequest
|
|
44
44
|
*/
|
|
45
45
|
export declare const SubscribeCheckpointsRequest: SubscribeCheckpointsRequest$Type;
|
|
46
46
|
declare class SubscribeCheckpointsResponse$Type extends MessageType<SubscribeCheckpointsResponse> {
|
|
47
47
|
constructor();
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* @generated MessageType for protobuf message sui.rpc.
|
|
50
|
+
* @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsResponse
|
|
51
51
|
*/
|
|
52
52
|
export declare const SubscribeCheckpointsResponse: SubscribeCheckpointsResponse$Type;
|
|
53
53
|
/**
|
|
54
|
-
* @generated ServiceType for protobuf service sui.rpc.
|
|
54
|
+
* @generated ServiceType for protobuf service sui.rpc.v2.SubscriptionService
|
|
55
55
|
*/
|
|
56
56
|
export declare const SubscriptionService: ServiceType;
|
|
57
57
|
export {};
|
|
@@ -4,7 +4,7 @@ import { Checkpoint } from "./checkpoint.js";
|
|
|
4
4
|
import { FieldMask } from "../../../google/protobuf/field_mask.js";
|
|
5
5
|
class SubscribeCheckpointsRequest$Type extends MessageType {
|
|
6
6
|
constructor() {
|
|
7
|
-
super("sui.rpc.
|
|
7
|
+
super("sui.rpc.v2.SubscribeCheckpointsRequest", [
|
|
8
8
|
{ no: 1, name: "read_mask", kind: "message", T: () => FieldMask }
|
|
9
9
|
]);
|
|
10
10
|
}
|
|
@@ -12,7 +12,7 @@ class SubscribeCheckpointsRequest$Type extends MessageType {
|
|
|
12
12
|
const SubscribeCheckpointsRequest = new SubscribeCheckpointsRequest$Type();
|
|
13
13
|
class SubscribeCheckpointsResponse$Type extends MessageType {
|
|
14
14
|
constructor() {
|
|
15
|
-
super("sui.rpc.
|
|
15
|
+
super("sui.rpc.v2.SubscribeCheckpointsResponse", [
|
|
16
16
|
{
|
|
17
17
|
no: 1,
|
|
18
18
|
name: "cursor",
|
|
@@ -26,7 +26,7 @@ class SubscribeCheckpointsResponse$Type extends MessageType {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
const SubscribeCheckpointsResponse = new SubscribeCheckpointsResponse$Type();
|
|
29
|
-
const SubscriptionService = new ServiceType("sui.rpc.
|
|
29
|
+
const SubscriptionService = new ServiceType("sui.rpc.v2.SubscriptionService", [
|
|
30
30
|
{
|
|
31
31
|
name: "SubscribeCheckpoints",
|
|
32
32
|
serverStreaming: true,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.ts"],
|
|
4
|
+
"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/subscription_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 { Checkpoint } from './checkpoint.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for SubscriptionService.SubscribeCheckpoints\n *\n * @generated from protobuf message sui.rpc.v2.SubscribeCheckpointsRequest\n */\nexport interface SubscribeCheckpointsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the\n\t * SubscribeCheckpointsResponse should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for SubscriptionService.SubscribeCheckpoints\n *\n * @generated from protobuf message sui.rpc.v2.SubscribeCheckpointsResponse\n */\nexport interface SubscribeCheckpointsResponse {\n\t/**\n\t * Required. The checkpoint sequence number and value of the current cursor\n\t * into the checkpoint stream\n\t *\n\t * @generated from protobuf field: optional uint64 cursor = 1;\n\t */\n\tcursor?: bigint;\n\t/**\n\t * The requested data for this checkpoint\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 2;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeCheckpointsRequest$Type extends MessageType<SubscribeCheckpointsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SubscribeCheckpointsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsRequest\n */\nexport const SubscribeCheckpointsRequest = new SubscribeCheckpointsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscribeCheckpointsResponse$Type extends MessageType<SubscribeCheckpointsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.SubscribeCheckpointsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'cursor',\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: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.SubscribeCheckpointsResponse\n */\nexport const SubscribeCheckpointsResponse = new SubscribeCheckpointsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.SubscriptionService\n */\nexport const SubscriptionService = new ServiceType('sui.rpc.v2.SubscriptionService', [\n\t{\n\t\tname: 'SubscribeCheckpoints',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: SubscribeCheckpointsRequest,\n\t\tO: SubscribeCheckpointsResponse,\n\t},\n]);\n"],
|
|
5
|
+
"mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAoC1B,MAAM,yCAAyC,YAAyC;AAAA,EACvF,cAAc;AACb,UAAM,0CAA0C;AAAA,MAC/C,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,MAAM,UAAU;AAAA,IACjE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,8BAA8B,IAAI,iCAAiC;AAEhF,MAAM,0CAA0C,YAA0C;AAAA,EACzF,cAAc;AACb,UAAM,2CAA2C;AAAA,MAChD;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,GAAG,MAAM,cAAc,MAAM,WAAW,GAAG,MAAM,WAAW;AAAA,IACnE,CAAC;AAAA,EACF;AACD;AAIO,MAAM,+BAA+B,IAAI,kCAAkC;AAI3E,MAAM,sBAAsB,IAAI,YAAY,kCAAkC;AAAA,EACpF;AAAA,IACC,MAAM;AAAA,IACN,iBAAiB;AAAA,IACjB,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|