@mysten/sui 2.39.0 → 3.0.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 +162 -0
- package/README.md +5 -188
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/bcs/bcs.d.mts.map +1 -1
- package/dist/bcs/bcs.mjs +49 -22
- package/dist/bcs/bcs.mjs.map +1 -1
- package/dist/bcs/effects.mjs +49 -20
- package/dist/bcs/effects.mjs.map +1 -1
- package/dist/bcs/index.d.mts +1441 -624
- package/dist/bcs/index.d.mts.map +1 -1
- package/dist/bcs/index.mjs +2 -1
- package/dist/bcs/index.mjs.map +1 -1
- package/dist/bcs/transactions.d.mts +1059 -0
- package/dist/bcs/transactions.d.mts.map +1 -0
- package/dist/bcs/transactions.mjs +33 -14
- package/dist/bcs/transactions.mjs.map +1 -1
- package/dist/bcs/types.d.mts +6 -1
- package/dist/bcs/types.d.mts.map +1 -1
- package/dist/client/core-resolver.mjs +4 -4
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/client/core.d.mts +55 -4
- package/dist/client/core.d.mts.map +1 -1
- package/dist/client/core.mjs +98 -1
- package/dist/client/core.mjs.map +1 -1
- package/dist/client/errors.mjs +11 -1
- package/dist/client/errors.mjs.map +1 -1
- package/dist/client/index.d.mts +4 -2
- package/dist/client/index.mjs +5 -2
- package/dist/client/mvr.d.mts +12 -2
- package/dist/client/mvr.d.mts.map +1 -1
- package/dist/client/mvr.mjs +34 -13
- package/dist/client/mvr.mjs.map +1 -1
- package/dist/client/query-filters.mjs +80 -76
- package/dist/client/query-filters.mjs.map +1 -1
- package/dist/client/stream/adapter.d.mts +102 -0
- package/dist/client/stream/adapter.d.mts.map +1 -0
- package/dist/client/stream/errors.d.mts +14 -0
- package/dist/client/stream/errors.d.mts.map +1 -0
- package/dist/client/stream/errors.mjs +25 -0
- package/dist/client/stream/errors.mjs.map +1 -0
- package/dist/client/stream/filter.mjs +18 -0
- package/dist/client/stream/filter.mjs.map +1 -0
- package/dist/client/stream/follow.mjs +48 -0
- package/dist/client/stream/follow.mjs.map +1 -0
- package/dist/client/stream/index.d.mts +4 -0
- package/dist/client/stream/pager.mjs +123 -0
- package/dist/client/stream/pager.mjs.map +1 -0
- package/dist/client/stream/plan.mjs +79 -0
- package/dist/client/stream/plan.mjs.map +1 -0
- package/dist/client/stream/position.d.mts +30 -0
- package/dist/client/stream/position.d.mts.map +1 -0
- package/dist/client/stream/position.mjs +121 -0
- package/dist/client/stream/position.mjs.map +1 -0
- package/dist/client/stream/run.d.mts +2 -0
- package/dist/client/stream/run.mjs +99 -0
- package/dist/client/stream/run.mjs.map +1 -0
- package/dist/client/stream/session.mjs +205 -0
- package/dist/client/stream/session.mjs.map +1 -0
- package/dist/client/stream/status.mjs +47 -0
- package/dist/client/stream/status.mjs.map +1 -0
- package/dist/client/stream/token.mjs +80 -0
- package/dist/client/stream/token.mjs.map +1 -0
- package/dist/client/transaction-data.d.mts +12 -0
- package/dist/client/transaction-data.d.mts.map +1 -0
- package/dist/client/transaction-data.mjs +469 -0
- package/dist/client/transaction-data.mjs.map +1 -0
- package/dist/client/transaction-resolver.mjs +102 -58
- package/dist/client/transaction-resolver.mjs.map +1 -1
- package/dist/client/types.d.mts +560 -240
- package/dist/client/types.d.mts.map +1 -1
- package/dist/client/utils.d.mts +3 -1
- package/dist/client/utils.d.mts.map +1 -1
- package/dist/client/utils.mjs +91 -26
- package/dist/client/utils.mjs.map +1 -1
- package/dist/cryptography/index.d.mts +1 -1
- package/dist/cryptography/keypair.d.mts +1 -1
- package/dist/cryptography/publickey.d.mts +11 -0
- package/dist/cryptography/publickey.d.mts.map +1 -1
- package/dist/cryptography/publickey.mjs +12 -1
- package/dist/cryptography/publickey.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +8 -8
- package/dist/cryptography/signature.mjs +18 -7
- package/dist/cryptography/signature.mjs.map +1 -1
- package/dist/graphql/client.d.mts +51 -35
- package/dist/graphql/client.d.mts.map +1 -1
- package/dist/graphql/client.mjs +125 -69
- package/dist/graphql/client.mjs.map +1 -1
- package/dist/graphql/core.d.mts +14 -9
- package/dist/graphql/core.d.mts.map +1 -1
- package/dist/graphql/core.mjs +293 -117
- package/dist/graphql/core.mjs.map +1 -1
- package/dist/graphql/errors.d.mts +20 -0
- package/dist/graphql/errors.d.mts.map +1 -0
- package/dist/graphql/errors.mjs +19 -0
- package/dist/graphql/errors.mjs.map +1 -0
- package/dist/graphql/filters.mjs +32 -0
- package/dist/graphql/filters.mjs.map +1 -0
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs +1216 -208
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +820 -11
- package/dist/graphql/index.d.mts +2 -1
- package/dist/graphql/index.mjs +2 -1
- package/dist/graphql/sse-parser.mjs +82 -0
- package/dist/graphql/sse-parser.mjs.map +1 -0
- package/dist/graphql/stream/families.mjs +306 -0
- package/dist/graphql/stream/families.mjs.map +1 -0
- package/dist/graphql/stream/index.mjs +38 -0
- package/dist/graphql/stream/index.mjs.map +1 -0
- package/dist/graphql/stream/live.mjs +60 -0
- package/dist/graphql/stream/live.mjs.map +1 -0
- package/dist/graphql/stream/page.mjs +38 -0
- package/dist/graphql/stream/page.mjs.map +1 -0
- package/dist/graphql/stream/query.mjs +47 -0
- package/dist/graphql/stream/query.mjs.map +1 -0
- package/dist/graphql/subscribe.mjs +70 -0
- package/dist/graphql/subscribe.mjs.map +1 -0
- package/dist/grpc/client.d.mts +31 -27
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +42 -46
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts +13 -6
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +254 -166
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/filters.mjs +44 -34
- package/dist/grpc/filters.mjs.map +1 -1
- package/dist/grpc/grpc-web-pull.mjs +245 -0
- package/dist/grpc/grpc-web-pull.mjs.map +1 -0
- package/dist/grpc/index.d.mts +2 -1
- package/dist/grpc/index.mjs +1 -1
- package/dist/grpc/network-error.mjs +31 -0
- package/dist/grpc/network-error.mjs.map +1 -0
- package/dist/grpc/proto/google/rpc/error_details.mjs +306 -0
- package/dist/grpc/proto/google/rpc/error_details.mjs.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts +176 -1
- package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs +175 -0
- package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +2 -2
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +111 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +46 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts +24 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +25 -7
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +111 -9
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +63 -19
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature.d.mts +5 -5
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts +5 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs +4 -0
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts +20 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +30 -13
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +20 -14
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +8 -5
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +11 -5
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +6 -0
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +6 -2
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +7 -7
- package/dist/grpc/proto/types.mjs +3 -2
- package/dist/grpc/pull-call.d.mts +20 -0
- package/dist/grpc/pull-call.d.mts.map +1 -0
- package/dist/grpc/pull-call.mjs +28 -0
- package/dist/grpc/pull-call.mjs.map +1 -0
- package/dist/grpc/stream/call.mjs +238 -0
- package/dist/grpc/stream/call.mjs.map +1 -0
- package/dist/grpc/stream/families.d.mts +26 -0
- package/dist/grpc/stream/families.d.mts.map +1 -0
- package/dist/grpc/stream/families.mjs +145 -0
- package/dist/grpc/stream/families.mjs.map +1 -0
- package/dist/grpc/stream/index.d.mts +41 -0
- package/dist/grpc/stream/index.d.mts.map +1 -0
- package/dist/grpc/stream/index.mjs +127 -0
- package/dist/grpc/stream/index.mjs.map +1 -0
- package/dist/grpc/stream/live.mjs +31 -0
- package/dist/grpc/stream/live.mjs.map +1 -0
- package/dist/grpc/stream/page.mjs +120 -0
- package/dist/grpc/stream/page.mjs.map +1 -0
- package/dist/grpc/stream-types.d.mts +28 -0
- package/dist/grpc/stream-types.d.mts.map +1 -0
- package/dist/grpc/transport.d.mts +8 -3
- package/dist/grpc/transport.d.mts.map +1 -1
- package/dist/grpc/transport.mjs +88 -45
- package/dist/grpc/transport.mjs.map +1 -1
- package/dist/jsonRpc/index.d.mts +34 -12
- package/dist/jsonRpc/index.d.mts.map +1 -0
- package/dist/jsonRpc/index.mjs +39 -5
- package/dist/jsonRpc/index.mjs.map +1 -0
- package/dist/jsonRpc/types.d.mts +420 -0
- package/dist/jsonRpc/types.d.mts.map +1 -0
- package/dist/keypairs/passkey/keypair.d.mts +1 -1
- package/dist/multisig/publickey.d.mts +12 -4
- package/dist/multisig/publickey.d.mts.map +1 -1
- package/dist/multisig/publickey.mjs +5 -5
- package/dist/multisig/publickey.mjs.map +1 -1
- package/dist/multisig/signer.d.mts +1 -1
- package/dist/transactions/ObjectCache.d.mts +1 -1
- package/dist/transactions/ObjectCache.mjs +5 -5
- package/dist/transactions/ObjectCache.mjs.map +1 -1
- package/dist/transactions/Transaction.d.mts +14 -13
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/Transaction.mjs +17 -6
- package/dist/transactions/Transaction.mjs.map +1 -1
- package/dist/transactions/data/internal.d.mts +135 -133
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/internal.mjs +2 -1
- package/dist/transactions/data/internal.mjs.map +1 -1
- package/dist/transactions/data/v1.d.mts +239 -239
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v2.d.mts +16 -16
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/transactions/executor/parallel.d.mts +2 -2
- package/dist/transactions/executor/serial.d.mts +1 -1
- package/dist/transactions/executor/serial.mjs +2 -2
- package/dist/transactions/executor/serial.mjs.map +1 -1
- package/dist/transactions/index.d.mts +3 -2
- package/dist/transactions/index.mjs +4 -3
- package/dist/transactions/intents/AllowanceBalance.mjs +1 -1
- package/dist/transactions/intents/CoinWithBalance.mjs +1 -1
- package/dist/transactions/resolve.d.mts +6 -0
- package/dist/transactions/resolve.d.mts.map +1 -1
- package/dist/transactions/resolve.mjs.map +1 -1
- package/dist/transactions/restricted-move-calls.d.mts +25 -0
- package/dist/transactions/restricted-move-calls.d.mts.map +1 -0
- package/dist/transactions/restricted-move-calls.mjs +47 -0
- package/dist/transactions/restricted-move-calls.mjs.map +1 -0
- package/dist/transactions/serializer.d.mts +1 -4
- package/dist/transactions/serializer.d.mts.map +1 -1
- package/dist/transactions/serializer.mjs +1 -44
- package/dist/transactions/serializer.mjs.map +1 -1
- package/dist/transactions/utils.d.mts +0 -1
- package/dist/transactions/utils.d.mts.map +1 -1
- package/dist/transactions/utils.mjs.map +1 -1
- package/dist/utils/abort.mjs +89 -0
- package/dist/utils/abort.mjs.map +1 -0
- package/dist/utils/coin-reservation.mjs +1 -4
- package/dist/utils/coin-reservation.mjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/sui-types.mjs +1 -1
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/verify.d.mts +74 -24
- package/dist/verify/verify.d.mts.map +1 -1
- package/dist/verify/verify.mjs +128 -42
- package/dist/verify/verify.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/dist/zklogin/publickey.d.mts.map +1 -1
- package/dist/zklogin/publickey.mjs +15 -20
- package/dist/zklogin/publickey.mjs.map +1 -1
- package/docs/bcs.md +2 -2
- package/docs/clients/core.md +19 -18
- package/docs/clients/executing.md +53 -8
- package/docs/clients/graphql.md +81 -11
- package/docs/clients/grpc.md +31 -15
- package/docs/clients/index.md +8 -7
- package/docs/clients/querying.md +134 -30
- package/docs/clients/streaming.md +324 -0
- package/docs/cryptography/index.md +85 -58
- package/docs/llms-index.md +4 -2
- package/docs/migrations/sui-2.0/dapp-kit.md +3 -2
- package/docs/migrations/sui-2.0/json-rpc-migration.md +106 -79
- package/docs/migrations/sui-3.0/index.md +250 -0
- package/docs/plugins.md +10 -10
- package/docs/sdk-building.md +3 -4
- package/docs/transactions/coins-and-balances.md +6 -11
- package/docs/transactions/reference.md +36 -1
- package/package.json +3 -4
- package/src/bcs/bcs.ts +80 -41
- package/src/bcs/effects.ts +61 -25
- package/src/bcs/index.ts +2 -0
- package/src/bcs/transactions.ts +36 -17
- package/src/bcs/types.ts +10 -4
- package/src/client/core-resolver.ts +3 -5
- package/src/client/core.ts +180 -8
- package/src/client/errors.ts +12 -0
- package/src/client/index.ts +4 -1
- package/src/client/mvr.ts +37 -10
- package/src/client/query-filters.ts +151 -97
- package/src/client/stream/adapter.ts +110 -0
- package/src/client/stream/errors.ts +40 -0
- package/src/client/stream/filter.ts +17 -0
- package/src/client/stream/follow.ts +63 -0
- package/src/client/stream/index.ts +9 -0
- package/src/client/stream/pager.ts +158 -0
- package/src/client/stream/plan.ts +147 -0
- package/src/client/stream/position.ts +143 -0
- package/src/client/stream/run.ts +147 -0
- package/src/client/stream/session.ts +259 -0
- package/src/client/stream/status.ts +44 -0
- package/src/client/stream/token.ts +104 -0
- package/src/client/transaction-data.ts +587 -0
- package/src/client/transaction-resolver.ts +158 -69
- package/src/client/types.ts +530 -115
- package/src/client/utils.ts +147 -50
- package/src/cryptography/publickey.ts +12 -1
- package/src/cryptography/signature.ts +6 -3
- package/src/graphql/client.ts +204 -135
- package/src/graphql/core.ts +446 -139
- package/src/graphql/errors.ts +24 -0
- package/src/graphql/filters.ts +48 -0
- package/src/graphql/generated/queries.ts +1455 -277
- package/src/graphql/generated/schema.graphql +282 -9
- package/src/graphql/generated/tada-env.ts +933 -4
- package/src/graphql/queries/checkpoints.graphql +34 -0
- package/src/graphql/queries/getDynamicFields.graphql +1 -0
- package/src/graphql/queries/listEvents.graphql +16 -24
- package/src/graphql/queries/streams.graphql +212 -0
- package/src/graphql/queries/transactions.graphql +71 -28
- package/src/graphql/queries/verifySignature.graphql +17 -0
- package/src/graphql/sse-parser.ts +99 -0
- package/src/graphql/stream/families.ts +515 -0
- package/src/graphql/stream/index.ts +55 -0
- package/src/graphql/stream/live.ts +70 -0
- package/src/graphql/stream/page.ts +47 -0
- package/src/graphql/stream/query.ts +52 -0
- package/src/graphql/subscribe.ts +83 -0
- package/src/grpc/client.ts +81 -79
- package/src/grpc/core.ts +388 -274
- package/src/grpc/filters.ts +59 -60
- package/src/grpc/grpc-web-pull.ts +360 -0
- package/src/grpc/index.ts +5 -0
- package/src/grpc/network-error.ts +33 -0
- package/src/grpc/proto/sui/rpc/v2/error_reason.ts +175 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +145 -0
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +43 -1
- package/src/grpc/proto/sui/rpc/v2/query_options.ts +132 -8
- package/src/grpc/proto/sui/rpc/v2/signature.ts +4 -4
- package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +4 -0
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +30 -0
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +16 -10
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +6 -0
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +5 -1
- package/src/grpc/pull-call.ts +54 -0
- package/src/grpc/stream/call.ts +317 -0
- package/src/grpc/stream/families.ts +228 -0
- package/src/grpc/stream/index.ts +182 -0
- package/src/grpc/stream/live.ts +33 -0
- package/src/grpc/stream/page.ts +161 -0
- package/src/grpc/stream-types.ts +33 -0
- package/src/grpc/transport.ts +116 -59
- package/src/jsonRpc/index.ts +60 -17
- package/src/jsonRpc/types.ts +421 -0
- package/src/multisig/publickey.ts +19 -7
- package/src/transactions/ObjectCache.ts +6 -6
- package/src/transactions/Transaction.ts +30 -6
- package/src/transactions/data/internal.ts +2 -0
- package/src/transactions/executor/serial.ts +2 -2
- package/src/transactions/index.ts +8 -1
- package/src/transactions/resolve.ts +6 -0
- package/src/transactions/restricted-move-calls.ts +87 -0
- package/src/transactions/serializer.ts +0 -70
- package/src/transactions/utils.ts +0 -37
- package/src/utils/abort.ts +101 -0
- package/src/verify/index.ts +1 -0
- package/src/verify/verify.ts +190 -62
- package/src/version.ts +1 -1
- package/src/zklogin/publickey.ts +18 -34
- package/dist/client/core-resolver.d.mts +0 -9
- package/dist/client/core-resolver.d.mts.map +0 -1
- package/dist/jsonRpc/client.d.mts +0 -507
- package/dist/jsonRpc/client.d.mts.map +0 -1
- package/dist/jsonRpc/client.mjs +0 -868
- package/dist/jsonRpc/client.mjs.map +0 -1
- package/dist/jsonRpc/core.d.mts +0 -168
- package/dist/jsonRpc/core.d.mts.map +0 -1
- package/dist/jsonRpc/core.mjs +0 -1054
- package/dist/jsonRpc/core.mjs.map +0 -1
- package/dist/jsonRpc/errors.d.mts +0 -27
- package/dist/jsonRpc/errors.d.mts.map +0 -1
- package/dist/jsonRpc/errors.mjs +0 -50
- package/dist/jsonRpc/errors.mjs.map +0 -1
- package/dist/jsonRpc/http-transport.d.mts +0 -62
- package/dist/jsonRpc/http-transport.d.mts.map +0 -1
- package/dist/jsonRpc/http-transport.mjs +0 -60
- package/dist/jsonRpc/http-transport.mjs.map +0 -1
- package/dist/jsonRpc/network.d.mts +0 -9
- package/dist/jsonRpc/network.d.mts.map +0 -1
- package/dist/jsonRpc/network.mjs +0 -18
- package/dist/jsonRpc/network.mjs.map +0 -1
- package/dist/jsonRpc/types/chain.d.mts +0 -169
- package/dist/jsonRpc/types/chain.d.mts.map +0 -1
- package/dist/jsonRpc/types/changes.d.mts +0 -48
- package/dist/jsonRpc/types/changes.d.mts.map +0 -1
- package/dist/jsonRpc/types/coins.d.mts +0 -15
- package/dist/jsonRpc/types/coins.d.mts.map +0 -1
- package/dist/jsonRpc/types/common.d.mts +0 -9
- package/dist/jsonRpc/types/common.d.mts.map +0 -1
- package/dist/jsonRpc/types/generated.d.mts +0 -1976
- package/dist/jsonRpc/types/generated.d.mts.map +0 -1
- package/dist/jsonRpc/types/index.d.mts +0 -6
- package/dist/jsonRpc/types/params.d.mts +0 -898
- package/dist/jsonRpc/types/params.d.mts.map +0 -1
- package/src/graphql/generated/tsconfig.tada.json +0 -11
- package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -15
- package/src/jsonRpc/client.ts +0 -1252
- package/src/jsonRpc/core.ts +0 -1557
- package/src/jsonRpc/errors.ts +0 -57
- package/src/jsonRpc/http-transport.ts +0 -118
- package/src/jsonRpc/network.ts +0 -21
- package/src/jsonRpc/types/chain.ts +0 -190
- package/src/jsonRpc/types/changes.ts +0 -35
- package/src/jsonRpc/types/coins.ts +0 -14
- package/src/jsonRpc/types/common.ts +0 -8
- package/src/jsonRpc/types/generated.ts +0 -2165
- package/src/jsonRpc/types/index.ts +0 -9
- package/src/jsonRpc/types/params.ts +0 -908
|
@@ -110,6 +110,14 @@ type Address implements Node & IAddressable {
|
|
|
110
110
|
"""
|
|
111
111
|
defaultNameRecord: NameRecord
|
|
112
112
|
"""
|
|
113
|
+
Access a derived object using its key.
|
|
114
|
+
|
|
115
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
116
|
+
|
|
117
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
118
|
+
"""
|
|
119
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
120
|
+
"""
|
|
113
121
|
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
114
122
|
|
|
115
123
|
Returns `null` if a dynamic field with that name could not be found attached to the object with this address.
|
|
@@ -138,6 +146,12 @@ type Address implements Node & IAddressable {
|
|
|
138
146
|
"""
|
|
139
147
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
140
148
|
"""
|
|
149
|
+
Access derived objects using their keys and optional version bounds.
|
|
150
|
+
|
|
151
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
152
|
+
"""
|
|
153
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
154
|
+
"""
|
|
141
155
|
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
142
156
|
|
|
143
157
|
Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
@@ -293,6 +307,12 @@ type Balance {
|
|
|
293
307
|
"""
|
|
294
308
|
coinBalance: BigInt
|
|
295
309
|
"""
|
|
310
|
+
Fetch the CoinMetadata for this balance's coin type.
|
|
311
|
+
|
|
312
|
+
Returns `null` if no CoinMetadata object exists for the coin type.
|
|
313
|
+
"""
|
|
314
|
+
coinMetadata: CoinMetadata
|
|
315
|
+
"""
|
|
296
316
|
Coin type for the balance, such as `0x2::sui::SUI`.
|
|
297
317
|
"""
|
|
298
318
|
coinType: MoveType
|
|
@@ -689,6 +709,14 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
689
709
|
"""
|
|
690
710
|
denyCap: MoveObject
|
|
691
711
|
"""
|
|
712
|
+
Access a derived object using its key.
|
|
713
|
+
|
|
714
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
715
|
+
|
|
716
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
717
|
+
"""
|
|
718
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
719
|
+
"""
|
|
692
720
|
Description of the coin.
|
|
693
721
|
"""
|
|
694
722
|
description: String
|
|
@@ -735,6 +763,12 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
|
735
763
|
"""
|
|
736
764
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
737
765
|
"""
|
|
766
|
+
Access derived objects using their keys and optional version bounds.
|
|
767
|
+
|
|
768
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
769
|
+
"""
|
|
770
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
771
|
+
"""
|
|
738
772
|
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
739
773
|
|
|
740
774
|
Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
@@ -988,6 +1022,30 @@ ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. No
|
|
|
988
1022
|
"""
|
|
989
1023
|
scalar DateTime
|
|
990
1024
|
|
|
1025
|
+
"""
|
|
1026
|
+
Identifies a derived object under one parent object.
|
|
1027
|
+
|
|
1028
|
+
At most one of `version`, `rootVersion`, or `atCheckpoint` may be specified.
|
|
1029
|
+
"""
|
|
1030
|
+
input DerivedObjectKey {
|
|
1031
|
+
"""
|
|
1032
|
+
If specified, fetch the latest version of the derived object as of this checkpoint.
|
|
1033
|
+
"""
|
|
1034
|
+
atCheckpoint: UInt53
|
|
1035
|
+
"""
|
|
1036
|
+
The derived object's key.
|
|
1037
|
+
"""
|
|
1038
|
+
name: DynamicFieldName!
|
|
1039
|
+
"""
|
|
1040
|
+
If specified, fetch the latest version of the derived object at or before this root version.
|
|
1041
|
+
"""
|
|
1042
|
+
rootVersion: UInt53
|
|
1043
|
+
"""
|
|
1044
|
+
If specified, fetch the derived object at this exact version.
|
|
1045
|
+
"""
|
|
1046
|
+
version: UInt53
|
|
1047
|
+
}
|
|
1048
|
+
|
|
991
1049
|
"""
|
|
992
1050
|
A rendered JSON blob based on an on-chain template.
|
|
993
1051
|
"""
|
|
@@ -1013,12 +1071,12 @@ type DisplayRegistryCreateTransaction {
|
|
|
1013
1071
|
}
|
|
1014
1072
|
|
|
1015
1073
|
"""
|
|
1016
|
-
Dynamic fields are
|
|
1074
|
+
Dynamic fields are heterogeneous fields that can be added to or removed from an object at runtime. Their names are arbitrary Move values that have `copy`, `drop`, and `store`.
|
|
1017
1075
|
|
|
1018
|
-
There are two
|
|
1076
|
+
There are two kinds of dynamic fields:
|
|
1019
1077
|
|
|
1020
|
-
- Dynamic fields can store any value that has `store`. Objects stored in this kind of field
|
|
1021
|
-
- Dynamic object fields can only
|
|
1078
|
+
- Dynamic fields can store any value that has `store`. Objects stored in this kind of field are wrapped and cannot be accessed directly by their ID.
|
|
1079
|
+
- Dynamic object fields can store only objects that have `key` and `store`. Their values remain accessible directly by their ID while attached.
|
|
1022
1080
|
"""
|
|
1023
1081
|
type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
1024
1082
|
"""
|
|
@@ -1062,6 +1120,14 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
1062
1120
|
"""
|
|
1063
1121
|
defaultNameRecord: NameRecord
|
|
1064
1122
|
"""
|
|
1123
|
+
Access a derived object using its key.
|
|
1124
|
+
|
|
1125
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
1126
|
+
|
|
1127
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
1128
|
+
"""
|
|
1129
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
1130
|
+
"""
|
|
1065
1131
|
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
1066
1132
|
"""
|
|
1067
1133
|
digest: String
|
|
@@ -1104,6 +1170,12 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
|
|
|
1104
1170
|
"""
|
|
1105
1171
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
1106
1172
|
"""
|
|
1173
|
+
Access derived objects using their keys and optional version bounds.
|
|
1174
|
+
|
|
1175
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
1176
|
+
"""
|
|
1177
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
1178
|
+
"""
|
|
1107
1179
|
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
1108
1180
|
|
|
1109
1181
|
Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
@@ -1523,6 +1595,24 @@ input EventFilter {
|
|
|
1523
1595
|
type: String
|
|
1524
1596
|
}
|
|
1525
1597
|
|
|
1598
|
+
"""
|
|
1599
|
+
One payload of the `events` subscription: a matching event, or progress.
|
|
1600
|
+
"""
|
|
1601
|
+
type EventSubscriptionEdge {
|
|
1602
|
+
"""
|
|
1603
|
+
Pass as `after` to resume the subscription after this payload.
|
|
1604
|
+
"""
|
|
1605
|
+
cursor: String!
|
|
1606
|
+
"""
|
|
1607
|
+
The matching event, or `null` for progress.
|
|
1608
|
+
|
|
1609
|
+
A payload whose `node` is `null` and that has no `errors` is progress: every match before its cursor has been delivered, so save the cursor and resume `after` it to skip the range already scanned.
|
|
1610
|
+
|
|
1611
|
+
A payload whose `node` is `null` and that has `errors` is a match that failed to resolve. Do not save its cursor: treat the payload as an error and resume from the previous cursor.
|
|
1612
|
+
"""
|
|
1613
|
+
node: Event
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1526
1616
|
"""
|
|
1527
1617
|
Represents execution error information for failed transactions.
|
|
1528
1618
|
"""
|
|
@@ -1735,12 +1825,26 @@ interface IAddressable {
|
|
|
1735
1825
|
"""
|
|
1736
1826
|
defaultNameRecord: NameRecord
|
|
1737
1827
|
"""
|
|
1828
|
+
Access a derived object using its key.
|
|
1829
|
+
|
|
1830
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
1831
|
+
|
|
1832
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
1833
|
+
"""
|
|
1834
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
1835
|
+
"""
|
|
1738
1836
|
Fetch balances keyed by coin types (e.g. `0x2::sui::SUI`) owned by this address.
|
|
1739
1837
|
|
|
1740
1838
|
Each result includes the total balance, the balance held in coin objects, and the balance held in the address's balance accumulator. Returns `null` when no checkpoint is set in scope (e.g. execution scope). If this address has no balance of a given type, all three values are zero for that type.
|
|
1741
1839
|
"""
|
|
1742
1840
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
1743
1841
|
"""
|
|
1842
|
+
Access derived objects using their keys and optional version bounds.
|
|
1843
|
+
|
|
1844
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
1845
|
+
"""
|
|
1846
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
1847
|
+
"""
|
|
1744
1848
|
Objects owned by this address, optionally filtered by type.
|
|
1745
1849
|
"""
|
|
1746
1850
|
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
@@ -1953,6 +2057,30 @@ type MergeCoinsCommand {
|
|
|
1953
2057
|
coins: [TransactionArgument!]!
|
|
1954
2058
|
}
|
|
1955
2059
|
|
|
2060
|
+
"""
|
|
2061
|
+
An ML-DSA-65 (FIPS 204) public key.
|
|
2062
|
+
"""
|
|
2063
|
+
type MlDsa65PublicKey {
|
|
2064
|
+
"""
|
|
2065
|
+
The raw public key bytes.
|
|
2066
|
+
"""
|
|
2067
|
+
bytes: Base64
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
"""
|
|
2071
|
+
An ML-DSA-65 (FIPS 204) signature.
|
|
2072
|
+
"""
|
|
2073
|
+
type MlDsa65Signature {
|
|
2074
|
+
"""
|
|
2075
|
+
The public key bytes.
|
|
2076
|
+
"""
|
|
2077
|
+
publicKey: Base64
|
|
2078
|
+
"""
|
|
2079
|
+
The raw signature bytes.
|
|
2080
|
+
"""
|
|
2081
|
+
signature: Base64
|
|
2082
|
+
}
|
|
2083
|
+
|
|
1956
2084
|
"""
|
|
1957
2085
|
Abilities are keywords in Sui Move that define how types behave at the compiler level.
|
|
1958
2086
|
"""
|
|
@@ -2385,6 +2513,14 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2385
2513
|
"""
|
|
2386
2514
|
defaultNameRecord: NameRecord
|
|
2387
2515
|
"""
|
|
2516
|
+
Access a derived object using its key.
|
|
2517
|
+
|
|
2518
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
2519
|
+
|
|
2520
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
2521
|
+
"""
|
|
2522
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
2523
|
+
"""
|
|
2388
2524
|
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
2389
2525
|
"""
|
|
2390
2526
|
digest: String
|
|
@@ -2427,6 +2563,12 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
|
|
|
2427
2563
|
"""
|
|
2428
2564
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
2429
2565
|
"""
|
|
2566
|
+
Access derived objects using their keys and optional version bounds.
|
|
2567
|
+
|
|
2568
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
2569
|
+
"""
|
|
2570
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
2571
|
+
"""
|
|
2430
2572
|
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
2431
2573
|
|
|
2432
2574
|
Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
@@ -2552,6 +2694,14 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2552
2694
|
"""
|
|
2553
2695
|
defaultNameRecord: NameRecord
|
|
2554
2696
|
"""
|
|
2697
|
+
Access a derived object using its key.
|
|
2698
|
+
|
|
2699
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
2700
|
+
|
|
2701
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
2702
|
+
"""
|
|
2703
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
2704
|
+
"""
|
|
2555
2705
|
32-byte hash that identifies the package's contents, encoded in Base58.
|
|
2556
2706
|
"""
|
|
2557
2707
|
digest: String
|
|
@@ -2582,6 +2732,12 @@ type MovePackage implements Node & IAddressable & IObject {
|
|
|
2582
2732
|
"""
|
|
2583
2733
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
2584
2734
|
"""
|
|
2735
|
+
Access derived objects using their keys and optional version bounds.
|
|
2736
|
+
|
|
2737
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
2738
|
+
"""
|
|
2739
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
2740
|
+
"""
|
|
2585
2741
|
Fetch the package as an object with the same ID, at a different version, root version bound, or checkpoint.
|
|
2586
2742
|
|
|
2587
2743
|
If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
|
|
@@ -2945,7 +3101,7 @@ type MultisigMember {
|
|
|
2945
3101
|
"""
|
|
2946
3102
|
A multisig member's public key, varying by scheme.
|
|
2947
3103
|
"""
|
|
2948
|
-
union MultisigMemberPublicKey = Ed25519PublicKey | Secp256K1PublicKey | Secp256R1PublicKey | PasskeyPublicKey | ZkLoginPublicIdentifier
|
|
3104
|
+
union MultisigMemberPublicKey = Ed25519PublicKey | Secp256K1PublicKey | Secp256R1PublicKey | PasskeyPublicKey | ZkLoginPublicIdentifier | MlDsa65PublicKey
|
|
2949
3105
|
|
|
2950
3106
|
"""
|
|
2951
3107
|
An aggregated multisig signature.
|
|
@@ -2998,6 +3154,34 @@ type Mutation {
|
|
|
2998
3154
|
executeTransaction(transactionDataBcs: Base64!, signatures: [Base64!]!): ExecutionResult!
|
|
2999
3155
|
}
|
|
3000
3156
|
|
|
3157
|
+
"""
|
|
3158
|
+
Identifies a dynamic field or derived object under a parent object.
|
|
3159
|
+
|
|
3160
|
+
At most one of `version`, `rootVersion`, or `atCheckpoint` may be specified.
|
|
3161
|
+
"""
|
|
3162
|
+
input NameKey {
|
|
3163
|
+
"""
|
|
3164
|
+
If specified, fetch the latest version of the result as of this checkpoint.
|
|
3165
|
+
"""
|
|
3166
|
+
atCheckpoint: UInt53
|
|
3167
|
+
"""
|
|
3168
|
+
The dynamic field name or derived object key.
|
|
3169
|
+
"""
|
|
3170
|
+
name: DynamicFieldName!
|
|
3171
|
+
"""
|
|
3172
|
+
The parent object that owns the dynamic field or derived object claim.
|
|
3173
|
+
"""
|
|
3174
|
+
parent: SuiAddress!
|
|
3175
|
+
"""
|
|
3176
|
+
If specified, fetch the latest version of the result at or before this root version.
|
|
3177
|
+
"""
|
|
3178
|
+
rootVersion: UInt53
|
|
3179
|
+
"""
|
|
3180
|
+
If specified, fetch the result at this exact version.
|
|
3181
|
+
"""
|
|
3182
|
+
version: UInt53
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3001
3185
|
"""
|
|
3002
3186
|
A Name Service NameRecord representing a domain name registration.
|
|
3003
3187
|
"""
|
|
@@ -3085,6 +3269,14 @@ type Object implements Node & IAddressable & IObject {
|
|
|
3085
3269
|
"""
|
|
3086
3270
|
defaultNameRecord: NameRecord
|
|
3087
3271
|
"""
|
|
3272
|
+
Access a derived object using its key.
|
|
3273
|
+
|
|
3274
|
+
The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
|
|
3275
|
+
|
|
3276
|
+
Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
|
|
3277
|
+
"""
|
|
3278
|
+
derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
|
|
3279
|
+
"""
|
|
3088
3280
|
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
3089
3281
|
"""
|
|
3090
3282
|
digest: String
|
|
@@ -3115,6 +3307,12 @@ type Object implements Node & IAddressable & IObject {
|
|
|
3115
3307
|
"""
|
|
3116
3308
|
multiGetBalances(keys: [String!]!): [Balance!]
|
|
3117
3309
|
"""
|
|
3310
|
+
Access derived objects using their keys and optional version bounds.
|
|
3311
|
+
|
|
3312
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
3313
|
+
"""
|
|
3314
|
+
multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
|
|
3315
|
+
"""
|
|
3118
3316
|
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
3119
3317
|
|
|
3120
3318
|
Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
@@ -3665,6 +3863,24 @@ type Query {
|
|
|
3665
3863
|
"""
|
|
3666
3864
|
multiGetCheckpoints(keys: [UInt53!]!): [Checkpoint]!
|
|
3667
3865
|
"""
|
|
3866
|
+
Access derived objects under parent objects using their names and optional version bounds.
|
|
3867
|
+
|
|
3868
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
|
|
3869
|
+
"""
|
|
3870
|
+
multiGetDerivedObjects(keys: [NameKey!]!): [MoveObject]!
|
|
3871
|
+
"""
|
|
3872
|
+
Access dynamic fields on parent objects using their names and optional version bounds.
|
|
3873
|
+
|
|
3874
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a dynamic field could not be found, its corresponding entry in the result is `null`.
|
|
3875
|
+
"""
|
|
3876
|
+
multiGetDynamicFields(keys: [NameKey!]!): [DynamicField]!
|
|
3877
|
+
"""
|
|
3878
|
+
Access dynamic object fields on parent objects using their names and optional version bounds.
|
|
3879
|
+
|
|
3880
|
+
Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a dynamic object field could not be found, its corresponding entry in the result is `null`.
|
|
3881
|
+
"""
|
|
3882
|
+
multiGetDynamicObjectFields(keys: [NameKey!]!): [DynamicField]!
|
|
3883
|
+
"""
|
|
3668
3884
|
Fetch epochs by their IDs.
|
|
3669
3885
|
|
|
3670
3886
|
Returns a list of epochs that is guaranteed to be the same length as `keys`. If an epoch in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the epoch does not exist yet, or because it was pruned.
|
|
@@ -3820,8 +4036,8 @@ type Query {
|
|
|
3820
4036
|
"""
|
|
3821
4037
|
Verify a signature is from the given `author`.
|
|
3822
4038
|
|
|
3823
|
-
Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin,
|
|
3824
|
-
|
|
4039
|
+
Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, Passkey,
|
|
4040
|
+
and ML-DSA-65.
|
|
3825
4041
|
|
|
3826
4042
|
Returns successfully if the signature is valid. If the signature is invalid, returns an
|
|
3827
4043
|
error with the reason for the failure.
|
|
@@ -3831,8 +4047,11 @@ type Query {
|
|
|
3831
4047
|
- `intentScope` indicates whether `message` is to be parsed as a personal message or
|
|
3832
4048
|
`TransactionData`.
|
|
3833
4049
|
- `author` is the signer's address.
|
|
4050
|
+
- `checkAddressAliases`, if true, requires the signer to be one of `author`'s address aliases
|
|
4051
|
+
as of the checkpoint being viewed (or `author` itself, if it has none configured). Defaults
|
|
4052
|
+
to false.
|
|
3834
4053
|
"""
|
|
3835
|
-
verifySignature(message: Base64!, signature: Base64!, intentScope: IntentScope!, author: SuiAddress
|
|
4054
|
+
verifySignature(message: Base64!, signature: Base64!, intentScope: IntentScope!, author: SuiAddress!, checkAddressAliases: Boolean): SignatureVerifyResult
|
|
3836
4055
|
"""
|
|
3837
4056
|
Verify a zkLogin signature is from the given `author`.
|
|
3838
4057
|
|
|
@@ -4127,7 +4346,7 @@ type SharedInput {
|
|
|
4127
4346
|
"""
|
|
4128
4347
|
The structured details of a signature, varying by scheme.
|
|
4129
4348
|
"""
|
|
4130
|
-
union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature
|
|
4349
|
+
union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature | MlDsa65Signature
|
|
4131
4350
|
|
|
4132
4351
|
"""
|
|
4133
4352
|
The result of signature verification.
|
|
@@ -4178,6 +4397,41 @@ type StoreExecutionTimeObservationsTransaction {
|
|
|
4178
4397
|
}
|
|
4179
4398
|
|
|
4180
4399
|
|
|
4400
|
+
type Subscription {
|
|
4401
|
+
"""
|
|
4402
|
+
Subscribe to checkpoints as they are finalized.
|
|
4403
|
+
|
|
4404
|
+
Pass `after` (opaque cursor) or `afterCheckpoint` (sequence number) to resume from a known point. If both are provided, the subscription resumes from whichever is later.
|
|
4405
|
+
|
|
4406
|
+
This subscription is not yet available for use.
|
|
4407
|
+
"""
|
|
4408
|
+
checkpoints(after: String, afterCheckpoint: UInt53): CheckpointEdge!
|
|
4409
|
+
"""
|
|
4410
|
+
Subscribe to events as they are emitted, with optional filtering.
|
|
4411
|
+
|
|
4412
|
+
Resume from a known point with `after` (an opaque cursor from a prior delivery) and/or `filter.afterCheckpoint`. The subscription first backfills the matching events after that point via the scanning API, then continues with the live stream.
|
|
4413
|
+
|
|
4414
|
+
Each matching event is yielded individually as an edge, ordered by checkpoint, then by transaction position within the checkpoint, then by position within the transaction. Each edge carries a cursor for resumption.
|
|
4415
|
+
|
|
4416
|
+
Set `progress` to true to also receive progress payloads (a `null` node carrying only a cursor) during stretches that match nothing, so the resume cursor advances without waiting for a match. It defaults to false, where only matching events are delivered. Live progress is paced by the server and can be turned off there, so a live-only subscription may receive none.
|
|
4417
|
+
|
|
4418
|
+
This subscription is not yet available for use.
|
|
4419
|
+
"""
|
|
4420
|
+
events(filter: EventFilter, after: String, progress: Boolean! = false): EventSubscriptionEdge!
|
|
4421
|
+
"""
|
|
4422
|
+
Subscribe to transactions as they are finalized, with optional filtering.
|
|
4423
|
+
|
|
4424
|
+
Resume from a known point with `after` (an opaque cursor from a prior delivery) and/or `filter.afterCheckpoint`. The subscription first backfills the matching transactions after that point via the scanning API, then continues with the live stream.
|
|
4425
|
+
|
|
4426
|
+
Each matching transaction is yielded individually as an edge, ordered by checkpoint and then by position within the checkpoint. Each edge carries a cursor for resumption.
|
|
4427
|
+
|
|
4428
|
+
Set `progress` to true to also receive progress payloads (a `null` node carrying only a cursor) during stretches that match nothing, so the resume cursor advances without waiting for a match. It defaults to false, where only matching transactions are delivered. Live progress is paced by the server and can be turned off there, so a live-only subscription may receive none.
|
|
4429
|
+
|
|
4430
|
+
This subscription is not yet available for use.
|
|
4431
|
+
"""
|
|
4432
|
+
transactions(filter: TransactionFilter, after: String, progress: Boolean! = false): TransactionSubscriptionEdge!
|
|
4433
|
+
}
|
|
4434
|
+
|
|
4181
4435
|
"""
|
|
4182
4436
|
String containing 32 byte hex-encoded address, with a leading '0x'. Leading zeroes can be omitted on input but will always appear in outputs (SuiAddress in output is guaranteed to be 66 characters long).
|
|
4183
4437
|
"""
|
|
@@ -4460,6 +4714,24 @@ An object as it appears in a specific transaction. The variant discriminates whe
|
|
|
4460
4714
|
"""
|
|
4461
4715
|
union TransactionObject = ObjectChange | ConsensusObjectRead
|
|
4462
4716
|
|
|
4717
|
+
"""
|
|
4718
|
+
One payload of the `transactions` subscription: a matching transaction, or progress.
|
|
4719
|
+
"""
|
|
4720
|
+
type TransactionSubscriptionEdge {
|
|
4721
|
+
"""
|
|
4722
|
+
Pass as `after` to resume the subscription after this payload.
|
|
4723
|
+
"""
|
|
4724
|
+
cursor: String!
|
|
4725
|
+
"""
|
|
4726
|
+
The matching transaction, or `null` for progress.
|
|
4727
|
+
|
|
4728
|
+
A payload whose `node` is `null` and that has no `errors` is progress: every match before its cursor has been delivered, so save the cursor and resume `after` it to skip the range already scanned.
|
|
4729
|
+
|
|
4730
|
+
A payload whose `node` is `null` and that has `errors` is a match that failed to resolve. Do not save its cursor: treat the payload as an error and resume from the previous cursor.
|
|
4731
|
+
"""
|
|
4732
|
+
node: Transaction
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4463
4735
|
"""
|
|
4464
4736
|
Transfers `inputs` to `address`. All inputs must have the `store` ability (allows public transfer) and must not be previously immutable or shared.
|
|
4465
4737
|
"""
|
|
@@ -4838,4 +5110,5 @@ directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
|
|
|
4838
5110
|
schema {
|
|
4839
5111
|
query: Query
|
|
4840
5112
|
mutation: Mutation
|
|
5113
|
+
subscription: Subscription
|
|
4841
5114
|
}
|