@haneullabs/haneul 0.1.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 +1723 -0
- package/LICENSE +201 -0
- package/README.md +449 -0
- package/bcs/package.json +6 -0
- package/client/package.json +6 -0
- package/cryptography/package.json +6 -0
- package/dist/cjs/bcs/bcs.d.ts +1973 -0
- package/dist/cjs/bcs/bcs.js +328 -0
- package/dist/cjs/bcs/bcs.js.map +7 -0
- package/dist/cjs/bcs/effects.d.ts +579 -0
- package/dist/cjs/bcs/effects.js +210 -0
- package/dist/cjs/bcs/effects.js.map +7 -0
- package/dist/cjs/bcs/index.d.ts +2589 -0
- package/dist/cjs/bcs/index.js +80 -0
- package/dist/cjs/bcs/index.js.map +7 -0
- package/dist/cjs/bcs/pure.d.ts +22 -0
- package/dist/cjs/bcs/pure.js +59 -0
- package/dist/cjs/bcs/pure.js.map +7 -0
- package/dist/cjs/bcs/type-tag-serializer.d.ts +7 -0
- package/dist/cjs/bcs/type-tag-serializer.js +117 -0
- package/dist/cjs/bcs/type-tag-serializer.js.map +7 -0
- package/dist/cjs/bcs/types.d.ts +114 -0
- package/dist/cjs/bcs/types.js +27 -0
- package/dist/cjs/bcs/types.js.map +7 -0
- package/dist/cjs/client/index.d.ts +5 -0
- package/dist/cjs/client/index.js +34 -0
- package/dist/cjs/client/index.js.map +7 -0
- package/dist/cjs/client/network.d.ts +1 -0
- package/dist/cjs/client/network.js +38 -0
- package/dist/cjs/client/network.js.map +7 -0
- package/dist/cjs/cryptography/index.d.ts +7 -0
- package/dist/cjs/cryptography/index.js +47 -0
- package/dist/cjs/cryptography/index.js.map +7 -0
- package/dist/cjs/cryptography/intent.d.ts +6 -0
- package/dist/cjs/cryptography/intent.js +35 -0
- package/dist/cjs/cryptography/intent.js.map +7 -0
- package/dist/cjs/cryptography/keypair.d.ts +72 -0
- package/dist/cjs/cryptography/keypair.js +118 -0
- package/dist/cjs/cryptography/keypair.js.map +7 -0
- package/dist/cjs/cryptography/mnemonics.d.ts +27 -0
- package/dist/cjs/cryptography/mnemonics.js +47 -0
- package/dist/cjs/cryptography/mnemonics.js.map +7 -0
- package/dist/cjs/cryptography/publickey.d.ts +67 -0
- package/dist/cjs/cryptography/publickey.js +140 -0
- package/dist/cjs/cryptography/publickey.js.map +7 -0
- package/dist/cjs/cryptography/signature-scheme.d.ts +24 -0
- package/dist/cjs/cryptography/signature-scheme.js +48 -0
- package/dist/cjs/cryptography/signature-scheme.js.map +7 -0
- package/dist/cjs/cryptography/signature.d.ts +65 -0
- package/dist/cjs/cryptography/signature.js +71 -0
- package/dist/cjs/cryptography/signature.js.map +7 -0
- package/dist/cjs/experimental/cache.d.ts +12 -0
- package/dist/cjs/experimental/cache.js +88 -0
- package/dist/cjs/experimental/cache.js.map +7 -0
- package/dist/cjs/experimental/client.d.ts +12 -0
- package/dist/cjs/experimental/client.js +46 -0
- package/dist/cjs/experimental/client.js.map +7 -0
- package/dist/cjs/experimental/core.d.ts +37 -0
- package/dist/cjs/experimental/core.js +114 -0
- package/dist/cjs/experimental/core.js.map +7 -0
- package/dist/cjs/experimental/errors.d.ts +8 -0
- package/dist/cjs/experimental/errors.js +54 -0
- package/dist/cjs/experimental/errors.js.map +7 -0
- package/dist/cjs/experimental/index.d.ts +7 -0
- package/dist/cjs/experimental/index.js +32 -0
- package/dist/cjs/experimental/index.js.map +7 -0
- package/dist/cjs/experimental/mvr.d.ts +42 -0
- package/dist/cjs/experimental/mvr.js +365 -0
- package/dist/cjs/experimental/mvr.js.map +7 -0
- package/dist/cjs/experimental/transports/utils.d.ts +3 -0
- package/dist/cjs/experimental/transports/utils.js +101 -0
- package/dist/cjs/experimental/transports/utils.js.map +7 -0
- package/dist/cjs/experimental/types.d.ts +434 -0
- package/dist/cjs/experimental/types.js +17 -0
- package/dist/cjs/experimental/types.js.map +7 -0
- package/dist/cjs/faucet/faucet.d.ts +65 -0
- package/dist/cjs/faucet/faucet.js +130 -0
- package/dist/cjs/faucet/faucet.js.map +7 -0
- package/dist/cjs/faucet/index.d.ts +1 -0
- package/dist/cjs/faucet/index.js +30 -0
- package/dist/cjs/faucet/index.js.map +7 -0
- package/dist/cjs/graphql/client.d.ts +50 -0
- package/dist/cjs/graphql/client.js +94 -0
- package/dist/cjs/graphql/client.js.map +7 -0
- package/dist/cjs/graphql/core.d.ts +32 -0
- package/dist/cjs/graphql/core.js +471 -0
- package/dist/cjs/graphql/core.js.map +7 -0
- package/dist/cjs/graphql/generated/2024.1/tada-env.d.ts +11380 -0
- package/dist/cjs/graphql/generated/2024.1/tada-env.js +13142 -0
- package/dist/cjs/graphql/generated/2024.1/tada-env.js.map +7 -0
- package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js +12 -0
- package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
- package/dist/cjs/graphql/generated/2024.4/tada-env.d.ts +11496 -0
- package/dist/cjs/graphql/generated/2024.4/tada-env.js +13288 -0
- package/dist/cjs/graphql/generated/2024.4/tada-env.js.map +7 -0
- package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js +12 -0
- package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
- package/dist/cjs/graphql/generated/latest/tada-env.d.ts +11128 -0
- package/dist/cjs/graphql/generated/latest/tada-env.js +12926 -0
- package/dist/cjs/graphql/generated/latest/tada-env.js.map +7 -0
- package/dist/cjs/graphql/generated/latest/tsconfig.tada.js +12 -0
- package/dist/cjs/graphql/generated/latest/tsconfig.tada.js.map +7 -0
- package/dist/cjs/graphql/generated/queries.d.ts +4980 -0
- package/dist/cjs/graphql/generated/queries.js +803 -0
- package/dist/cjs/graphql/generated/queries.js.map +7 -0
- package/dist/cjs/graphql/index.d.ts +1 -0
- package/dist/cjs/graphql/index.js +26 -0
- package/dist/cjs/graphql/index.js.map +7 -0
- package/dist/cjs/graphql/schemas/2024.1/index.d.ts +10 -0
- package/dist/cjs/graphql/schemas/2024.1/index.js +29 -0
- package/dist/cjs/graphql/schemas/2024.1/index.js.map +7 -0
- package/dist/cjs/graphql/schemas/2024.4/index.d.ts +10 -0
- package/dist/cjs/graphql/schemas/2024.4/index.js +29 -0
- package/dist/cjs/graphql/schemas/2024.4/index.js.map +7 -0
- package/dist/cjs/graphql/schemas/latest/index.d.ts +10 -0
- package/dist/cjs/graphql/schemas/latest/index.js +29 -0
- package/dist/cjs/graphql/schemas/latest/index.js.map +7 -0
- package/dist/cjs/graphql/types.d.ts +71 -0
- package/dist/cjs/graphql/types.js +17 -0
- package/dist/cjs/graphql/types.js.map +7 -0
- package/dist/cjs/grpc/client.d.ts +33 -0
- package/dist/cjs/grpc/client.js +53 -0
- package/dist/cjs/grpc/client.js.map +7 -0
- package/dist/cjs/grpc/core.d.ts +30 -0
- package/dist/cjs/grpc/core.js +651 -0
- package/dist/cjs/grpc/core.js.map +7 -0
- package/dist/cjs/grpc/index.d.ts +4 -0
- package/dist/cjs/grpc/index.js +27 -0
- package/dist/cjs/grpc/index.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +173 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.js +139 -0
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +104 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +88 -0
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +25 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.js +31 -0
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +73 -0
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +169 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +199 -0
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +7 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +123 -0
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +7 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +525 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +332 -0
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +7 -0
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +46 -0
- package/dist/cjs/grpc/proto/google/rpc/status.js +48 -0
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/argument.d.ts +66 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/argument.js +71 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/argument.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/balance_change.d.ts +34 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/balance_change.js +56 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/balance_change.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/bcs.d.ts +30 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/bcs.js +48 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/bcs.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint.d.ts +68 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint.js +64 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.ts +74 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_contents.js +89 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.ts +195 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_summary.js +165 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/effects.d.ts +338 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/effects.js +294 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/effects.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/epoch.d.ts +62 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/epoch.js +73 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/epoch.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/error_reason.d.ts +17 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/error_reason.js +30 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/error_reason.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/event.d.ts +88 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/event.js +86 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/event.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/executed_transaction.d.ts +80 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/executed_transaction.js +74 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/execution_status.d.ts +843 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/execution_status.js +513 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/execution_status.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.ts +41 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/gas_cost_summary.js +64 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/input.d.ts +98 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/input.js +90 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/input.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/jwk.d.ts +70 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/jwk.js +88 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/jwk.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.client.d.ts +95 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.client.js +127 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.d.ts +420 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.js +327 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/ledger_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package.d.ts +579 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package.js +480 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.client.d.ts +61 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.client.js +86 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.d.ts +229 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.js +226 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/move_package_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.client.d.ts +41 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.client.js +60 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.d.ts +144 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.js +138 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/name_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object.d.ts +127 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object.js +113 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object_reference.d.ts +34 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object_reference.js +56 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/object_reference.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/owner.d.ts +61 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/owner.js +65 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/owner.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/protocol_config.d.ts +30 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/protocol_config.js +62 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/protocol_config.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature.d.ts +630 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature.js +514 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_scheme.d.ts +40 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_scheme.js +34 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.ts +35 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.client.js +49 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.d.ts +79 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.js +76 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.client.js +99 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.d.ts +690 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.js +546 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/state_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.client.d.ts +55 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.client.js +59 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.d.ts +57 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.js +63 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/subscription_service.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/system_state.d.ts +684 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/system_state.js +674 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/system_state.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction.d.ts +1321 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction.js +931 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.ts +41 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.js +60 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.js +159 -0
- package/dist/cjs/grpc/proto/haneul/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/cjs/jsonRpc/client.d.ts +264 -0
- package/dist/cjs/jsonRpc/client.js +832 -0
- package/dist/cjs/jsonRpc/client.js.map +7 -0
- package/dist/cjs/jsonRpc/core.d.ts +93 -0
- package/dist/cjs/jsonRpc/core.js +644 -0
- package/dist/cjs/jsonRpc/core.js.map +7 -0
- package/dist/cjs/jsonRpc/errors.d.ts +12 -0
- package/dist/cjs/jsonRpc/errors.js +60 -0
- package/dist/cjs/jsonRpc/errors.js.map +7 -0
- package/dist/cjs/jsonRpc/http-transport.d.ts +42 -0
- package/dist/cjs/jsonRpc/http-transport.js +119 -0
- package/dist/cjs/jsonRpc/http-transport.js.map +7 -0
- package/dist/cjs/jsonRpc/index.d.ts +4 -0
- package/dist/cjs/jsonRpc/index.js +32 -0
- package/dist/cjs/jsonRpc/index.js.map +7 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.js +311 -0
- package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +7 -0
- package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +43 -0
- package/dist/cjs/jsonRpc/rpc-websocket-client.js +194 -0
- package/dist/cjs/jsonRpc/rpc-websocket-client.js.map +7 -0
- package/dist/cjs/jsonRpc/types/chain.d.ts +99 -0
- package/dist/cjs/jsonRpc/types/chain.js +17 -0
- package/dist/cjs/jsonRpc/types/chain.js.map +7 -0
- package/dist/cjs/jsonRpc/types/changes.d.ts +19 -0
- package/dist/cjs/jsonRpc/types/changes.js +17 -0
- package/dist/cjs/jsonRpc/types/changes.js.map +7 -0
- package/dist/cjs/jsonRpc/types/coins.d.ts +6 -0
- package/dist/cjs/jsonRpc/types/coins.js +17 -0
- package/dist/cjs/jsonRpc/types/coins.js.map +7 -0
- package/dist/cjs/jsonRpc/types/common.d.ts +2 -0
- package/dist/cjs/jsonRpc/types/common.js +17 -0
- package/dist/cjs/jsonRpc/types/common.js.map +7 -0
- package/dist/cjs/jsonRpc/types/generated.d.ts +1492 -0
- package/dist/cjs/jsonRpc/types/generated.js +17 -0
- package/dist/cjs/jsonRpc/types/generated.js.map +7 -0
- package/dist/cjs/jsonRpc/types/index.d.ts +6 -0
- package/dist/cjs/jsonRpc/types/index.js +17 -0
- package/dist/cjs/jsonRpc/types/index.js.map +7 -0
- package/dist/cjs/jsonRpc/types/params.d.ts +656 -0
- package/dist/cjs/jsonRpc/types/params.js +17 -0
- package/dist/cjs/jsonRpc/types/params.js.map +7 -0
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.d.ts +8 -0
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +77 -0
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
- package/dist/cjs/keypairs/ed25519/index.d.ts +2 -0
- package/dist/cjs/keypairs/ed25519/index.js +28 -0
- package/dist/cjs/keypairs/ed25519/index.js.map +7 -0
- package/dist/cjs/keypairs/ed25519/keypair.d.ts +74 -0
- package/dist/cjs/keypairs/ed25519/keypair.js +162 -0
- package/dist/cjs/keypairs/ed25519/keypair.js.map +7 -0
- package/dist/cjs/keypairs/ed25519/publickey.d.ts +30 -0
- package/dist/cjs/keypairs/ed25519/publickey.js +88 -0
- package/dist/cjs/keypairs/ed25519/publickey.js.map +7 -0
- package/dist/cjs/keypairs/passkey/index.d.ts +3 -0
- package/dist/cjs/keypairs/passkey/index.js +29 -0
- package/dist/cjs/keypairs/passkey/index.js.map +7 -0
- package/dist/cjs/keypairs/passkey/keypair.d.ts +113 -0
- package/dist/cjs/keypairs/passkey/keypair.js +251 -0
- package/dist/cjs/keypairs/passkey/keypair.js.map +7 -0
- package/dist/cjs/keypairs/passkey/publickey.d.ts +72 -0
- package/dist/cjs/keypairs/passkey/publickey.js +168 -0
- package/dist/cjs/keypairs/passkey/publickey.js.map +7 -0
- package/dist/cjs/keypairs/passkey/types.d.ts +12 -0
- package/dist/cjs/keypairs/passkey/types.js +17 -0
- package/dist/cjs/keypairs/passkey/types.js.map +7 -0
- package/dist/cjs/keypairs/secp256k1/index.d.ts +2 -0
- package/dist/cjs/keypairs/secp256k1/index.js +28 -0
- package/dist/cjs/keypairs/secp256k1/index.js.map +7 -0
- package/dist/cjs/keypairs/secp256k1/keypair.d.ts +73 -0
- package/dist/cjs/keypairs/secp256k1/keypair.js +150 -0
- package/dist/cjs/keypairs/secp256k1/keypair.js.map +7 -0
- package/dist/cjs/keypairs/secp256k1/publickey.d.ts +30 -0
- package/dist/cjs/keypairs/secp256k1/publickey.js +93 -0
- package/dist/cjs/keypairs/secp256k1/publickey.js.map +7 -0
- package/dist/cjs/keypairs/secp256r1/index.d.ts +2 -0
- package/dist/cjs/keypairs/secp256r1/index.js +28 -0
- package/dist/cjs/keypairs/secp256r1/index.js.map +7 -0
- package/dist/cjs/keypairs/secp256r1/keypair.d.ts +73 -0
- package/dist/cjs/keypairs/secp256r1/keypair.js +144 -0
- package/dist/cjs/keypairs/secp256r1/keypair.js.map +7 -0
- package/dist/cjs/keypairs/secp256r1/publickey.d.ts +30 -0
- package/dist/cjs/keypairs/secp256r1/publickey.js +94 -0
- package/dist/cjs/keypairs/secp256r1/publickey.js.map +7 -0
- package/dist/cjs/multisig/index.d.ts +2 -0
- package/dist/cjs/multisig/index.js +28 -0
- package/dist/cjs/multisig/index.js.map +7 -0
- package/dist/cjs/multisig/publickey.d.ts +114 -0
- package/dist/cjs/multisig/publickey.js +260 -0
- package/dist/cjs/multisig/publickey.js.map +7 -0
- package/dist/cjs/multisig/signer.d.ts +20 -0
- package/dist/cjs/multisig/signer.js +105 -0
- package/dist/cjs/multisig/signer.js.map +7 -0
- package/dist/cjs/package.json +5 -0
- package/dist/cjs/transactions/Arguments.d.ts +49 -0
- package/dist/cjs/transactions/Arguments.js +33 -0
- package/dist/cjs/transactions/Arguments.js.map +7 -0
- package/dist/cjs/transactions/Commands.d.ts +57 -0
- package/dist/cjs/transactions/Commands.js +140 -0
- package/dist/cjs/transactions/Commands.js.map +7 -0
- package/dist/cjs/transactions/Inputs.d.ts +22 -0
- package/dist/cjs/transactions/Inputs.js +80 -0
- package/dist/cjs/transactions/Inputs.js.map +7 -0
- package/dist/cjs/transactions/ObjectCache.d.ts +83 -0
- package/dist/cjs/transactions/ObjectCache.js +241 -0
- package/dist/cjs/transactions/ObjectCache.js.map +7 -0
- package/dist/cjs/transactions/Transaction.d.ts +710 -0
- package/dist/cjs/transactions/Transaction.js +683 -0
- package/dist/cjs/transactions/Transaction.js.map +7 -0
- package/dist/cjs/transactions/TransactionData.d.ts +73 -0
- package/dist/cjs/transactions/TransactionData.js +433 -0
- package/dist/cjs/transactions/TransactionData.js.map +7 -0
- package/dist/cjs/transactions/__tests__/Transaction.test.d.ts +1 -0
- package/dist/cjs/transactions/__tests__/bcs.test.d.ts +1 -0
- package/dist/cjs/transactions/data/internal.d.ts +1010 -0
- package/dist/cjs/transactions/data/internal.js +216 -0
- package/dist/cjs/transactions/data/internal.js.map +7 -0
- package/dist/cjs/transactions/data/v1.d.ts +312 -0
- package/dist/cjs/transactions/data/v1.js +482 -0
- package/dist/cjs/transactions/data/v1.js.map +7 -0
- package/dist/cjs/transactions/data/v2.d.ts +153 -0
- package/dist/cjs/transactions/data/v2.js +125 -0
- package/dist/cjs/transactions/data/v2.js.map +7 -0
- package/dist/cjs/transactions/executor/caching.d.ts +31 -0
- package/dist/cjs/transactions/executor/caching.js +114 -0
- package/dist/cjs/transactions/executor/caching.js.map +7 -0
- package/dist/cjs/transactions/executor/parallel.d.ts +37 -0
- package/dist/cjs/transactions/executor/parallel.js +380 -0
- package/dist/cjs/transactions/executor/parallel.js.map +7 -0
- package/dist/cjs/transactions/executor/queue.d.ts +11 -0
- package/dist/cjs/transactions/executor/queue.js +85 -0
- package/dist/cjs/transactions/executor/queue.js.map +7 -0
- package/dist/cjs/transactions/executor/serial.d.ts +31 -0
- package/dist/cjs/transactions/executor/serial.js +137 -0
- package/dist/cjs/transactions/executor/serial.js.map +7 -0
- package/dist/cjs/transactions/hash.d.ts +7 -0
- package/dist/cjs/transactions/hash.js +32 -0
- package/dist/cjs/transactions/hash.js.map +7 -0
- package/dist/cjs/transactions/index.d.ts +21 -0
- package/dist/cjs/transactions/index.js +51 -0
- package/dist/cjs/transactions/index.js.map +7 -0
- package/dist/cjs/transactions/intents/CoinWithBalance.d.ts +9 -0
- package/dist/cjs/transactions/intents/CoinWithBalance.js +188 -0
- package/dist/cjs/transactions/intents/CoinWithBalance.js.map +7 -0
- package/dist/cjs/transactions/object.d.ts +16 -0
- package/dist/cjs/transactions/object.js +78 -0
- package/dist/cjs/transactions/object.js.map +7 -0
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +48 -0
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +67 -0
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js.map +7 -0
- package/dist/cjs/transactions/pure.d.ts +20 -0
- package/dist/cjs/transactions/pure.js +57 -0
- package/dist/cjs/transactions/pure.js.map +7 -0
- package/dist/cjs/transactions/resolve.d.ts +13 -0
- package/dist/cjs/transactions/resolve.js +98 -0
- package/dist/cjs/transactions/resolve.js.map +7 -0
- package/dist/cjs/transactions/serializer.d.ts +7 -0
- package/dist/cjs/transactions/serializer.js +182 -0
- package/dist/cjs/transactions/serializer.js.map +7 -0
- package/dist/cjs/transactions/utils.d.ts +10 -0
- package/dist/cjs/transactions/utils.js +135 -0
- package/dist/cjs/transactions/utils.js.map +7 -0
- package/dist/cjs/utils/constants.d.ts +10 -0
- package/dist/cjs/utils/constants.js +44 -0
- package/dist/cjs/utils/constants.js.map +7 -0
- package/dist/cjs/utils/derived-objects.d.ts +5 -0
- package/dist/cjs/utils/derived-objects.js +34 -0
- package/dist/cjs/utils/derived-objects.js.map +7 -0
- package/dist/cjs/utils/dynamic-fields.d.ts +2 -0
- package/dist/cjs/utils/dynamic-fields.js +41 -0
- package/dist/cjs/utils/dynamic-fields.js.map +7 -0
- package/dist/cjs/utils/format.d.ts +2 -0
- package/dist/cjs/utils/format.js +36 -0
- package/dist/cjs/utils/format.js.map +7 -0
- package/dist/cjs/utils/haneul-types.d.ts +26 -0
- package/dist/cjs/utils/haneul-types.js +91 -0
- package/dist/cjs/utils/haneul-types.js.map +7 -0
- package/dist/cjs/utils/haneulns.d.ts +2 -0
- package/dist/cjs/utils/haneulns.js +57 -0
- package/dist/cjs/utils/haneulns.js.map +7 -0
- package/dist/cjs/utils/index.d.ts +9 -0
- package/dist/cjs/utils/index.js +69 -0
- package/dist/cjs/utils/index.js.map +7 -0
- package/dist/cjs/utils/move-registry.d.ts +6 -0
- package/dist/cjs/utils/move-registry.js +45 -0
- package/dist/cjs/utils/move-registry.js.map +7 -0
- package/dist/cjs/verify/index.d.ts +1 -0
- package/dist/cjs/verify/index.js +29 -0
- package/dist/cjs/verify/index.js.map +7 -0
- package/dist/cjs/verify/verify.d.ts +21 -0
- package/dist/cjs/verify/verify.js +124 -0
- package/dist/cjs/verify/verify.js.map +7 -0
- package/dist/cjs/version.d.ts +2 -0
- package/dist/cjs/version.js +27 -0
- package/dist/cjs/version.js.map +7 -0
- package/dist/cjs/zklogin/address.d.ts +16 -0
- package/dist/cjs/zklogin/address.js +87 -0
- package/dist/cjs/zklogin/address.js.map +7 -0
- package/dist/cjs/zklogin/bcs.d.ts +28 -0
- package/dist/cjs/zklogin/bcs.js +42 -0
- package/dist/cjs/zklogin/bcs.js.map +7 -0
- package/dist/cjs/zklogin/index.d.ts +9 -0
- package/dist/cjs/zklogin/index.js +46 -0
- package/dist/cjs/zklogin/index.js.map +7 -0
- package/dist/cjs/zklogin/jwt-decode.d.ts +47 -0
- package/dist/cjs/zklogin/jwt-decode.js +85 -0
- package/dist/cjs/zklogin/jwt-decode.js.map +7 -0
- package/dist/cjs/zklogin/jwt-utils.d.ts +12 -0
- package/dist/cjs/zklogin/jwt-utils.js +121 -0
- package/dist/cjs/zklogin/jwt-utils.js.map +7 -0
- package/dist/cjs/zklogin/nonce.d.ts +4 -0
- package/dist/cjs/zklogin/nonce.js +54 -0
- package/dist/cjs/zklogin/nonce.js.map +7 -0
- package/dist/cjs/zklogin/poseidon.d.ts +2 -0
- package/dist/cjs/zklogin/poseidon.js +63 -0
- package/dist/cjs/zklogin/poseidon.js.map +7 -0
- package/dist/cjs/zklogin/publickey.d.ts +87 -0
- package/dist/cjs/zklogin/publickey.js +257 -0
- package/dist/cjs/zklogin/publickey.js.map +7 -0
- package/dist/cjs/zklogin/signature.d.ts +23 -0
- package/dist/cjs/zklogin/signature.js +48 -0
- package/dist/cjs/zklogin/signature.js.map +7 -0
- package/dist/cjs/zklogin/utils.d.ts +16 -0
- package/dist/cjs/zklogin/utils.js +97 -0
- package/dist/cjs/zklogin/utils.js.map +7 -0
- package/dist/esm/bcs/bcs.d.ts +1973 -0
- package/dist/esm/bcs/bcs.js +308 -0
- package/dist/esm/bcs/bcs.js.map +7 -0
- package/dist/esm/bcs/effects.d.ts +579 -0
- package/dist/esm/bcs/effects.js +190 -0
- package/dist/esm/bcs/effects.js.map +7 -0
- package/dist/esm/bcs/index.d.ts +2589 -0
- package/dist/esm/bcs/index.js +94 -0
- package/dist/esm/bcs/index.js.map +7 -0
- package/dist/esm/bcs/pure.d.ts +22 -0
- package/dist/esm/bcs/pure.js +39 -0
- package/dist/esm/bcs/pure.js.map +7 -0
- package/dist/esm/bcs/type-tag-serializer.d.ts +7 -0
- package/dist/esm/bcs/type-tag-serializer.js +97 -0
- package/dist/esm/bcs/type-tag-serializer.js.map +7 -0
- package/dist/esm/bcs/types.d.ts +114 -0
- package/dist/esm/bcs/types.js +7 -0
- package/dist/esm/bcs/types.js.map +7 -0
- package/dist/esm/client/index.d.ts +5 -0
- package/dist/esm/client/index.js +19 -0
- package/dist/esm/client/index.js.map +7 -0
- package/dist/esm/client/network.d.ts +1 -0
- package/dist/esm/client/network.js +18 -0
- package/dist/esm/client/network.js.map +7 -0
- package/dist/esm/cryptography/index.d.ts +7 -0
- package/dist/esm/cryptography/index.js +47 -0
- package/dist/esm/cryptography/index.js.map +7 -0
- package/dist/esm/cryptography/intent.d.ts +6 -0
- package/dist/esm/cryptography/intent.js +15 -0
- package/dist/esm/cryptography/intent.js.map +7 -0
- package/dist/esm/cryptography/keypair.d.ts +72 -0
- package/dist/esm/cryptography/keypair.js +98 -0
- package/dist/esm/cryptography/keypair.js.map +7 -0
- package/dist/esm/cryptography/mnemonics.d.ts +27 -0
- package/dist/esm/cryptography/mnemonics.js +27 -0
- package/dist/esm/cryptography/mnemonics.js.map +7 -0
- package/dist/esm/cryptography/publickey.d.ts +67 -0
- package/dist/esm/cryptography/publickey.js +120 -0
- package/dist/esm/cryptography/publickey.js.map +7 -0
- package/dist/esm/cryptography/signature-scheme.d.ts +24 -0
- package/dist/esm/cryptography/signature-scheme.js +28 -0
- package/dist/esm/cryptography/signature-scheme.js.map +7 -0
- package/dist/esm/cryptography/signature.d.ts +65 -0
- package/dist/esm/cryptography/signature.js +51 -0
- package/dist/esm/cryptography/signature.js.map +7 -0
- package/dist/esm/experimental/cache.d.ts +12 -0
- package/dist/esm/experimental/cache.js +68 -0
- package/dist/esm/experimental/cache.js.map +7 -0
- package/dist/esm/experimental/client.d.ts +12 -0
- package/dist/esm/experimental/client.js +26 -0
- package/dist/esm/experimental/client.js.map +7 -0
- package/dist/esm/experimental/core.d.ts +37 -0
- package/dist/esm/experimental/core.js +94 -0
- package/dist/esm/experimental/core.js.map +7 -0
- package/dist/esm/experimental/errors.d.ts +8 -0
- package/dist/esm/experimental/errors.js +34 -0
- package/dist/esm/experimental/errors.js.map +7 -0
- package/dist/esm/experimental/index.d.ts +7 -0
- package/dist/esm/experimental/index.js +12 -0
- package/dist/esm/experimental/index.js.map +7 -0
- package/dist/esm/experimental/mvr.d.ts +42 -0
- package/dist/esm/experimental/mvr.js +350 -0
- package/dist/esm/experimental/mvr.js.map +7 -0
- package/dist/esm/experimental/transports/utils.d.ts +3 -0
- package/dist/esm/experimental/transports/utils.js +81 -0
- package/dist/esm/experimental/transports/utils.js.map +7 -0
- package/dist/esm/experimental/types.d.ts +434 -0
- package/dist/esm/experimental/types.js +1 -0
- package/dist/esm/experimental/types.js.map +7 -0
- package/dist/esm/faucet/faucet.d.ts +65 -0
- package/dist/esm/faucet/faucet.js +110 -0
- package/dist/esm/faucet/faucet.js.map +7 -0
- package/dist/esm/faucet/index.d.ts +1 -0
- package/dist/esm/faucet/index.js +17 -0
- package/dist/esm/faucet/index.js.map +7 -0
- package/dist/esm/graphql/client.d.ts +50 -0
- package/dist/esm/graphql/client.js +74 -0
- package/dist/esm/graphql/client.js.map +7 -0
- package/dist/esm/graphql/core.d.ts +32 -0
- package/dist/esm/graphql/core.js +469 -0
- package/dist/esm/graphql/core.js.map +7 -0
- package/dist/esm/graphql/generated/2024.1/tada-env.d.ts +11380 -0
- package/dist/esm/graphql/generated/2024.1/tada-env.js +13122 -0
- package/dist/esm/graphql/generated/2024.1/tada-env.js.map +7 -0
- package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js +17 -0
- package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
- package/dist/esm/graphql/generated/2024.4/tada-env.d.ts +11496 -0
- package/dist/esm/graphql/generated/2024.4/tada-env.js +13268 -0
- package/dist/esm/graphql/generated/2024.4/tada-env.js.map +7 -0
- package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js +17 -0
- package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
- package/dist/esm/graphql/generated/latest/tada-env.d.ts +11128 -0
- package/dist/esm/graphql/generated/latest/tada-env.js +12906 -0
- package/dist/esm/graphql/generated/latest/tada-env.js.map +7 -0
- package/dist/esm/graphql/generated/latest/tsconfig.tada.js +17 -0
- package/dist/esm/graphql/generated/latest/tsconfig.tada.js.map +7 -0
- package/dist/esm/graphql/generated/queries.d.ts +4980 -0
- package/dist/esm/graphql/generated/queries.js +783 -0
- package/dist/esm/graphql/generated/queries.js.map +7 -0
- package/dist/esm/graphql/index.d.ts +1 -0
- package/dist/esm/graphql/index.js +9 -0
- package/dist/esm/graphql/index.js.map +7 -0
- package/dist/esm/graphql/schemas/2024.1/index.d.ts +10 -0
- package/dist/esm/graphql/schemas/2024.1/index.js +9 -0
- package/dist/esm/graphql/schemas/2024.1/index.js.map +7 -0
- package/dist/esm/graphql/schemas/2024.4/index.d.ts +10 -0
- package/dist/esm/graphql/schemas/2024.4/index.js +9 -0
- package/dist/esm/graphql/schemas/2024.4/index.js.map +7 -0
- package/dist/esm/graphql/schemas/latest/index.d.ts +10 -0
- package/dist/esm/graphql/schemas/latest/index.js +9 -0
- package/dist/esm/graphql/schemas/latest/index.js.map +7 -0
- package/dist/esm/graphql/types.d.ts +71 -0
- package/dist/esm/graphql/types.js +1 -0
- package/dist/esm/graphql/types.js.map +7 -0
- package/dist/esm/grpc/client.d.ts +33 -0
- package/dist/esm/grpc/client.js +33 -0
- package/dist/esm/grpc/client.js.map +7 -0
- package/dist/esm/grpc/core.d.ts +30 -0
- package/dist/esm/grpc/core.js +640 -0
- package/dist/esm/grpc/core.js.map +7 -0
- package/dist/esm/grpc/index.d.ts +4 -0
- package/dist/esm/grpc/index.js +7 -0
- package/dist/esm/grpc/index.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +173 -0
- package/dist/esm/grpc/proto/google/protobuf/any.js +119 -0
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +104 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.js +68 -0
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +25 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.js +11 -0
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +53 -0
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +169 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.js +179 -0
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +7 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +103 -0
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +7 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +525 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.js +312 -0
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +7 -0
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +46 -0
- package/dist/esm/grpc/proto/google/rpc/status.js +28 -0
- package/dist/esm/grpc/proto/google/rpc/status.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/argument.d.ts +66 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/argument.js +51 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/argument.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/balance_change.d.ts +34 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/balance_change.js +36 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/balance_change.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/bcs.d.ts +30 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/bcs.js +28 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/bcs.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint.d.ts +68 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint.js +44 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.ts +74 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_contents.js +69 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_contents.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.ts +195 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_summary.js +145 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/checkpoint_summary.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/effects.d.ts +338 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/effects.js +274 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/effects.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/epoch.d.ts +62 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/epoch.js +53 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/epoch.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/error_reason.d.ts +17 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/error_reason.js +10 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/error_reason.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/event.d.ts +88 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/event.js +66 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/event.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/executed_transaction.d.ts +80 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/executed_transaction.js +54 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/executed_transaction.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/execution_status.d.ts +843 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/execution_status.js +493 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/execution_status.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.ts +41 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/gas_cost_summary.js +44 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/gas_cost_summary.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/input.d.ts +98 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/input.js +70 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/input.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/jwk.d.ts +70 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/jwk.js +68 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/jwk.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.client.d.ts +95 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.client.js +107 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.d.ts +420 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.js +307 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/ledger_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package.d.ts +579 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package.js +460 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.client.d.ts +61 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.client.js +66 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.d.ts +229 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.js +206 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/move_package_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.client.d.ts +41 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.client.js +40 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.d.ts +144 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.js +118 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/name_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object.d.ts +127 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object.js +93 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object_reference.d.ts +34 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object_reference.js +36 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/object_reference.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/owner.d.ts +61 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/owner.js +45 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/owner.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/protocol_config.d.ts +30 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/protocol_config.js +42 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/protocol_config.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature.d.ts +630 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature.js +494 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_scheme.d.ts +40 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_scheme.js +14 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_scheme.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.ts +35 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.client.js +29 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.d.ts +79 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.js +56 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/signature_verification_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.client.d.ts +71 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.client.js +79 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.d.ts +690 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.js +526 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/state_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.client.d.ts +55 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.client.js +39 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.d.ts +57 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.js +43 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/subscription_service.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/system_state.d.ts +684 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/system_state.js +654 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/system_state.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction.d.ts +1321 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction.js +911 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.ts +41 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.js +40 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.js.map +7 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.ts +184 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.js +139 -0
- package/dist/esm/grpc/proto/haneul/rpc/v2/transaction_execution_service.js.map +7 -0
- package/dist/esm/jsonRpc/client.d.ts +264 -0
- package/dist/esm/jsonRpc/client.js +818 -0
- package/dist/esm/jsonRpc/client.js.map +7 -0
- package/dist/esm/jsonRpc/core.d.ts +93 -0
- package/dist/esm/jsonRpc/core.js +624 -0
- package/dist/esm/jsonRpc/core.js.map +7 -0
- package/dist/esm/jsonRpc/errors.d.ts +12 -0
- package/dist/esm/jsonRpc/errors.js +40 -0
- package/dist/esm/jsonRpc/errors.js.map +7 -0
- package/dist/esm/jsonRpc/http-transport.d.ts +42 -0
- package/dist/esm/jsonRpc/http-transport.js +99 -0
- package/dist/esm/jsonRpc/http-transport.js.map +7 -0
- package/dist/esm/jsonRpc/index.d.ts +4 -0
- package/dist/esm/jsonRpc/index.js +17 -0
- package/dist/esm/jsonRpc/index.js.map +7 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.d.ts +4 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.js +295 -0
- package/dist/esm/jsonRpc/json-rpc-resolver.js.map +7 -0
- package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +43 -0
- package/dist/esm/jsonRpc/rpc-websocket-client.js +174 -0
- package/dist/esm/jsonRpc/rpc-websocket-client.js.map +7 -0
- package/dist/esm/jsonRpc/types/chain.d.ts +99 -0
- package/dist/esm/jsonRpc/types/chain.js +1 -0
- package/dist/esm/jsonRpc/types/chain.js.map +7 -0
- package/dist/esm/jsonRpc/types/changes.d.ts +19 -0
- package/dist/esm/jsonRpc/types/changes.js +1 -0
- package/dist/esm/jsonRpc/types/changes.js.map +7 -0
- package/dist/esm/jsonRpc/types/coins.d.ts +6 -0
- package/dist/esm/jsonRpc/types/coins.js +1 -0
- package/dist/esm/jsonRpc/types/coins.js.map +7 -0
- package/dist/esm/jsonRpc/types/common.d.ts +2 -0
- package/dist/esm/jsonRpc/types/common.js +1 -0
- package/dist/esm/jsonRpc/types/common.js.map +7 -0
- package/dist/esm/jsonRpc/types/generated.d.ts +1492 -0
- package/dist/esm/jsonRpc/types/generated.js +1 -0
- package/dist/esm/jsonRpc/types/generated.js.map +7 -0
- package/dist/esm/jsonRpc/types/index.d.ts +6 -0
- package/dist/esm/jsonRpc/types/index.js +1 -0
- package/dist/esm/jsonRpc/types/index.js.map +7 -0
- package/dist/esm/jsonRpc/types/params.d.ts +656 -0
- package/dist/esm/jsonRpc/types/params.js +1 -0
- package/dist/esm/jsonRpc/types/params.js.map +7 -0
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.d.ts +8 -0
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +57 -0
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
- package/dist/esm/keypairs/ed25519/index.d.ts +2 -0
- package/dist/esm/keypairs/ed25519/index.js +11 -0
- package/dist/esm/keypairs/ed25519/index.js.map +7 -0
- package/dist/esm/keypairs/ed25519/keypair.d.ts +74 -0
- package/dist/esm/keypairs/ed25519/keypair.js +147 -0
- package/dist/esm/keypairs/ed25519/keypair.js.map +7 -0
- package/dist/esm/keypairs/ed25519/publickey.d.ts +30 -0
- package/dist/esm/keypairs/ed25519/publickey.js +72 -0
- package/dist/esm/keypairs/ed25519/publickey.js.map +7 -0
- package/dist/esm/keypairs/passkey/index.d.ts +3 -0
- package/dist/esm/keypairs/passkey/index.js +9 -0
- package/dist/esm/keypairs/passkey/index.js.map +7 -0
- package/dist/esm/keypairs/passkey/keypair.d.ts +113 -0
- package/dist/esm/keypairs/passkey/keypair.js +236 -0
- package/dist/esm/keypairs/passkey/keypair.js.map +7 -0
- package/dist/esm/keypairs/passkey/publickey.d.ts +72 -0
- package/dist/esm/keypairs/passkey/publickey.js +148 -0
- package/dist/esm/keypairs/passkey/publickey.js.map +7 -0
- package/dist/esm/keypairs/passkey/types.d.ts +12 -0
- package/dist/esm/keypairs/passkey/types.js +1 -0
- package/dist/esm/keypairs/passkey/types.js.map +7 -0
- package/dist/esm/keypairs/secp256k1/index.d.ts +2 -0
- package/dist/esm/keypairs/secp256k1/index.js +11 -0
- package/dist/esm/keypairs/secp256k1/index.js.map +7 -0
- package/dist/esm/keypairs/secp256k1/keypair.d.ts +73 -0
- package/dist/esm/keypairs/secp256k1/keypair.js +130 -0
- package/dist/esm/keypairs/secp256k1/keypair.js.map +7 -0
- package/dist/esm/keypairs/secp256k1/publickey.d.ts +30 -0
- package/dist/esm/keypairs/secp256k1/publickey.js +77 -0
- package/dist/esm/keypairs/secp256k1/publickey.js.map +7 -0
- package/dist/esm/keypairs/secp256r1/index.d.ts +2 -0
- package/dist/esm/keypairs/secp256r1/index.js +11 -0
- package/dist/esm/keypairs/secp256r1/index.js.map +7 -0
- package/dist/esm/keypairs/secp256r1/keypair.d.ts +73 -0
- package/dist/esm/keypairs/secp256r1/keypair.js +124 -0
- package/dist/esm/keypairs/secp256r1/keypair.js.map +7 -0
- package/dist/esm/keypairs/secp256r1/publickey.d.ts +30 -0
- package/dist/esm/keypairs/secp256r1/publickey.js +74 -0
- package/dist/esm/keypairs/secp256r1/publickey.js.map +7 -0
- package/dist/esm/multisig/index.d.ts +2 -0
- package/dist/esm/multisig/index.js +8 -0
- package/dist/esm/multisig/index.js.map +7 -0
- package/dist/esm/multisig/publickey.d.ts +114 -0
- package/dist/esm/multisig/publickey.js +243 -0
- package/dist/esm/multisig/publickey.js.map +7 -0
- package/dist/esm/multisig/signer.d.ts +20 -0
- package/dist/esm/multisig/signer.js +85 -0
- package/dist/esm/multisig/signer.js.map +7 -0
- package/dist/esm/package.json +5 -0
- package/dist/esm/transactions/Arguments.d.ts +49 -0
- package/dist/esm/transactions/Arguments.js +13 -0
- package/dist/esm/transactions/Arguments.js.map +7 -0
- package/dist/esm/transactions/Commands.d.ts +57 -0
- package/dist/esm/transactions/Commands.js +120 -0
- package/dist/esm/transactions/Commands.js.map +7 -0
- package/dist/esm/transactions/Inputs.d.ts +22 -0
- package/dist/esm/transactions/Inputs.js +60 -0
- package/dist/esm/transactions/Inputs.js.map +7 -0
- package/dist/esm/transactions/ObjectCache.d.ts +83 -0
- package/dist/esm/transactions/ObjectCache.js +221 -0
- package/dist/esm/transactions/ObjectCache.js.map +7 -0
- package/dist/esm/transactions/Transaction.d.ts +710 -0
- package/dist/esm/transactions/Transaction.js +668 -0
- package/dist/esm/transactions/Transaction.js.map +7 -0
- package/dist/esm/transactions/TransactionData.d.ts +73 -0
- package/dist/esm/transactions/TransactionData.js +413 -0
- package/dist/esm/transactions/TransactionData.js.map +7 -0
- package/dist/esm/transactions/__tests__/Transaction.test.d.ts +1 -0
- package/dist/esm/transactions/__tests__/bcs.test.d.ts +1 -0
- package/dist/esm/transactions/data/internal.d.ts +1010 -0
- package/dist/esm/transactions/data/internal.js +215 -0
- package/dist/esm/transactions/data/internal.js.map +7 -0
- package/dist/esm/transactions/data/v1.d.ts +312 -0
- package/dist/esm/transactions/data/v1.js +481 -0
- package/dist/esm/transactions/data/v1.js.map +7 -0
- package/dist/esm/transactions/data/v2.d.ts +153 -0
- package/dist/esm/transactions/data/v2.js +121 -0
- package/dist/esm/transactions/data/v2.js.map +7 -0
- package/dist/esm/transactions/executor/caching.d.ts +31 -0
- package/dist/esm/transactions/executor/caching.js +94 -0
- package/dist/esm/transactions/executor/caching.js.map +7 -0
- package/dist/esm/transactions/executor/parallel.d.ts +37 -0
- package/dist/esm/transactions/executor/parallel.js +360 -0
- package/dist/esm/transactions/executor/parallel.js.map +7 -0
- package/dist/esm/transactions/executor/queue.d.ts +11 -0
- package/dist/esm/transactions/executor/queue.js +65 -0
- package/dist/esm/transactions/executor/queue.js.map +7 -0
- package/dist/esm/transactions/executor/serial.d.ts +31 -0
- package/dist/esm/transactions/executor/serial.js +117 -0
- package/dist/esm/transactions/executor/serial.js.map +7 -0
- package/dist/esm/transactions/hash.d.ts +7 -0
- package/dist/esm/transactions/hash.js +12 -0
- package/dist/esm/transactions/hash.js.map +7 -0
- package/dist/esm/transactions/index.d.ts +21 -0
- package/dist/esm/transactions/index.js +39 -0
- package/dist/esm/transactions/index.js.map +7 -0
- package/dist/esm/transactions/intents/CoinWithBalance.d.ts +9 -0
- package/dist/esm/transactions/intents/CoinWithBalance.js +168 -0
- package/dist/esm/transactions/intents/CoinWithBalance.js.map +7 -0
- package/dist/esm/transactions/object.d.ts +16 -0
- package/dist/esm/transactions/object.js +58 -0
- package/dist/esm/transactions/object.js.map +7 -0
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +48 -0
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +47 -0
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js.map +7 -0
- package/dist/esm/transactions/pure.d.ts +20 -0
- package/dist/esm/transactions/pure.js +37 -0
- package/dist/esm/transactions/pure.js.map +7 -0
- package/dist/esm/transactions/resolve.d.ts +13 -0
- package/dist/esm/transactions/resolve.js +78 -0
- package/dist/esm/transactions/resolve.js.map +7 -0
- package/dist/esm/transactions/serializer.d.ts +7 -0
- package/dist/esm/transactions/serializer.js +162 -0
- package/dist/esm/transactions/serializer.js.map +7 -0
- package/dist/esm/transactions/utils.d.ts +10 -0
- package/dist/esm/transactions/utils.js +115 -0
- package/dist/esm/transactions/utils.js.map +7 -0
- package/dist/esm/utils/constants.d.ts +10 -0
- package/dist/esm/utils/constants.js +24 -0
- package/dist/esm/utils/constants.js.map +7 -0
- package/dist/esm/utils/derived-objects.d.ts +5 -0
- package/dist/esm/utils/derived-objects.js +14 -0
- package/dist/esm/utils/derived-objects.js.map +7 -0
- package/dist/esm/utils/dynamic-fields.d.ts +2 -0
- package/dist/esm/utils/dynamic-fields.js +21 -0
- package/dist/esm/utils/dynamic-fields.js.map +7 -0
- package/dist/esm/utils/format.d.ts +2 -0
- package/dist/esm/utils/format.js +16 -0
- package/dist/esm/utils/format.js.map +7 -0
- package/dist/esm/utils/haneul-types.d.ts +26 -0
- package/dist/esm/utils/haneul-types.js +71 -0
- package/dist/esm/utils/haneul-types.js.map +7 -0
- package/dist/esm/utils/haneulns.d.ts +2 -0
- package/dist/esm/utils/haneulns.js +37 -0
- package/dist/esm/utils/haneulns.js.map +7 -0
- package/dist/esm/utils/index.d.ts +9 -0
- package/dist/esm/utils/index.js +80 -0
- package/dist/esm/utils/index.js.map +7 -0
- package/dist/esm/utils/move-registry.d.ts +6 -0
- package/dist/esm/utils/move-registry.js +25 -0
- package/dist/esm/utils/move-registry.js.map +7 -0
- package/dist/esm/verify/index.d.ts +1 -0
- package/dist/esm/verify/index.js +15 -0
- package/dist/esm/verify/index.js.map +7 -0
- package/dist/esm/verify/verify.d.ts +21 -0
- package/dist/esm/verify/verify.js +104 -0
- package/dist/esm/verify/verify.js.map +7 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.js +7 -0
- package/dist/esm/version.js.map +7 -0
- package/dist/esm/zklogin/address.d.ts +16 -0
- package/dist/esm/zklogin/address.js +72 -0
- package/dist/esm/zklogin/address.js.map +7 -0
- package/dist/esm/zklogin/bcs.d.ts +28 -0
- package/dist/esm/zklogin/bcs.js +22 -0
- package/dist/esm/zklogin/bcs.js.map +7 -0
- package/dist/esm/zklogin/index.d.ts +9 -0
- package/dist/esm/zklogin/index.js +35 -0
- package/dist/esm/zklogin/index.js.map +7 -0
- package/dist/esm/zklogin/jwt-decode.d.ts +47 -0
- package/dist/esm/zklogin/jwt-decode.js +65 -0
- package/dist/esm/zklogin/jwt-decode.js.map +7 -0
- package/dist/esm/zklogin/jwt-utils.d.ts +12 -0
- package/dist/esm/zklogin/jwt-utils.js +101 -0
- package/dist/esm/zklogin/jwt-utils.js.map +7 -0
- package/dist/esm/zklogin/nonce.d.ts +4 -0
- package/dist/esm/zklogin/nonce.js +34 -0
- package/dist/esm/zklogin/nonce.js.map +7 -0
- package/dist/esm/zklogin/poseidon.d.ts +2 -0
- package/dist/esm/zklogin/poseidon.js +60 -0
- package/dist/esm/zklogin/poseidon.js.map +7 -0
- package/dist/esm/zklogin/publickey.d.ts +87 -0
- package/dist/esm/zklogin/publickey.js +237 -0
- package/dist/esm/zklogin/publickey.js.map +7 -0
- package/dist/esm/zklogin/signature.d.ts +23 -0
- package/dist/esm/zklogin/signature.js +28 -0
- package/dist/esm/zklogin/signature.js.map +7 -0
- package/dist/esm/zklogin/utils.d.ts +16 -0
- package/dist/esm/zklogin/utils.js +77 -0
- package/dist/esm/zklogin/utils.js.map +7 -0
- package/dist/tsconfig.esm.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/experimental/package.json +6 -0
- package/faucet/package.json +6 -0
- package/graphql/package.json +6 -0
- package/graphql/schemas/2024.1/package.json +6 -0
- package/graphql/schemas/2024.4/package.json +6 -0
- package/graphql/schemas/latest/package.json +6 -0
- package/grpc/package.json +6 -0
- package/jsonRpc/package.json +6 -0
- package/keypairs/ed25519/package.json +6 -0
- package/keypairs/passkey/package.json +6 -0
- package/keypairs/secp256k1/package.json +6 -0
- package/keypairs/secp256r1/package.json +6 -0
- package/multisig/package.json +6 -0
- package/package.json +196 -0
- package/src/bcs/bcs.ts +321 -0
- package/src/bcs/effects.ts +206 -0
- package/src/bcs/index.ts +96 -0
- package/src/bcs/pure.ts +92 -0
- package/src/bcs/type-tag-serializer.ts +110 -0
- package/src/bcs/types.ts +113 -0
- package/src/client/index.ts +21 -0
- package/src/client/network.ts +17 -0
- package/src/cryptography/index.ts +36 -0
- package/src/cryptography/intent.ts +22 -0
- package/src/cryptography/keypair.ts +157 -0
- package/src/cryptography/mnemonics.ts +49 -0
- package/src/cryptography/publickey.ts +168 -0
- package/src/cryptography/signature-scheme.ts +37 -0
- package/src/cryptography/signature.ts +76 -0
- package/src/experimental/cache.ts +78 -0
- package/src/experimental/client.ts +60 -0
- package/src/experimental/core.ts +197 -0
- package/src/experimental/errors.ts +37 -0
- package/src/experimental/index.ts +24 -0
- package/src/experimental/mvr.ts +488 -0
- package/src/experimental/transports/utils.ts +117 -0
- package/src/experimental/types.ts +569 -0
- package/src/faucet/faucet.ts +189 -0
- package/src/faucet/index.ts +11 -0
- package/src/graphql/client.ts +134 -0
- package/src/graphql/core.ts +629 -0
- package/src/graphql/generated/2024.1/schema.graphql +4182 -0
- package/src/graphql/generated/2024.1/tada-env.ts +13144 -0
- package/src/graphql/generated/2024.1/tsconfig.tada.json +11 -0
- package/src/graphql/generated/2024.4/schema.graphql +4211 -0
- package/src/graphql/generated/2024.4/tada-env.ts +13290 -0
- package/src/graphql/generated/2024.4/tsconfig.tada.json +11 -0
- package/src/graphql/generated/latest/schema.graphql +4312 -0
- package/src/graphql/generated/latest/tada-env.ts +12928 -0
- package/src/graphql/generated/latest/tsconfig.tada.json +11 -0
- package/src/graphql/generated/queries.ts +5391 -0
- package/src/graphql/index.ts +12 -0
- package/src/graphql/queries/getAllBalances.graphql +19 -0
- package/src/graphql/queries/getBalance.graphql +13 -0
- package/src/graphql/queries/getCoins.graphql +37 -0
- package/src/graphql/queries/getDynamicFields.graphql +36 -0
- package/src/graphql/queries/getMoveFunction.graphql +20 -0
- package/src/graphql/queries/getReferenceGasPrice.graphql +8 -0
- package/src/graphql/queries/nameService.graphql +8 -0
- package/src/graphql/queries/objects.graphql +83 -0
- package/src/graphql/queries/transactions.graphql +101 -0
- package/src/graphql/queries/verifyZkLoginSignature.graphql +16 -0
- package/src/graphql/schemas/2024.1/index.ts +17 -0
- package/src/graphql/schemas/2024.4/index.ts +17 -0
- package/src/graphql/schemas/latest/index.ts +17 -0
- package/src/graphql/types.ts +87 -0
- package/src/grpc/client.ts +62 -0
- package/src/grpc/core.ts +757 -0
- package/src/grpc/index.ts +7 -0
- package/src/grpc/proto/google/protobuf/any.ts +296 -0
- package/src/grpc/proto/google/protobuf/duration.ts +187 -0
- package/src/grpc/proto/google/protobuf/empty.ts +64 -0
- package/src/grpc/proto/google/protobuf/field_mask.ts +309 -0
- package/src/grpc/proto/google/protobuf/struct.ts +327 -0
- package/src/grpc/proto/google/protobuf/timestamp.ts +260 -0
- package/src/grpc/proto/google/rpc/error_details.ts +667 -0
- package/src/grpc/proto/google/rpc/status.ts +74 -0
- package/src/grpc/proto/haneul/rpc/v2/argument.ts +90 -0
- package/src/grpc/proto/haneul/rpc/v2/balance_change.ts +51 -0
- package/src/grpc/proto/haneul/rpc/v2/bcs.ts +46 -0
- package/src/grpc/proto/haneul/rpc/v2/checkpoint.ts +102 -0
- package/src/grpc/proto/haneul/rpc/v2/checkpoint_contents.ts +111 -0
- package/src/grpc/proto/haneul/rpc/v2/checkpoint_summary.ts +295 -0
- package/src/grpc/proto/haneul/rpc/v2/effects.ts +491 -0
- package/src/grpc/proto/haneul/rpc/v2/epoch.ts +113 -0
- package/src/grpc/proto/haneul/rpc/v2/error_reason.ts +28 -0
- package/src/grpc/proto/haneul/rpc/v2/event.ts +115 -0
- package/src/grpc/proto/haneul/rpc/v2/executed_transaction.ts +122 -0
- package/src/grpc/proto/haneul/rpc/v2/execution_status.ts +1079 -0
- package/src/grpc/proto/haneul/rpc/v2/gas_cost_summary.ts +87 -0
- package/src/grpc/proto/haneul/rpc/v2/input.ts +132 -0
- package/src/grpc/proto/haneul/rpc/v2/jwk.ts +94 -0
- package/src/grpc/proto/haneul/rpc/v2/ledger_service.client.ts +217 -0
- package/src/grpc/proto/haneul/rpc/v2/ledger_service.ts +625 -0
- package/src/grpc/proto/haneul/rpc/v2/move_package.ts +800 -0
- package/src/grpc/proto/haneul/rpc/v2/move_package_service.client.ts +135 -0
- package/src/grpc/proto/haneul/rpc/v2/move_package_service.ts +315 -0
- package/src/grpc/proto/haneul/rpc/v2/name_service.client.ts +83 -0
- package/src/grpc/proto/haneul/rpc/v2/name_service.ts +198 -0
- package/src/grpc/proto/haneul/rpc/v2/object.ts +186 -0
- package/src/grpc/proto/haneul/rpc/v2/object_reference.ts +58 -0
- package/src/grpc/proto/haneul/rpc/v2/owner.ts +91 -0
- package/src/grpc/proto/haneul/rpc/v2/protocol_config.ts +66 -0
- package/src/grpc/proto/haneul/rpc/v2/signature.ts +864 -0
- package/src/grpc/proto/haneul/rpc/v2/signature_scheme.ts +51 -0
- package/src/grpc/proto/haneul/rpc/v2/signature_verification_service.client.ts +63 -0
- package/src/grpc/proto/haneul/rpc/v2/signature_verification_service.ts +106 -0
- package/src/grpc/proto/haneul/rpc/v2/state_service.client.ts +161 -0
- package/src/grpc/proto/haneul/rpc/v2/state_service.ts +889 -0
- package/src/grpc/proto/haneul/rpc/v2/subscription_service.client.ts +81 -0
- package/src/grpc/proto/haneul/rpc/v2/subscription_service.ts +93 -0
- package/src/grpc/proto/haneul/rpc/v2/system_state.ts +1184 -0
- package/src/grpc/proto/haneul/rpc/v2/transaction.ts +1974 -0
- package/src/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.ts +85 -0
- package/src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts +282 -0
- package/src/jsonRpc/client.ts +1120 -0
- package/src/jsonRpc/core.ts +711 -0
- package/src/jsonRpc/errors.ts +45 -0
- package/src/jsonRpc/http-transport.ts +143 -0
- package/src/jsonRpc/index.ts +20 -0
- package/src/jsonRpc/json-rpc-resolver.ts +420 -0
- package/src/jsonRpc/rpc-websocket-client.ts +241 -0
- package/src/jsonRpc/types/chain.ts +122 -0
- package/src/jsonRpc/types/changes.ts +11 -0
- package/src/jsonRpc/types/coins.ts +9 -0
- package/src/jsonRpc/types/common.ts +5 -0
- package/src/jsonRpc/types/generated.ts +1639 -0
- package/src/jsonRpc/types/index.ts +9 -0
- package/src/jsonRpc/types/params.ts +660 -0
- package/src/keypairs/ed25519/ed25519-hd-key.ts +83 -0
- package/src/keypairs/ed25519/index.ts +9 -0
- package/src/keypairs/ed25519/keypair.ts +181 -0
- package/src/keypairs/ed25519/publickey.ts +89 -0
- package/src/keypairs/passkey/index.ts +5 -0
- package/src/keypairs/passkey/keypair.ts +306 -0
- package/src/keypairs/passkey/publickey.ts +188 -0
- package/src/keypairs/passkey/types.ts +16 -0
- package/src/keypairs/secp256k1/index.ts +9 -0
- package/src/keypairs/secp256k1/keypair.ts +161 -0
- package/src/keypairs/secp256k1/publickey.ts +94 -0
- package/src/keypairs/secp256r1/index.ts +9 -0
- package/src/keypairs/secp256r1/keypair.ts +157 -0
- package/src/keypairs/secp256r1/publickey.ts +91 -0
- package/src/multisig/index.ts +5 -0
- package/src/multisig/publickey.ts +358 -0
- package/src/multisig/signer.ts +93 -0
- package/src/transactions/Arguments.ts +27 -0
- package/src/transactions/Commands.ts +184 -0
- package/src/transactions/Inputs.ts +68 -0
- package/src/transactions/ObjectCache.ts +300 -0
- package/src/transactions/Transaction.ts +927 -0
- package/src/transactions/TransactionData.ts +560 -0
- package/src/transactions/__tests__/Transaction.test.ts +184 -0
- package/src/transactions/__tests__/bcs.test.ts +205 -0
- package/src/transactions/data/internal.ts +334 -0
- package/src/transactions/data/v1.ts +548 -0
- package/src/transactions/data/v2.ts +148 -0
- package/src/transactions/executor/caching.ts +111 -0
- package/src/transactions/executor/parallel.ts +459 -0
- package/src/transactions/executor/queue.ts +65 -0
- package/src/transactions/executor/serial.ts +145 -0
- package/src/transactions/hash.ts +20 -0
- package/src/transactions/index.ts +62 -0
- package/src/transactions/intents/CoinWithBalance.ts +230 -0
- package/src/transactions/object.ts +68 -0
- package/src/transactions/plugins/NamedPackagesPlugin.ts +111 -0
- package/src/transactions/pure.ts +66 -0
- package/src/transactions/resolve.ts +124 -0
- package/src/transactions/serializer.ts +212 -0
- package/src/transactions/utils.ts +142 -0
- package/src/utils/constants.ts +16 -0
- package/src/utils/derived-objects.ts +22 -0
- package/src/utils/dynamic-fields.ts +30 -0
- package/src/utils/format.ts +19 -0
- package/src/utils/haneul-types.ts +114 -0
- package/src/utils/haneulns.ts +43 -0
- package/src/utils/index.ts +48 -0
- package/src/utils/move-registry.ts +43 -0
- package/src/verify/index.ts +11 -0
- package/src/verify/verify.ts +149 -0
- package/src/version.ts +7 -0
- package/src/zklogin/address.ts +101 -0
- package/src/zklogin/bcs.ts +26 -0
- package/src/zklogin/index.ts +22 -0
- package/src/zklogin/jwt-decode.ts +127 -0
- package/src/zklogin/jwt-utils.ts +142 -0
- package/src/zklogin/nonce.ts +39 -0
- package/src/zklogin/poseidon.ts +64 -0
- package/src/zklogin/publickey.ts +286 -0
- package/src/zklogin/signature.ts +38 -0
- package/src/zklogin/utils.ts +112 -0
- package/transactions/package.json +6 -0
- package/utils/package.json +6 -0
- package/verify/package.json +6 -0
- package/zklogin/package.json +6 -0
|
@@ -0,0 +1,4312 @@
|
|
|
1
|
+
"""
|
|
2
|
+
System transaction for creating the accumulator root.
|
|
3
|
+
"""
|
|
4
|
+
type AccumulatorRootCreateTransaction {
|
|
5
|
+
"""
|
|
6
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
7
|
+
"""
|
|
8
|
+
_: Boolean
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type ActiveJwk {
|
|
12
|
+
"""
|
|
13
|
+
The JWK algorithm parameter, (RFC 7517, Section 4.4).
|
|
14
|
+
"""
|
|
15
|
+
alg: String
|
|
16
|
+
"""
|
|
17
|
+
The JWK RSA public exponent, (RFC 7517, Section 9.3).
|
|
18
|
+
"""
|
|
19
|
+
e: String
|
|
20
|
+
"""
|
|
21
|
+
The most recent epoch in which the JWK was validated.
|
|
22
|
+
"""
|
|
23
|
+
epoch: Epoch
|
|
24
|
+
"""
|
|
25
|
+
The string (Issuing Authority) that identifies the OIDC provider.
|
|
26
|
+
"""
|
|
27
|
+
iss: String
|
|
28
|
+
"""
|
|
29
|
+
The string (Key ID) that identifies the JWK among a set of JWKs, (RFC 7517, Section 4.5).
|
|
30
|
+
"""
|
|
31
|
+
kid: String
|
|
32
|
+
"""
|
|
33
|
+
The JWK key type parameter, (RFC 7517, Section 4.1).
|
|
34
|
+
"""
|
|
35
|
+
kty: String
|
|
36
|
+
"""
|
|
37
|
+
The JWK RSA modulus, (RFC 7517, Section 9.3).
|
|
38
|
+
"""
|
|
39
|
+
n: String
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type ActiveJwkConnection {
|
|
43
|
+
"""
|
|
44
|
+
A list of edges.
|
|
45
|
+
"""
|
|
46
|
+
edges: [ActiveJwkEdge!]!
|
|
47
|
+
"""
|
|
48
|
+
A list of nodes.
|
|
49
|
+
"""
|
|
50
|
+
nodes: [ActiveJwk!]!
|
|
51
|
+
"""
|
|
52
|
+
Information to aid in pagination.
|
|
53
|
+
"""
|
|
54
|
+
pageInfo: PageInfo!
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
"""
|
|
58
|
+
An edge in a connection.
|
|
59
|
+
"""
|
|
60
|
+
type ActiveJwkEdge {
|
|
61
|
+
"""
|
|
62
|
+
A cursor for use in pagination
|
|
63
|
+
"""
|
|
64
|
+
cursor: String!
|
|
65
|
+
"""
|
|
66
|
+
The item at the end of the edge
|
|
67
|
+
"""
|
|
68
|
+
node: ActiveJwk!
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
type Address implements IAddressable {
|
|
72
|
+
"""
|
|
73
|
+
The Address' identifier, a 32-byte number represented as a 64-character hex string, with a lead "0x".
|
|
74
|
+
"""
|
|
75
|
+
address: SuiAddress!
|
|
76
|
+
"""
|
|
77
|
+
Attempts to fetch the object at this address.
|
|
78
|
+
"""
|
|
79
|
+
asObject: Object
|
|
80
|
+
"""
|
|
81
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
82
|
+
|
|
83
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
84
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
85
|
+
"""
|
|
86
|
+
balance(coinType: String!): Balance
|
|
87
|
+
"""
|
|
88
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
89
|
+
"""
|
|
90
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
91
|
+
"""
|
|
92
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
93
|
+
"""
|
|
94
|
+
defaultSuinsName: String
|
|
95
|
+
"""
|
|
96
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
97
|
+
|
|
98
|
+
Returns `null` if a dynamic field with that name could not be found attached to the object with this address.
|
|
99
|
+
"""
|
|
100
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
101
|
+
"""
|
|
102
|
+
Dynamic fields owned by this address.
|
|
103
|
+
|
|
104
|
+
The address must correspond to an object (account addresses cannot own dynamic fields), but that object may be wrapped.
|
|
105
|
+
"""
|
|
106
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
107
|
+
"""
|
|
108
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
109
|
+
|
|
110
|
+
Returns `null` if a dynamic object field with that name could not be found attached to the object with this address.
|
|
111
|
+
"""
|
|
112
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
113
|
+
"""
|
|
114
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
115
|
+
|
|
116
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
117
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
118
|
+
"""
|
|
119
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
120
|
+
"""
|
|
121
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
122
|
+
|
|
123
|
+
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`.
|
|
124
|
+
"""
|
|
125
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
126
|
+
"""
|
|
127
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
128
|
+
|
|
129
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
130
|
+
"""
|
|
131
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
132
|
+
"""
|
|
133
|
+
Objects owned by this address, optionally filtered by type.
|
|
134
|
+
"""
|
|
135
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
136
|
+
"""
|
|
137
|
+
Transactions associated with this address.
|
|
138
|
+
|
|
139
|
+
Similar behavior to the `transactions` in Query but supporting the additional `AddressTransactionRelationship` filter, which defaults to `SENT`.
|
|
140
|
+
"""
|
|
141
|
+
transactions(first: Int, after: String, last: Int, before: String, relation: AddressTransactionRelationship, filter: TransactionFilter): TransactionConnection
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
"""
|
|
145
|
+
Object is exclusively owned by a single address, and is mutable.
|
|
146
|
+
"""
|
|
147
|
+
type AddressOwner {
|
|
148
|
+
"""
|
|
149
|
+
The owner's address.
|
|
150
|
+
"""
|
|
151
|
+
address: Address
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
"""
|
|
155
|
+
The possible relationship types for a transaction: sent or affected.
|
|
156
|
+
"""
|
|
157
|
+
enum AddressTransactionRelationship {
|
|
158
|
+
"""
|
|
159
|
+
Transactions this address has sent.
|
|
160
|
+
"""
|
|
161
|
+
SENT
|
|
162
|
+
"""
|
|
163
|
+
Transactions that this address was involved in, either as the sender, sponsor, or as the owner of some object that was created, modified or transferred.
|
|
164
|
+
"""
|
|
165
|
+
AFFECTED
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
"""
|
|
169
|
+
System transaction for creating the on-chain state used by zkLogin.
|
|
170
|
+
"""
|
|
171
|
+
type AuthenticatorStateCreateTransaction {
|
|
172
|
+
"""
|
|
173
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
174
|
+
"""
|
|
175
|
+
_: Boolean
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
"""
|
|
179
|
+
System transaction that is executed at the end of an epoch to expire JSON Web Keys (JWKs) that are no longer valid, based on their associated epoch. This is part of the on-chain state management for zkLogin and authentication.
|
|
180
|
+
"""
|
|
181
|
+
type AuthenticatorStateExpireTransaction {
|
|
182
|
+
"""
|
|
183
|
+
The initial version that the AuthenticatorStateUpdate was shared at.
|
|
184
|
+
"""
|
|
185
|
+
authenticatorObjInitialSharedVersion: UInt53
|
|
186
|
+
"""
|
|
187
|
+
Expire JWKs that have a lower epoch than this.
|
|
188
|
+
"""
|
|
189
|
+
minEpoch: Epoch
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
type AuthenticatorStateUpdateTransaction {
|
|
193
|
+
"""
|
|
194
|
+
The initial version of the authenticator object that it was shared at.
|
|
195
|
+
"""
|
|
196
|
+
authenticatorObjInitialSharedVersion: UInt53
|
|
197
|
+
"""
|
|
198
|
+
Epoch of the authenticator state update transaction.
|
|
199
|
+
"""
|
|
200
|
+
epoch: Epoch
|
|
201
|
+
"""
|
|
202
|
+
Newly active JWKs (JSON Web Keys).
|
|
203
|
+
"""
|
|
204
|
+
newActiveJwks(first: Int, after: String, last: Int, before: String): ActiveJwkConnection
|
|
205
|
+
"""
|
|
206
|
+
Consensus round of the authenticator state update.
|
|
207
|
+
"""
|
|
208
|
+
round: UInt53
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
"""
|
|
212
|
+
The total balance for a particular coin type.
|
|
213
|
+
"""
|
|
214
|
+
type Balance {
|
|
215
|
+
"""
|
|
216
|
+
Coin type for the balance, such as `0x2::haneul::HANEUL`.
|
|
217
|
+
"""
|
|
218
|
+
coinType: MoveType
|
|
219
|
+
"""
|
|
220
|
+
The total balance across all coin objects of this coin type.
|
|
221
|
+
"""
|
|
222
|
+
totalBalance: BigInt
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
"""
|
|
226
|
+
Effects to the balance (sum of coin values per coin type) of addresses and objects.
|
|
227
|
+
"""
|
|
228
|
+
type BalanceChange {
|
|
229
|
+
"""
|
|
230
|
+
The signed balance change.
|
|
231
|
+
"""
|
|
232
|
+
amount: BigInt
|
|
233
|
+
"""
|
|
234
|
+
The inner type of the coin whose balance has changed (e.g. `0x2::haneul::HANEUL`).
|
|
235
|
+
"""
|
|
236
|
+
coinType: MoveType
|
|
237
|
+
"""
|
|
238
|
+
The address or object whose balance has changed.
|
|
239
|
+
"""
|
|
240
|
+
owner: Address
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
type BalanceChangeConnection {
|
|
244
|
+
"""
|
|
245
|
+
A list of edges.
|
|
246
|
+
"""
|
|
247
|
+
edges: [BalanceChangeEdge!]!
|
|
248
|
+
"""
|
|
249
|
+
A list of nodes.
|
|
250
|
+
"""
|
|
251
|
+
nodes: [BalanceChange!]!
|
|
252
|
+
"""
|
|
253
|
+
Information to aid in pagination.
|
|
254
|
+
"""
|
|
255
|
+
pageInfo: PageInfo!
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
"""
|
|
259
|
+
An edge in a connection.
|
|
260
|
+
"""
|
|
261
|
+
type BalanceChangeEdge {
|
|
262
|
+
"""
|
|
263
|
+
A cursor for use in pagination
|
|
264
|
+
"""
|
|
265
|
+
cursor: String!
|
|
266
|
+
"""
|
|
267
|
+
The item at the end of the edge
|
|
268
|
+
"""
|
|
269
|
+
node: BalanceChange!
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
type BalanceConnection {
|
|
273
|
+
"""
|
|
274
|
+
A list of edges.
|
|
275
|
+
"""
|
|
276
|
+
edges: [BalanceEdge!]!
|
|
277
|
+
"""
|
|
278
|
+
A list of nodes.
|
|
279
|
+
"""
|
|
280
|
+
nodes: [Balance!]!
|
|
281
|
+
"""
|
|
282
|
+
Information to aid in pagination.
|
|
283
|
+
"""
|
|
284
|
+
pageInfo: PageInfo!
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
"""
|
|
288
|
+
An edge in a connection.
|
|
289
|
+
"""
|
|
290
|
+
type BalanceEdge {
|
|
291
|
+
"""
|
|
292
|
+
A cursor for use in pagination
|
|
293
|
+
"""
|
|
294
|
+
cursor: String!
|
|
295
|
+
"""
|
|
296
|
+
The item at the end of the edge
|
|
297
|
+
"""
|
|
298
|
+
node: Balance!
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
"""
|
|
302
|
+
String containing Base64-encoded binary data.
|
|
303
|
+
"""
|
|
304
|
+
scalar Base64
|
|
305
|
+
|
|
306
|
+
"""
|
|
307
|
+
String representation of an arbitrary width, possibly signed integer
|
|
308
|
+
"""
|
|
309
|
+
scalar BigInt
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
System transaction for initializing bridge committee.
|
|
314
|
+
"""
|
|
315
|
+
type BridgeCommitteeInitTransaction {
|
|
316
|
+
"""
|
|
317
|
+
The initial shared version of the bridge object.
|
|
318
|
+
"""
|
|
319
|
+
bridgeObjectVersion: UInt53
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
"""
|
|
323
|
+
System transaction for creating bridge state for cross-chain operations.
|
|
324
|
+
"""
|
|
325
|
+
type BridgeStateCreateTransaction {
|
|
326
|
+
"""
|
|
327
|
+
The chain identifier for which this bridge state is being created.
|
|
328
|
+
"""
|
|
329
|
+
chainIdentifier: String
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
"""
|
|
333
|
+
A system transaction that updates epoch information on-chain (increments the current epoch). Executed by the system once per epoch, without using gas. Epoch change transactions cannot be submitted by users, because validators will refuse to sign them.
|
|
334
|
+
|
|
335
|
+
This transaction kind is deprecated in favour of `EndOfEpochTransaction`.
|
|
336
|
+
"""
|
|
337
|
+
type ChangeEpochTransaction {
|
|
338
|
+
"""
|
|
339
|
+
The total amount of gas charged for computation during the epoch.
|
|
340
|
+
"""
|
|
341
|
+
computationCharge: UInt53
|
|
342
|
+
"""
|
|
343
|
+
The next (to become) epoch.
|
|
344
|
+
"""
|
|
345
|
+
epoch: Epoch
|
|
346
|
+
"""
|
|
347
|
+
Unix timestamp when epoch started.
|
|
348
|
+
"""
|
|
349
|
+
epochStartTimestamp: DateTime
|
|
350
|
+
"""
|
|
351
|
+
The non-refundable storage fee.
|
|
352
|
+
"""
|
|
353
|
+
nonRefundableStorageFee: UInt53
|
|
354
|
+
"""
|
|
355
|
+
The epoch's corresponding protocol configuration.
|
|
356
|
+
"""
|
|
357
|
+
protocolConfigs: ProtocolConfigs
|
|
358
|
+
"""
|
|
359
|
+
The total amount of gas charged for storage during the epoch.
|
|
360
|
+
"""
|
|
361
|
+
storageCharge: UInt53
|
|
362
|
+
"""
|
|
363
|
+
The amount of storage rebate refunded to the transaction senders.
|
|
364
|
+
"""
|
|
365
|
+
storageRebate: UInt53
|
|
366
|
+
"""
|
|
367
|
+
System packages that will be written by validators before the new epoch starts, to upgrade them on-chain. These objects do not have a "previous transaction" because they are not written on-chain yet. Consult `effects.objectChanges` for this transaction to see the actual objects written.
|
|
368
|
+
"""
|
|
369
|
+
systemPackages(first: Int, after: String, last: Int, before: String): MovePackageConnection
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
"""
|
|
373
|
+
Checkpoints contain finalized transactions and are used for node synchronization and global transaction ordering.
|
|
374
|
+
"""
|
|
375
|
+
type Checkpoint {
|
|
376
|
+
"""
|
|
377
|
+
A commitment by the committee at each checkpoint on the artifacts of the checkpoint.
|
|
378
|
+
e.g., object checkpoint states
|
|
379
|
+
"""
|
|
380
|
+
artifactsDigest: String
|
|
381
|
+
"""
|
|
382
|
+
The Base64 serialized BCS bytes of this checkpoint's contents.
|
|
383
|
+
"""
|
|
384
|
+
contentBcs: Base64
|
|
385
|
+
"""
|
|
386
|
+
A 32-byte hash that uniquely identifies the checkpoint's content, encoded in Base58.
|
|
387
|
+
"""
|
|
388
|
+
contentDigest: String
|
|
389
|
+
"""
|
|
390
|
+
A 32-byte hash that uniquely identifies the checkpoint, encoded in Base58. This is a hash of the checkpoint's summary.
|
|
391
|
+
"""
|
|
392
|
+
digest: String
|
|
393
|
+
"""
|
|
394
|
+
The epoch that this checkpoint is part of.
|
|
395
|
+
"""
|
|
396
|
+
epoch: Epoch
|
|
397
|
+
"""
|
|
398
|
+
The total number of transactions in the network by the end of this checkpoint.
|
|
399
|
+
"""
|
|
400
|
+
networkTotalTransactions: UInt53
|
|
401
|
+
"""
|
|
402
|
+
The digest of the previous checkpoint's summary.
|
|
403
|
+
"""
|
|
404
|
+
previousCheckpointDigest: String
|
|
405
|
+
"""
|
|
406
|
+
Query the RPC as if this checkpoint were the latest checkpoint.
|
|
407
|
+
"""
|
|
408
|
+
query: Query
|
|
409
|
+
"""
|
|
410
|
+
The computation cost, storage cost, storage rebate, and non-refundable storage fee accumulated during this epoch, up to and including this checkpoint. These values increase monotonically across checkpoints in the same epoch, and reset on epoch boundaries.
|
|
411
|
+
"""
|
|
412
|
+
rollingGasSummary: GasCostSummary
|
|
413
|
+
"""
|
|
414
|
+
The checkpoint's position in the total order of finalized checkpoints, agreed upon by consensus.
|
|
415
|
+
"""
|
|
416
|
+
sequenceNumber: UInt53!
|
|
417
|
+
"""
|
|
418
|
+
The Base64 serialized BCS bytes of this checkpoint's summary.
|
|
419
|
+
"""
|
|
420
|
+
summaryBcs: Base64
|
|
421
|
+
"""
|
|
422
|
+
The timestamp at which the checkpoint is agreed to have happened according to consensus. Transactions that access time in this checkpoint will observe this timestamp.
|
|
423
|
+
"""
|
|
424
|
+
timestamp: DateTime
|
|
425
|
+
transactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
426
|
+
"""
|
|
427
|
+
The aggregation of signatures from a quorum of validators for the checkpoint proposal.
|
|
428
|
+
"""
|
|
429
|
+
validatorSignatures: ValidatorAggregatedSignature
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
type CheckpointConnection {
|
|
433
|
+
"""
|
|
434
|
+
A list of edges.
|
|
435
|
+
"""
|
|
436
|
+
edges: [CheckpointEdge!]!
|
|
437
|
+
"""
|
|
438
|
+
A list of nodes.
|
|
439
|
+
"""
|
|
440
|
+
nodes: [Checkpoint!]!
|
|
441
|
+
"""
|
|
442
|
+
Information to aid in pagination.
|
|
443
|
+
"""
|
|
444
|
+
pageInfo: PageInfo!
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
"""
|
|
448
|
+
An edge in a connection.
|
|
449
|
+
"""
|
|
450
|
+
type CheckpointEdge {
|
|
451
|
+
"""
|
|
452
|
+
A cursor for use in pagination
|
|
453
|
+
"""
|
|
454
|
+
cursor: String!
|
|
455
|
+
"""
|
|
456
|
+
The item at the end of the edge
|
|
457
|
+
"""
|
|
458
|
+
node: Checkpoint!
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
input CheckpointFilter {
|
|
462
|
+
"""
|
|
463
|
+
Limit query results to checkpoints that occured strictly after the given checkpoint.
|
|
464
|
+
"""
|
|
465
|
+
afterCheckpoint: UInt53
|
|
466
|
+
"""
|
|
467
|
+
Limit query results to checkpoints that occured at the given checkpoint.
|
|
468
|
+
"""
|
|
469
|
+
atCheckpoint: UInt53
|
|
470
|
+
"""
|
|
471
|
+
Limit query results to checkpoints at this epoch.
|
|
472
|
+
"""
|
|
473
|
+
atEpoch: UInt53
|
|
474
|
+
"""
|
|
475
|
+
Limit query results to checkpoints that occured strictly before the given checkpoint.
|
|
476
|
+
"""
|
|
477
|
+
beforeCheckpoint: UInt53
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
"""
|
|
481
|
+
System transaction for creating the coin deny list state.
|
|
482
|
+
"""
|
|
483
|
+
type CoinDenyListStateCreateTransaction {
|
|
484
|
+
"""
|
|
485
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
486
|
+
"""
|
|
487
|
+
_: Boolean
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
"""
|
|
491
|
+
An object representing metadata about a coin type.
|
|
492
|
+
"""
|
|
493
|
+
type CoinMetadata implements IAddressable & IMoveObject & IObject {
|
|
494
|
+
"""
|
|
495
|
+
The CoinMetadata's ID.
|
|
496
|
+
"""
|
|
497
|
+
address: SuiAddress!
|
|
498
|
+
"""
|
|
499
|
+
Whether the `DenyCap` can be used to enable a global pause that behaves as if all addresses were added to the deny list. `null` indicates that it is not known whether the currency can be paused or not. This field is only populated on currencies held in the Coin Registry. To determine whether a legacy currency can be paused, check the contents of its `DenyCap`, if it can be found.
|
|
500
|
+
"""
|
|
501
|
+
allowGlobalPause: Boolean
|
|
502
|
+
"""
|
|
503
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
504
|
+
|
|
505
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
506
|
+
"""
|
|
507
|
+
balance(coinType: String!): Balance
|
|
508
|
+
"""
|
|
509
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
510
|
+
"""
|
|
511
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
512
|
+
"""
|
|
513
|
+
The structured representation of the object's contents.
|
|
514
|
+
"""
|
|
515
|
+
contents: MoveValue
|
|
516
|
+
"""
|
|
517
|
+
Number of decimal places the coin uses.
|
|
518
|
+
"""
|
|
519
|
+
decimals: Int
|
|
520
|
+
"""
|
|
521
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
522
|
+
"""
|
|
523
|
+
defaultSuinsName: String
|
|
524
|
+
"""
|
|
525
|
+
If the currency is regulated, this object represents the capability to modify the deny list. If a capability is known but wrapped, its address can be fetched but other fields will not be accessible.
|
|
526
|
+
"""
|
|
527
|
+
denyCap: MoveObject
|
|
528
|
+
"""
|
|
529
|
+
Description of the coin.
|
|
530
|
+
"""
|
|
531
|
+
description: String
|
|
532
|
+
"""
|
|
533
|
+
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
534
|
+
"""
|
|
535
|
+
digest: String
|
|
536
|
+
"""
|
|
537
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
538
|
+
|
|
539
|
+
Returns `null` if a dynamic field with that name could not be found attached to this object.
|
|
540
|
+
"""
|
|
541
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
542
|
+
"""
|
|
543
|
+
Dynamic fields owned by this object.
|
|
544
|
+
|
|
545
|
+
Dynamic fields on wrapped objects can be accessed using `Address.dynamicFields`.
|
|
546
|
+
"""
|
|
547
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
548
|
+
"""
|
|
549
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
550
|
+
|
|
551
|
+
Returns `null` if a dynamic object field with that name could not be found attached to this object.
|
|
552
|
+
"""
|
|
553
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
554
|
+
"""
|
|
555
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `sui::transfer::public_transfer`.
|
|
556
|
+
|
|
557
|
+
Both these operations require the object to have both the `key` and `store` abilities.
|
|
558
|
+
"""
|
|
559
|
+
hasPublicTransfer: Boolean
|
|
560
|
+
"""
|
|
561
|
+
URL for the coin logo.
|
|
562
|
+
"""
|
|
563
|
+
iconUrl: String
|
|
564
|
+
"""
|
|
565
|
+
The Base64-encoded BCS serialize of this object, as a `MoveObject`.
|
|
566
|
+
"""
|
|
567
|
+
moveObjectBcs: Base64
|
|
568
|
+
"""
|
|
569
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
570
|
+
|
|
571
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
572
|
+
"""
|
|
573
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
574
|
+
"""
|
|
575
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
576
|
+
|
|
577
|
+
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`.
|
|
578
|
+
"""
|
|
579
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
580
|
+
"""
|
|
581
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
582
|
+
|
|
583
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
584
|
+
"""
|
|
585
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
586
|
+
"""
|
|
587
|
+
Name for the coin.
|
|
588
|
+
"""
|
|
589
|
+
name: String
|
|
590
|
+
"""
|
|
591
|
+
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
|
|
592
|
+
"""
|
|
593
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
594
|
+
"""
|
|
595
|
+
The Base64-encoded BCS serialization of this object, as an `Object`.
|
|
596
|
+
"""
|
|
597
|
+
objectBcs: Base64
|
|
598
|
+
"""
|
|
599
|
+
Paginate all versions of this object after this one.
|
|
600
|
+
"""
|
|
601
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
602
|
+
"""
|
|
603
|
+
Paginate all versions of this object before this one.
|
|
604
|
+
"""
|
|
605
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
606
|
+
"""
|
|
607
|
+
Objects owned by this object, optionally filtered by type.
|
|
608
|
+
"""
|
|
609
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
610
|
+
"""
|
|
611
|
+
The object's owner kind.
|
|
612
|
+
"""
|
|
613
|
+
owner: Owner
|
|
614
|
+
"""
|
|
615
|
+
The transaction that created this version of the object.
|
|
616
|
+
"""
|
|
617
|
+
previousTransaction: Transaction
|
|
618
|
+
"""
|
|
619
|
+
The transactions that sent objects to this object.
|
|
620
|
+
"""
|
|
621
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
622
|
+
"""
|
|
623
|
+
Whether the currency is regulated or not. `null` indicates that the regulatory status is unknown.
|
|
624
|
+
"""
|
|
625
|
+
regulatedState: RegulatedState
|
|
626
|
+
"""
|
|
627
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
628
|
+
"""
|
|
629
|
+
storageRebate: BigInt
|
|
630
|
+
"""
|
|
631
|
+
The overall balance of coins issued.
|
|
632
|
+
"""
|
|
633
|
+
supply: BigInt
|
|
634
|
+
"""
|
|
635
|
+
Future behavior of the supply. `null` indicates that the future behavior of the supply is not known because the currency's treasury still exists.
|
|
636
|
+
"""
|
|
637
|
+
supplyState: SupplyState
|
|
638
|
+
"""
|
|
639
|
+
Symbol for the coin.
|
|
640
|
+
"""
|
|
641
|
+
symbol: String
|
|
642
|
+
"""
|
|
643
|
+
The version of this object that this content comes from.
|
|
644
|
+
"""
|
|
645
|
+
version: UInt53
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
"""
|
|
649
|
+
System transaction for creating the coin registry.
|
|
650
|
+
"""
|
|
651
|
+
type CoinRegistryCreateTransaction {
|
|
652
|
+
"""
|
|
653
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
654
|
+
"""
|
|
655
|
+
_: Boolean
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
"""
|
|
659
|
+
A single command in the programmable transaction.
|
|
660
|
+
"""
|
|
661
|
+
union Command = MakeMoveVecCommand | MergeCoinsCommand | MoveCallCommand | PublishCommand | SplitCoinsCommand | TransferObjectsCommand | UpgradeCommand | OtherCommand
|
|
662
|
+
|
|
663
|
+
type CommandConnection {
|
|
664
|
+
"""
|
|
665
|
+
A list of edges.
|
|
666
|
+
"""
|
|
667
|
+
edges: [CommandEdge!]!
|
|
668
|
+
"""
|
|
669
|
+
A list of nodes.
|
|
670
|
+
"""
|
|
671
|
+
nodes: [Command!]!
|
|
672
|
+
"""
|
|
673
|
+
Information to aid in pagination.
|
|
674
|
+
"""
|
|
675
|
+
pageInfo: PageInfo!
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
"""
|
|
679
|
+
An edge in a connection.
|
|
680
|
+
"""
|
|
681
|
+
type CommandEdge {
|
|
682
|
+
"""
|
|
683
|
+
A cursor for use in pagination
|
|
684
|
+
"""
|
|
685
|
+
cursor: String!
|
|
686
|
+
"""
|
|
687
|
+
The item at the end of the edge
|
|
688
|
+
"""
|
|
689
|
+
node: Command!
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
"""
|
|
693
|
+
A value produced or modified during command execution.
|
|
694
|
+
|
|
695
|
+
This can represent either a return value from a command or an argument that was mutated by reference.
|
|
696
|
+
"""
|
|
697
|
+
type CommandOutput {
|
|
698
|
+
"""
|
|
699
|
+
The transaction argument that this value corresponds to (if any).
|
|
700
|
+
"""
|
|
701
|
+
argument: TransactionArgument
|
|
702
|
+
"""
|
|
703
|
+
The structured Move value, if available.
|
|
704
|
+
"""
|
|
705
|
+
value: MoveValue
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
"""
|
|
709
|
+
The intermediate results for each command of a transaction simulation.
|
|
710
|
+
"""
|
|
711
|
+
type CommandResult {
|
|
712
|
+
"""
|
|
713
|
+
Changes made to arguments that were mutably borrowed by each command in this transaction.
|
|
714
|
+
"""
|
|
715
|
+
mutatedReferences: [CommandOutput!]
|
|
716
|
+
"""
|
|
717
|
+
Return results of each command in this transaction.
|
|
718
|
+
"""
|
|
719
|
+
returnValues: [CommandOutput!]
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
"""
|
|
723
|
+
Object is exclusively owned by a single adderss and sequenced via consensus.
|
|
724
|
+
"""
|
|
725
|
+
type ConsensusAddressOwner {
|
|
726
|
+
"""
|
|
727
|
+
The owner's address.
|
|
728
|
+
"""
|
|
729
|
+
address: Address
|
|
730
|
+
"""
|
|
731
|
+
The version at which the object most recently bcame a consensus object. This serves the same function as `Shared.initialSharedVersion`, except it may change if the object's `owner` type changes.
|
|
732
|
+
"""
|
|
733
|
+
startVersion: UInt53
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
"""
|
|
737
|
+
System transaction that runs at the beginning of a checkpoint, and is responsible for setting the current value of the clock, based on the timestamp from consensus.
|
|
738
|
+
"""
|
|
739
|
+
type ConsensusCommitPrologueTransaction {
|
|
740
|
+
"""
|
|
741
|
+
Digest of any additional state computed by the consensus handler.
|
|
742
|
+
Used to detect forking bugs as early as possible.
|
|
743
|
+
|
|
744
|
+
Present in V4.
|
|
745
|
+
"""
|
|
746
|
+
additionalStateDigest: String
|
|
747
|
+
"""
|
|
748
|
+
Unix timestamp from consensus.
|
|
749
|
+
|
|
750
|
+
Present in V1, V2, V3, V4.
|
|
751
|
+
"""
|
|
752
|
+
commitTimestamp: DateTime
|
|
753
|
+
"""
|
|
754
|
+
Digest of consensus output, encoded as a Base58 string.
|
|
755
|
+
|
|
756
|
+
Present in V2, V3, V4.
|
|
757
|
+
"""
|
|
758
|
+
consensusCommitDigest: String
|
|
759
|
+
"""
|
|
760
|
+
Epoch of the commit prologue transaction.
|
|
761
|
+
|
|
762
|
+
Present in V1, V2, V3, V4.
|
|
763
|
+
"""
|
|
764
|
+
epoch: Epoch
|
|
765
|
+
"""
|
|
766
|
+
Consensus round of the commit.
|
|
767
|
+
|
|
768
|
+
Present in V1, V2, V3, V4.
|
|
769
|
+
"""
|
|
770
|
+
round: UInt53
|
|
771
|
+
"""
|
|
772
|
+
The sub DAG index of the consensus commit. This field is populated if there
|
|
773
|
+
are multiple consensus commits per round.
|
|
774
|
+
|
|
775
|
+
Present in V3, V4.
|
|
776
|
+
"""
|
|
777
|
+
subDagIndex: UInt53
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
"""
|
|
781
|
+
Reason why a transaction that attempted to access a consensus-managed object was cancelled.
|
|
782
|
+
"""
|
|
783
|
+
enum ConsensusObjectCancellationReason {
|
|
784
|
+
"""
|
|
785
|
+
Read operation was cancelled.
|
|
786
|
+
"""
|
|
787
|
+
CANCELLED_READ
|
|
788
|
+
"""
|
|
789
|
+
Object congestion prevented execution.
|
|
790
|
+
"""
|
|
791
|
+
CONGESTED
|
|
792
|
+
"""
|
|
793
|
+
Randomness service was unavailable.
|
|
794
|
+
"""
|
|
795
|
+
RANDOMNESS_UNAVAILABLE
|
|
796
|
+
"""
|
|
797
|
+
Internal use only.
|
|
798
|
+
"""
|
|
799
|
+
UNKNOWN
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
"""
|
|
803
|
+
A transaction that was cancelled before it could access the consensus-managed object, so the object was an input but remained unchanged.
|
|
804
|
+
"""
|
|
805
|
+
type ConsensusObjectCancelled {
|
|
806
|
+
"""
|
|
807
|
+
The ID of the consensus-managed object that the transaction intended to access.
|
|
808
|
+
"""
|
|
809
|
+
address: SuiAddress
|
|
810
|
+
"""
|
|
811
|
+
Reason why the transaction was cancelled.
|
|
812
|
+
"""
|
|
813
|
+
cancellationReason: ConsensusObjectCancellationReason
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
type ConsensusObjectRead {
|
|
817
|
+
"""
|
|
818
|
+
The version of the consensus-managed object that was read by this transaction.
|
|
819
|
+
"""
|
|
820
|
+
object: Object
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
"""
|
|
824
|
+
ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. Note that the milliseconds part is optional, and it may be omitted if its value is 0.
|
|
825
|
+
"""
|
|
826
|
+
scalar DateTime
|
|
827
|
+
|
|
828
|
+
"""
|
|
829
|
+
A rendered JSON blob based on an on-chain template.
|
|
830
|
+
"""
|
|
831
|
+
type Display {
|
|
832
|
+
"""
|
|
833
|
+
If any fields failed to render, this will contain a mapping from failed field names to error messages. If all fields succeed, this will be `null`.
|
|
834
|
+
"""
|
|
835
|
+
errors: JSON
|
|
836
|
+
"""
|
|
837
|
+
Output for all successfully substituted display fields. Unsuccessful fields will be `null`, and will be accompanied by a field in `errors`, explaining the error.
|
|
838
|
+
"""
|
|
839
|
+
output: JSON
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
"""
|
|
843
|
+
Dynamic fields are heterogenous fields that can be added or removed from an object at runtime. Their names are arbitrary Move values that have `copy`, `drop`, and `store`.
|
|
844
|
+
|
|
845
|
+
There are two sub-types of dynamic fields:
|
|
846
|
+
|
|
847
|
+
- Dynamic fields can store any value that has `store`. Objects stored in this kind of field will be considered wrapped (not accessible via its ID by external tools like explorers, wallets, etc. accessing storage).
|
|
848
|
+
- Dynamic object fields can only store objects (values that have the `key` ability, and an `id: UID` as its first field) that have `store`, but they will still be directly accessible off-chain via their ID after being attached as a field.
|
|
849
|
+
"""
|
|
850
|
+
type DynamicField implements IAddressable & IMoveObject & IObject {
|
|
851
|
+
"""
|
|
852
|
+
The DynamicField's ID.
|
|
853
|
+
"""
|
|
854
|
+
address: SuiAddress!
|
|
855
|
+
"""
|
|
856
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
857
|
+
|
|
858
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
859
|
+
"""
|
|
860
|
+
balance(coinType: String!): Balance
|
|
861
|
+
"""
|
|
862
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
863
|
+
"""
|
|
864
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
865
|
+
"""
|
|
866
|
+
The structured representation of the object's contents.
|
|
867
|
+
"""
|
|
868
|
+
contents: MoveValue
|
|
869
|
+
"""
|
|
870
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
871
|
+
"""
|
|
872
|
+
defaultSuinsName: String
|
|
873
|
+
"""
|
|
874
|
+
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
875
|
+
"""
|
|
876
|
+
digest: String
|
|
877
|
+
"""
|
|
878
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
879
|
+
|
|
880
|
+
Returns `null` if a dynamic field with that name could not be found attached to this object.
|
|
881
|
+
"""
|
|
882
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
883
|
+
"""
|
|
884
|
+
Dynamic fields owned by this object.
|
|
885
|
+
|
|
886
|
+
Dynamic fields on wrapped objects can be accessed using `Address.dynamicFields`.
|
|
887
|
+
"""
|
|
888
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
889
|
+
"""
|
|
890
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
891
|
+
|
|
892
|
+
Returns `null` if a dynamic object field with that name could not be found attached to this object.
|
|
893
|
+
"""
|
|
894
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
895
|
+
"""
|
|
896
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `sui::transfer::public_transfer`.
|
|
897
|
+
|
|
898
|
+
Both these operations require the object to have both the `key` and `store` abilities.
|
|
899
|
+
"""
|
|
900
|
+
hasPublicTransfer: Boolean
|
|
901
|
+
"""
|
|
902
|
+
The Base64-encoded BCS serialize of this object, as a `MoveObject`.
|
|
903
|
+
"""
|
|
904
|
+
moveObjectBcs: Base64
|
|
905
|
+
"""
|
|
906
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
907
|
+
|
|
908
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
909
|
+
"""
|
|
910
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
911
|
+
"""
|
|
912
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
913
|
+
|
|
914
|
+
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`.
|
|
915
|
+
"""
|
|
916
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
917
|
+
"""
|
|
918
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
919
|
+
|
|
920
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
921
|
+
"""
|
|
922
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
923
|
+
"""
|
|
924
|
+
The dynamic field's name, as a Move value.
|
|
925
|
+
"""
|
|
926
|
+
name: MoveValue
|
|
927
|
+
"""
|
|
928
|
+
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
|
|
929
|
+
"""
|
|
930
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
931
|
+
"""
|
|
932
|
+
The Base64-encoded BCS serialization of this object, as an `Object`.
|
|
933
|
+
"""
|
|
934
|
+
objectBcs: Base64
|
|
935
|
+
"""
|
|
936
|
+
Paginate all versions of this object after this one.
|
|
937
|
+
"""
|
|
938
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
939
|
+
"""
|
|
940
|
+
Paginate all versions of this object before this one.
|
|
941
|
+
"""
|
|
942
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
943
|
+
"""
|
|
944
|
+
Objects owned by this object, optionally filtered by type.
|
|
945
|
+
"""
|
|
946
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
947
|
+
"""
|
|
948
|
+
The object's owner kind.
|
|
949
|
+
"""
|
|
950
|
+
owner: Owner
|
|
951
|
+
"""
|
|
952
|
+
The transaction that created this version of the object.
|
|
953
|
+
"""
|
|
954
|
+
previousTransaction: Transaction
|
|
955
|
+
"""
|
|
956
|
+
The transactions that sent objects to this object.
|
|
957
|
+
"""
|
|
958
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
959
|
+
"""
|
|
960
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
961
|
+
"""
|
|
962
|
+
storageRebate: BigInt
|
|
963
|
+
"""
|
|
964
|
+
The dynamic field's value, as a Move value for dynamic fields and as a MoveObject for dynamic object fields.
|
|
965
|
+
"""
|
|
966
|
+
value: DynamicFieldValue
|
|
967
|
+
"""
|
|
968
|
+
The version of this object that this content comes from.
|
|
969
|
+
"""
|
|
970
|
+
version: UInt53
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
type DynamicFieldConnection {
|
|
974
|
+
"""
|
|
975
|
+
A list of edges.
|
|
976
|
+
"""
|
|
977
|
+
edges: [DynamicFieldEdge!]!
|
|
978
|
+
"""
|
|
979
|
+
A list of nodes.
|
|
980
|
+
"""
|
|
981
|
+
nodes: [DynamicField!]!
|
|
982
|
+
"""
|
|
983
|
+
Information to aid in pagination.
|
|
984
|
+
"""
|
|
985
|
+
pageInfo: PageInfo!
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
"""
|
|
989
|
+
An edge in a connection.
|
|
990
|
+
"""
|
|
991
|
+
type DynamicFieldEdge {
|
|
992
|
+
"""
|
|
993
|
+
A cursor for use in pagination
|
|
994
|
+
"""
|
|
995
|
+
cursor: String!
|
|
996
|
+
"""
|
|
997
|
+
The item at the end of the edge
|
|
998
|
+
"""
|
|
999
|
+
node: DynamicField!
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
"""
|
|
1003
|
+
A description of a dynamic field's name.
|
|
1004
|
+
"""
|
|
1005
|
+
input DynamicFieldName {
|
|
1006
|
+
"""
|
|
1007
|
+
The Base64-encoded BCS serialization of the dynamic field's 'name'.
|
|
1008
|
+
"""
|
|
1009
|
+
bcs: Base64!
|
|
1010
|
+
"""
|
|
1011
|
+
The type of the dynamic field's name, like 'u64' or '0x2::kiosk::Listing'.
|
|
1012
|
+
"""
|
|
1013
|
+
type: String!
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
"""
|
|
1017
|
+
The value of a dynamic field (`MoveValue`) or dynamic object field (`MoveObject`).
|
|
1018
|
+
"""
|
|
1019
|
+
union DynamicFieldValue = MoveObject | MoveValue
|
|
1020
|
+
|
|
1021
|
+
"""
|
|
1022
|
+
System transaction that supersedes `ChangeEpochTransaction` as the new way to run transactions at the end of an epoch. Behaves similarly to `ChangeEpochTransaction` but can accommodate other optional transactions to run at the end of the epoch.
|
|
1023
|
+
"""
|
|
1024
|
+
type EndOfEpochTransaction {
|
|
1025
|
+
"""
|
|
1026
|
+
The list of system transactions that are allowed to run at the end of the epoch.
|
|
1027
|
+
"""
|
|
1028
|
+
transactions(first: Int, after: String, last: Int, before: String): EndOfEpochTransactionKindConnection
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
union EndOfEpochTransactionKind = ChangeEpochTransaction | AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | RandomnessStateCreateTransaction | CoinDenyListStateCreateTransaction | StoreExecutionTimeObservationsTransaction | BridgeStateCreateTransaction | BridgeCommitteeInitTransaction | AccumulatorRootCreateTransaction | CoinRegistryCreateTransaction
|
|
1032
|
+
|
|
1033
|
+
type EndOfEpochTransactionKindConnection {
|
|
1034
|
+
"""
|
|
1035
|
+
A list of edges.
|
|
1036
|
+
"""
|
|
1037
|
+
edges: [EndOfEpochTransactionKindEdge!]!
|
|
1038
|
+
"""
|
|
1039
|
+
A list of nodes.
|
|
1040
|
+
"""
|
|
1041
|
+
nodes: [EndOfEpochTransactionKind!]!
|
|
1042
|
+
"""
|
|
1043
|
+
Information to aid in pagination.
|
|
1044
|
+
"""
|
|
1045
|
+
pageInfo: PageInfo!
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
"""
|
|
1049
|
+
An edge in a connection.
|
|
1050
|
+
"""
|
|
1051
|
+
type EndOfEpochTransactionKindEdge {
|
|
1052
|
+
"""
|
|
1053
|
+
A cursor for use in pagination
|
|
1054
|
+
"""
|
|
1055
|
+
cursor: String!
|
|
1056
|
+
"""
|
|
1057
|
+
The item at the end of the edge
|
|
1058
|
+
"""
|
|
1059
|
+
node: EndOfEpochTransactionKind!
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
"""
|
|
1063
|
+
Activity on Sui is partitioned in time, into epochs.
|
|
1064
|
+
|
|
1065
|
+
Epoch changes are opportunities for the network to reconfigure itself (perform protocol or system package upgrades, or change the committee) and distribute staking rewards. The network aims to keep epochs roughly the same duration as each other.
|
|
1066
|
+
|
|
1067
|
+
During a particular epoch the following data is fixed:
|
|
1068
|
+
|
|
1069
|
+
- protocol version,
|
|
1070
|
+
- reference gas price,
|
|
1071
|
+
- system package versions,
|
|
1072
|
+
- validators in the committee.
|
|
1073
|
+
"""
|
|
1074
|
+
type Epoch {
|
|
1075
|
+
"""
|
|
1076
|
+
The epoch's corresponding checkpoints.
|
|
1077
|
+
"""
|
|
1078
|
+
checkpoints(first: Int, after: String, last: Int, before: String, filter: CheckpointFilter): CheckpointConnection
|
|
1079
|
+
"""
|
|
1080
|
+
State of the Coin DenyList object (0x403) at the start of this epoch.
|
|
1081
|
+
|
|
1082
|
+
The DenyList controls access to Regulated Coins. Writes to the DenyList are accumulated and only take effect on the next epoch boundary. Consequently, it's possible to determine the state of the DenyList for a transaction by reading it at the start of the epoch the transaction is in.
|
|
1083
|
+
"""
|
|
1084
|
+
coinDenyList: Object
|
|
1085
|
+
"""
|
|
1086
|
+
The timestamp associated with the last checkpoint in the epoch (or `null` if the epoch has not finished yet).
|
|
1087
|
+
"""
|
|
1088
|
+
endTimestamp: DateTime
|
|
1089
|
+
"""
|
|
1090
|
+
The epoch's id as a sequence number that starts at 0 and is incremented by one at every epoch change.
|
|
1091
|
+
"""
|
|
1092
|
+
epochId: UInt53!
|
|
1093
|
+
"""
|
|
1094
|
+
The storage fees paid for transactions executed during the epoch (or `null` if the epoch has not finished yet).
|
|
1095
|
+
"""
|
|
1096
|
+
fundInflow: BigInt
|
|
1097
|
+
"""
|
|
1098
|
+
The storage fee rebates paid to users who deleted the data associated with past transactions (or `null` if the epoch has not finished yet).
|
|
1099
|
+
"""
|
|
1100
|
+
fundOutflow: BigInt
|
|
1101
|
+
"""
|
|
1102
|
+
The storage fund available in this epoch (or `null` if the epoch has not finished yet).
|
|
1103
|
+
This fund is used to redistribute storage fees from past transactions to future validators.
|
|
1104
|
+
"""
|
|
1105
|
+
fundSize: BigInt
|
|
1106
|
+
"""
|
|
1107
|
+
A commitment by the committee at the end of epoch on the contents of the live object set at that time.
|
|
1108
|
+
This can be used to verify state snapshots.
|
|
1109
|
+
"""
|
|
1110
|
+
liveObjectSetDigest: String
|
|
1111
|
+
"""
|
|
1112
|
+
The difference between the fund inflow and outflow, representing the net amount of storage fees accumulated in this epoch (or `null` if the epoch has not finished yet).
|
|
1113
|
+
"""
|
|
1114
|
+
netInflow: BigInt
|
|
1115
|
+
"""
|
|
1116
|
+
The epoch's corresponding protocol configuration, including the feature flags and the configuration options.
|
|
1117
|
+
"""
|
|
1118
|
+
protocolConfigs: ProtocolConfigs
|
|
1119
|
+
"""
|
|
1120
|
+
The minimum gas price that a quorum of validators are guaranteed to sign a transaction for in this epoch.
|
|
1121
|
+
"""
|
|
1122
|
+
referenceGasPrice: BigInt
|
|
1123
|
+
"""
|
|
1124
|
+
Information about whether this epoch was started in safe mode, which happens if the full epoch change logic fails.
|
|
1125
|
+
"""
|
|
1126
|
+
safeMode: SafeMode
|
|
1127
|
+
"""
|
|
1128
|
+
The timestamp associated with the first checkpoint in the epoch.
|
|
1129
|
+
"""
|
|
1130
|
+
startTimestamp: DateTime
|
|
1131
|
+
"""
|
|
1132
|
+
SUI set aside to account for objects stored on-chain, at the start of the epoch.
|
|
1133
|
+
This is also used for storage rebates.
|
|
1134
|
+
"""
|
|
1135
|
+
storageFund: StorageFund
|
|
1136
|
+
"""
|
|
1137
|
+
The system packages used by all transactions in this epoch.
|
|
1138
|
+
"""
|
|
1139
|
+
systemPackages(first: Int, after: String, last: Int, before: String): MovePackageConnection
|
|
1140
|
+
"""
|
|
1141
|
+
Details of the system that are decided during genesis.
|
|
1142
|
+
"""
|
|
1143
|
+
systemParameters: SystemParameters
|
|
1144
|
+
"""
|
|
1145
|
+
Parameters related to the subsidy that supplements staking rewards
|
|
1146
|
+
"""
|
|
1147
|
+
systemStakeSubsidy: StakeSubsidy
|
|
1148
|
+
"""
|
|
1149
|
+
The value of the `version` field of `0x5`, the `0x3::sui::SuiSystemState` object.
|
|
1150
|
+
This version changes whenever the fields contained in the system state object (held in a dynamic field attached to `0x5`) change.
|
|
1151
|
+
"""
|
|
1152
|
+
systemStateVersion: UInt53
|
|
1153
|
+
"""
|
|
1154
|
+
The total number of checkpoints in this epoch.
|
|
1155
|
+
|
|
1156
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
1157
|
+
"""
|
|
1158
|
+
totalCheckpoints: UInt53
|
|
1159
|
+
"""
|
|
1160
|
+
The total amount of gas fees (in MIST) that were paid in this epoch (or `null` if the epoch has not finished yet).
|
|
1161
|
+
"""
|
|
1162
|
+
totalGasFees: BigInt
|
|
1163
|
+
"""
|
|
1164
|
+
The total MIST rewarded as stake (or `null` if the epoch has not finished yet).
|
|
1165
|
+
"""
|
|
1166
|
+
totalStakeRewards: BigInt
|
|
1167
|
+
"""
|
|
1168
|
+
The amount added to total gas fees to make up the total stake rewards (or `null` if the epoch has not finished yet).
|
|
1169
|
+
"""
|
|
1170
|
+
totalStakeSubsidies: BigInt
|
|
1171
|
+
"""
|
|
1172
|
+
The total number of transaction blocks in this epoch (or `null` if the epoch has not finished yet).
|
|
1173
|
+
"""
|
|
1174
|
+
totalTransactions: UInt53
|
|
1175
|
+
"""
|
|
1176
|
+
The transactions in this epoch, optionally filtered by transaction filters.
|
|
1177
|
+
|
|
1178
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
1179
|
+
"""
|
|
1180
|
+
transactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
1181
|
+
"""
|
|
1182
|
+
Validator-related properties, including the active validators.
|
|
1183
|
+
"""
|
|
1184
|
+
validatorSet: ValidatorSet
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
type EpochConnection {
|
|
1188
|
+
"""
|
|
1189
|
+
A list of edges.
|
|
1190
|
+
"""
|
|
1191
|
+
edges: [EpochEdge!]!
|
|
1192
|
+
"""
|
|
1193
|
+
A list of nodes.
|
|
1194
|
+
"""
|
|
1195
|
+
nodes: [Epoch!]!
|
|
1196
|
+
"""
|
|
1197
|
+
Information to aid in pagination.
|
|
1198
|
+
"""
|
|
1199
|
+
pageInfo: PageInfo!
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
"""
|
|
1203
|
+
An edge in a connection.
|
|
1204
|
+
"""
|
|
1205
|
+
type EpochEdge {
|
|
1206
|
+
"""
|
|
1207
|
+
A cursor for use in pagination
|
|
1208
|
+
"""
|
|
1209
|
+
cursor: String!
|
|
1210
|
+
"""
|
|
1211
|
+
The item at the end of the edge
|
|
1212
|
+
"""
|
|
1213
|
+
node: Epoch!
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
type Event {
|
|
1217
|
+
"""
|
|
1218
|
+
The Move value emitted for this event.
|
|
1219
|
+
"""
|
|
1220
|
+
contents: MoveValue
|
|
1221
|
+
"""
|
|
1222
|
+
The Base64 encoded BCS serialized bytes of the entire Event structure from sui-types.
|
|
1223
|
+
This includes: package_id, transaction_module, sender, type, and contents (which itself contains the BCS-serialized Move struct data).
|
|
1224
|
+
"""
|
|
1225
|
+
eventBcs: Base64
|
|
1226
|
+
"""
|
|
1227
|
+
Address of the sender of the transaction that emitted this event.
|
|
1228
|
+
"""
|
|
1229
|
+
sender: Address
|
|
1230
|
+
"""
|
|
1231
|
+
The position of the event among the events from the same transaction.
|
|
1232
|
+
"""
|
|
1233
|
+
sequenceNumber: UInt53!
|
|
1234
|
+
"""
|
|
1235
|
+
Timestamp corresponding to the checkpoint this event's transaction was finalized in.
|
|
1236
|
+
All events from the same transaction share the same timestamp.
|
|
1237
|
+
"""
|
|
1238
|
+
timestamp: DateTime
|
|
1239
|
+
"""
|
|
1240
|
+
The transaction that emitted this event. This information is only available for events from indexed transactions, and not from transactions that have just been executed or dry-run.
|
|
1241
|
+
"""
|
|
1242
|
+
transaction: Transaction
|
|
1243
|
+
"""
|
|
1244
|
+
The module containing the function that was called in the programmable transaction, that resulted in this event being emitted.
|
|
1245
|
+
"""
|
|
1246
|
+
transactionModule: MoveModule
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
type EventConnection {
|
|
1250
|
+
"""
|
|
1251
|
+
A list of edges.
|
|
1252
|
+
"""
|
|
1253
|
+
edges: [EventEdge!]!
|
|
1254
|
+
"""
|
|
1255
|
+
A list of nodes.
|
|
1256
|
+
"""
|
|
1257
|
+
nodes: [Event!]!
|
|
1258
|
+
"""
|
|
1259
|
+
Information to aid in pagination.
|
|
1260
|
+
"""
|
|
1261
|
+
pageInfo: PageInfo!
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
"""
|
|
1265
|
+
An edge in a connection.
|
|
1266
|
+
"""
|
|
1267
|
+
type EventEdge {
|
|
1268
|
+
"""
|
|
1269
|
+
A cursor for use in pagination
|
|
1270
|
+
"""
|
|
1271
|
+
cursor: String!
|
|
1272
|
+
"""
|
|
1273
|
+
The item at the end of the edge
|
|
1274
|
+
"""
|
|
1275
|
+
node: Event!
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
input EventFilter {
|
|
1279
|
+
"""
|
|
1280
|
+
Limit to events that occured strictly after the given checkpoint.
|
|
1281
|
+
"""
|
|
1282
|
+
afterCheckpoint: UInt53
|
|
1283
|
+
"""
|
|
1284
|
+
Limit to events in the given checkpoint.
|
|
1285
|
+
"""
|
|
1286
|
+
atCheckpoint: UInt53
|
|
1287
|
+
"""
|
|
1288
|
+
Limit to event that occured strictly before the given checkpoint.
|
|
1289
|
+
"""
|
|
1290
|
+
beforeCheckpoint: UInt53
|
|
1291
|
+
"""
|
|
1292
|
+
Events emitted by a particular module. An event is emitted by a particular module if some function in the module is called by a PTB and emits an event.
|
|
1293
|
+
|
|
1294
|
+
Modules can be filtered by their package, or package::module. We currently do not support filtering by emitting module and event type at the same time so if both are provided in one filter, the query will error.
|
|
1295
|
+
"""
|
|
1296
|
+
module: String
|
|
1297
|
+
"""
|
|
1298
|
+
Filter on events by transaction sender address.
|
|
1299
|
+
"""
|
|
1300
|
+
sender: SuiAddress
|
|
1301
|
+
"""
|
|
1302
|
+
This field is used to specify the type of event emitted.
|
|
1303
|
+
|
|
1304
|
+
Events can be filtered by their type's package, package::module, or their fully qualified type name.
|
|
1305
|
+
|
|
1306
|
+
Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by the full type name, such as `0x2::coin::Coin<0x2::haneul::HANEUL>`.
|
|
1307
|
+
"""
|
|
1308
|
+
type: String
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
"""
|
|
1312
|
+
Represents execution error information for failed transactions.
|
|
1313
|
+
"""
|
|
1314
|
+
type ExecutionError {
|
|
1315
|
+
"""
|
|
1316
|
+
The error code of the Move abort, populated if this transaction failed with a Move abort.
|
|
1317
|
+
|
|
1318
|
+
Returns the explicit code if the abort used `code` annotation (e.g., `abort(ERR, code = 5)` returns 5), otherwise returns the raw abort code containing encoded error information.
|
|
1319
|
+
"""
|
|
1320
|
+
abortCode: BigInt
|
|
1321
|
+
"""
|
|
1322
|
+
An associated constant for the error. Only populated for clever errors.
|
|
1323
|
+
|
|
1324
|
+
Constants are returned as human-readable strings when possible. Complex types are returned as Base64-encoded bytes.
|
|
1325
|
+
"""
|
|
1326
|
+
constant: String
|
|
1327
|
+
"""
|
|
1328
|
+
The function that the abort originated from. Only populated for Move aborts and primitive runtime errors that have function name information.
|
|
1329
|
+
"""
|
|
1330
|
+
function: MoveFunction
|
|
1331
|
+
"""
|
|
1332
|
+
The error's name. Only populated for clever errors.
|
|
1333
|
+
"""
|
|
1334
|
+
identifier: String
|
|
1335
|
+
"""
|
|
1336
|
+
The instruction offset in the Move bytecode where the error occurred. Populated for Move aborts and primitive runtime errors.
|
|
1337
|
+
"""
|
|
1338
|
+
instructionOffset: Int
|
|
1339
|
+
"""
|
|
1340
|
+
Human readable explanation of why the transaction failed.
|
|
1341
|
+
|
|
1342
|
+
For Move aborts, the error message will be resolved to a human-readable form if possible, otherwise it will fall back to displaying the abort code and location.
|
|
1343
|
+
"""
|
|
1344
|
+
message: String!
|
|
1345
|
+
"""
|
|
1346
|
+
The module that the abort originated from. Only populated for Move aborts and primitive runtime errors.
|
|
1347
|
+
"""
|
|
1348
|
+
module: MoveModule
|
|
1349
|
+
"""
|
|
1350
|
+
The source line number for the abort. Only populated for clever errors.
|
|
1351
|
+
"""
|
|
1352
|
+
sourceLineNumber: Int
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
"""
|
|
1356
|
+
The execution result of a transaction, including the transaction effects and any potential errors due to signing or quorum-driving.
|
|
1357
|
+
"""
|
|
1358
|
+
type ExecutionResult {
|
|
1359
|
+
"""
|
|
1360
|
+
The effects of the transaction execution, if successful.
|
|
1361
|
+
"""
|
|
1362
|
+
effects: TransactionEffects
|
|
1363
|
+
"""
|
|
1364
|
+
Errors that occurred during execution (e.g., network errors, validation failures).
|
|
1365
|
+
These are distinct from execution failures within the transaction itself.
|
|
1366
|
+
"""
|
|
1367
|
+
errors: [String!]
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
"""
|
|
1371
|
+
The execution status of this transaction: success or failure.
|
|
1372
|
+
"""
|
|
1373
|
+
enum ExecutionStatus {
|
|
1374
|
+
"""
|
|
1375
|
+
The transaction was successfully executed.
|
|
1376
|
+
"""
|
|
1377
|
+
SUCCESS
|
|
1378
|
+
"""
|
|
1379
|
+
The transaction could not be executed.
|
|
1380
|
+
"""
|
|
1381
|
+
FAILURE
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
"""
|
|
1385
|
+
A boolean protocol configuration.
|
|
1386
|
+
"""
|
|
1387
|
+
type FeatureFlag {
|
|
1388
|
+
"""
|
|
1389
|
+
Feature flag name.
|
|
1390
|
+
"""
|
|
1391
|
+
key: String!
|
|
1392
|
+
"""
|
|
1393
|
+
Feature flag value.
|
|
1394
|
+
"""
|
|
1395
|
+
value: Boolean!
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
"""
|
|
1400
|
+
Access to the gas inputs, after they have been smashed into one coin. The gas coin can only be used by reference, except for with `TransferObjectsTransaction` that can accept it by value.
|
|
1401
|
+
"""
|
|
1402
|
+
type GasCoin {
|
|
1403
|
+
"""
|
|
1404
|
+
Placeholder field (gas coin has no additional data)
|
|
1405
|
+
"""
|
|
1406
|
+
_: Boolean
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
"""
|
|
1410
|
+
Summary of charges from transactions.
|
|
1411
|
+
|
|
1412
|
+
Storage is charged in three parts -- `storage_cost`, `-storage_rebate`, and `non_refundable_storage_fee` -- independently of `computation_cost`.
|
|
1413
|
+
|
|
1414
|
+
The overall cost of a transaction, deducted from its gas coins, is its `computation_cost + storage_cost - storage_rebate`. `non_refundable_storage_fee` is collected from objects being mutated or deleted and accumulated by the system in storage funds, the remaining storage costs of previous object versions are what become the `storage_rebate`. The ratio between `non_refundable_storage_fee` and `storage_rebate` is set by the protocol.
|
|
1415
|
+
"""
|
|
1416
|
+
type GasCostSummary {
|
|
1417
|
+
"""
|
|
1418
|
+
The sum cost of computation/execution
|
|
1419
|
+
"""
|
|
1420
|
+
computationCost: UInt53
|
|
1421
|
+
"""
|
|
1422
|
+
Amount that is retained by the system in the storage fund from the cost of the previous versions of objects being mutated or deleted.
|
|
1423
|
+
"""
|
|
1424
|
+
nonRefundableStorageFee: UInt53
|
|
1425
|
+
"""
|
|
1426
|
+
Cost for storage at the time the transaction is executed, calculated as the size of the objects being mutated in bytes multiplied by a storage cost per byte (part of the protocol).
|
|
1427
|
+
"""
|
|
1428
|
+
storageCost: UInt53
|
|
1429
|
+
"""
|
|
1430
|
+
Amount the user gets back from the storage cost of the previous versions of objects being mutated or deleted.
|
|
1431
|
+
"""
|
|
1432
|
+
storageRebate: UInt53
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
"""
|
|
1436
|
+
Effects related to gas (costs incurred and the identity of the smashed gas object returned).
|
|
1437
|
+
"""
|
|
1438
|
+
type GasEffects {
|
|
1439
|
+
"""
|
|
1440
|
+
The gas object used to pay for this transaction. If multiple gas coins were provided, this represents the combined coin after smashing.
|
|
1441
|
+
"""
|
|
1442
|
+
gasObject: Object
|
|
1443
|
+
"""
|
|
1444
|
+
Breakdown of the gas costs for this transaction.
|
|
1445
|
+
"""
|
|
1446
|
+
gasSummary: GasCostSummary
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
type GasInput {
|
|
1450
|
+
"""
|
|
1451
|
+
The maximum SUI that can be expended by executing this transaction
|
|
1452
|
+
"""
|
|
1453
|
+
gasBudget: BigInt
|
|
1454
|
+
"""
|
|
1455
|
+
Objects used to pay for a transaction's execution and storage
|
|
1456
|
+
"""
|
|
1457
|
+
gasPayment(first: Int, after: String, last: Int, before: String): ObjectConnection
|
|
1458
|
+
"""
|
|
1459
|
+
An unsigned integer specifying the number of native tokens per gas unit this transaction will pay (in MIST).
|
|
1460
|
+
"""
|
|
1461
|
+
gasPrice: BigInt
|
|
1462
|
+
"""
|
|
1463
|
+
Address of the owner of the gas object(s) used.
|
|
1464
|
+
"""
|
|
1465
|
+
gasSponsor: Address
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
"""
|
|
1469
|
+
System transaction that initializes the network and writes the initial set of objects on-chain.
|
|
1470
|
+
"""
|
|
1471
|
+
type GenesisTransaction {
|
|
1472
|
+
"""
|
|
1473
|
+
Objects to be created during genesis.
|
|
1474
|
+
"""
|
|
1475
|
+
objects(first: Int, after: String, last: Int, before: String): ObjectConnection
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
"""
|
|
1479
|
+
Interface implemented by GraphQL types representing entities that are identified by an address.
|
|
1480
|
+
|
|
1481
|
+
An address uniquely represents either the public key of an account, or an object's ID, but never both. It is not possible to determine which type an address represents up-front. If an object is wrapped, its contents will not be accessible via its address, but it will still be possible to access other objects it owns.
|
|
1482
|
+
"""
|
|
1483
|
+
interface IAddressable {
|
|
1484
|
+
address: SuiAddress!
|
|
1485
|
+
"""
|
|
1486
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
1487
|
+
|
|
1488
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
1489
|
+
"""
|
|
1490
|
+
balance(coinType: String!): Balance
|
|
1491
|
+
"""
|
|
1492
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
1493
|
+
"""
|
|
1494
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
1495
|
+
"""
|
|
1496
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
1497
|
+
"""
|
|
1498
|
+
defaultSuinsName: String
|
|
1499
|
+
"""
|
|
1500
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
1501
|
+
|
|
1502
|
+
Returns `null` when no checkpoint is set in scope (e.g. execution scope). If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
1503
|
+
"""
|
|
1504
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
1505
|
+
"""
|
|
1506
|
+
Objects owned by this address, optionally filtered by type.
|
|
1507
|
+
"""
|
|
1508
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
"""
|
|
1513
|
+
Interface implemented by all GraphQL types that represent a Move datatype definition (either a struct or an enum definition).
|
|
1514
|
+
|
|
1515
|
+
This interface is used to provide a way to access fields that are shared by both structs and enums, e.g., the module that the datatype belongs to, the name of the datatype, type parameters etc.
|
|
1516
|
+
"""
|
|
1517
|
+
interface IMoveDatatype {
|
|
1518
|
+
"""
|
|
1519
|
+
Abilities on this datatype definition.
|
|
1520
|
+
"""
|
|
1521
|
+
abilities: [MoveAbility!]
|
|
1522
|
+
"""
|
|
1523
|
+
The module that this datatype is defined in
|
|
1524
|
+
"""
|
|
1525
|
+
module: MoveModule!
|
|
1526
|
+
"""
|
|
1527
|
+
The datatype's unqualified name
|
|
1528
|
+
"""
|
|
1529
|
+
name: String!
|
|
1530
|
+
"""
|
|
1531
|
+
Constraints on the datatype's formal type parameters
|
|
1532
|
+
|
|
1533
|
+
Move bytecode does not name type parameters, so when they are referenced (e.g. in field types), they are identified by their index in this list.
|
|
1534
|
+
"""
|
|
1535
|
+
typeParameters: [MoveDatatypeTypeParameter!]
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
"""
|
|
1539
|
+
Interface implemented by types that represent a Move object on-chain (A Move value whose type has `key`).
|
|
1540
|
+
"""
|
|
1541
|
+
interface IMoveObject {
|
|
1542
|
+
"""
|
|
1543
|
+
The structured representation of the object's contents.
|
|
1544
|
+
"""
|
|
1545
|
+
contents: MoveValue
|
|
1546
|
+
"""
|
|
1547
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
1548
|
+
|
|
1549
|
+
Returns `null` if a dynamic field with that name could not be found attached to this object.
|
|
1550
|
+
"""
|
|
1551
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
1552
|
+
"""
|
|
1553
|
+
Dynamic fields and dynamic object fields owned by this object.
|
|
1554
|
+
|
|
1555
|
+
Dynamic fields on wrapped objects can be accessed using `Address.dynamicFields`.
|
|
1556
|
+
"""
|
|
1557
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
1558
|
+
"""
|
|
1559
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
1560
|
+
|
|
1561
|
+
Returns `null` if a dynamic object field with that name could not be found attached to this object.
|
|
1562
|
+
"""
|
|
1563
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
1564
|
+
"""
|
|
1565
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `sui::transfer::public_transfer`.
|
|
1566
|
+
|
|
1567
|
+
Both these operations require the object to have both the `key` and `store` abilities.
|
|
1568
|
+
"""
|
|
1569
|
+
hasPublicTransfer: Boolean
|
|
1570
|
+
"""
|
|
1571
|
+
The Base64-encoded BCS serialize of this object, as a `MoveObject`.
|
|
1572
|
+
"""
|
|
1573
|
+
moveObjectBcs: Base64
|
|
1574
|
+
"""
|
|
1575
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
1576
|
+
|
|
1577
|
+
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`.
|
|
1578
|
+
"""
|
|
1579
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
1580
|
+
"""
|
|
1581
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
1582
|
+
|
|
1583
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
1584
|
+
"""
|
|
1585
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
"""
|
|
1589
|
+
Interface implemented by versioned on-chain values that are addressable by an ID (also referred to as its address). This includes Move objects and packages.
|
|
1590
|
+
"""
|
|
1591
|
+
interface IObject {
|
|
1592
|
+
"""
|
|
1593
|
+
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
1594
|
+
"""
|
|
1595
|
+
digest: String
|
|
1596
|
+
"""
|
|
1597
|
+
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
|
|
1598
|
+
"""
|
|
1599
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
1600
|
+
"""
|
|
1601
|
+
The Base64-encoded BCS serialization of this object, as an `Object`.
|
|
1602
|
+
"""
|
|
1603
|
+
objectBcs: Base64
|
|
1604
|
+
"""
|
|
1605
|
+
Paginate all versions of this object after this one.
|
|
1606
|
+
"""
|
|
1607
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
1608
|
+
"""
|
|
1609
|
+
Paginate all versions of this object before this one.
|
|
1610
|
+
"""
|
|
1611
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
1612
|
+
"""
|
|
1613
|
+
The object's owner kind.
|
|
1614
|
+
"""
|
|
1615
|
+
owner: Owner
|
|
1616
|
+
"""
|
|
1617
|
+
The transaction that created this version of the object
|
|
1618
|
+
"""
|
|
1619
|
+
previousTransaction: Transaction
|
|
1620
|
+
"""
|
|
1621
|
+
The transactions that sent objects to this object.
|
|
1622
|
+
"""
|
|
1623
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
1624
|
+
"""
|
|
1625
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
1626
|
+
"""
|
|
1627
|
+
storageRebate: BigInt
|
|
1628
|
+
"""
|
|
1629
|
+
The version of this object that this content comes from.
|
|
1630
|
+
"""
|
|
1631
|
+
version: UInt53
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
"""
|
|
1635
|
+
Object is accessible to all addresses, and is immutable.
|
|
1636
|
+
"""
|
|
1637
|
+
type Immutable {
|
|
1638
|
+
_: Boolean
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
type Input {
|
|
1642
|
+
"""
|
|
1643
|
+
The index of the input.
|
|
1644
|
+
"""
|
|
1645
|
+
ix: Int
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
"""
|
|
1650
|
+
Arbitrary JSON data.
|
|
1651
|
+
"""
|
|
1652
|
+
scalar JSON
|
|
1653
|
+
|
|
1654
|
+
"""
|
|
1655
|
+
Information used by a package to link to a specific version of its dependency.
|
|
1656
|
+
"""
|
|
1657
|
+
type Linkage {
|
|
1658
|
+
"""
|
|
1659
|
+
The ID on-chain of the first version of the dependency.
|
|
1660
|
+
"""
|
|
1661
|
+
originalId: SuiAddress
|
|
1662
|
+
"""
|
|
1663
|
+
The ID on-chain of the version of the dependency that this package depends on.
|
|
1664
|
+
"""
|
|
1665
|
+
upgradedId: SuiAddress
|
|
1666
|
+
"""
|
|
1667
|
+
The version of the dependency that this package depends on.
|
|
1668
|
+
"""
|
|
1669
|
+
version: UInt53
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
"""
|
|
1673
|
+
Create a vector (can be empty).
|
|
1674
|
+
"""
|
|
1675
|
+
type MakeMoveVecCommand {
|
|
1676
|
+
"""
|
|
1677
|
+
The values to pack into the vector, all of the same type.
|
|
1678
|
+
"""
|
|
1679
|
+
elements: [TransactionArgument!]
|
|
1680
|
+
"""
|
|
1681
|
+
If the elements are not objects, or the vector is empty, a type must be supplied.
|
|
1682
|
+
"""
|
|
1683
|
+
type: MoveType
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
"""
|
|
1687
|
+
Merges `coins` into the first `coin` (produces no results).
|
|
1688
|
+
"""
|
|
1689
|
+
type MergeCoinsCommand {
|
|
1690
|
+
"""
|
|
1691
|
+
The coin to merge into.
|
|
1692
|
+
"""
|
|
1693
|
+
coin: TransactionArgument
|
|
1694
|
+
"""
|
|
1695
|
+
The coins to be merged.
|
|
1696
|
+
"""
|
|
1697
|
+
coins: [TransactionArgument!]!
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
"""
|
|
1701
|
+
Abilities are keywords in Sui Move that define how types behave at the compiler level.
|
|
1702
|
+
"""
|
|
1703
|
+
enum MoveAbility {
|
|
1704
|
+
"""
|
|
1705
|
+
Enables values to be copied.
|
|
1706
|
+
"""
|
|
1707
|
+
COPY
|
|
1708
|
+
"""
|
|
1709
|
+
Enables values to be popped/dropped.
|
|
1710
|
+
"""
|
|
1711
|
+
DROP
|
|
1712
|
+
"""
|
|
1713
|
+
Enables values to be held directly in global storage.
|
|
1714
|
+
"""
|
|
1715
|
+
KEY
|
|
1716
|
+
"""
|
|
1717
|
+
Enables values to be held inside a struct in global storage.
|
|
1718
|
+
"""
|
|
1719
|
+
STORE
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
type MoveCallCommand {
|
|
1723
|
+
"""
|
|
1724
|
+
The actual function parameters passed in for this move call.
|
|
1725
|
+
"""
|
|
1726
|
+
arguments: [TransactionArgument!]!
|
|
1727
|
+
"""
|
|
1728
|
+
The function being called.
|
|
1729
|
+
"""
|
|
1730
|
+
function: MoveFunction!
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
"""
|
|
1734
|
+
Description of a datatype, defined in a Move module.
|
|
1735
|
+
"""
|
|
1736
|
+
type MoveDatatype implements IMoveDatatype {
|
|
1737
|
+
"""
|
|
1738
|
+
Abilities on this datatype definition.
|
|
1739
|
+
"""
|
|
1740
|
+
abilities: [MoveAbility!]
|
|
1741
|
+
"""
|
|
1742
|
+
Attempts to convert the `MoveDatatype` to a `MoveEnum`.
|
|
1743
|
+
"""
|
|
1744
|
+
asMoveEnum: MoveEnum
|
|
1745
|
+
"""
|
|
1746
|
+
Attempts to convert the `MoveDatatype` to a `MoveStruct`.
|
|
1747
|
+
"""
|
|
1748
|
+
asMoveStruct: MoveStruct
|
|
1749
|
+
"""
|
|
1750
|
+
The module that this datatype is defined in.
|
|
1751
|
+
"""
|
|
1752
|
+
module: MoveModule!
|
|
1753
|
+
"""
|
|
1754
|
+
The datatype's unqualified name.
|
|
1755
|
+
"""
|
|
1756
|
+
name: String!
|
|
1757
|
+
"""
|
|
1758
|
+
Constraints on the datatype's formal type parameters.
|
|
1759
|
+
|
|
1760
|
+
Move bytecode does not name type parameters, so when they are referenced (e.g. in field types), they are identified by their index in this list.
|
|
1761
|
+
"""
|
|
1762
|
+
typeParameters: [MoveDatatypeTypeParameter!]
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
type MoveDatatypeConnection {
|
|
1766
|
+
"""
|
|
1767
|
+
A list of edges.
|
|
1768
|
+
"""
|
|
1769
|
+
edges: [MoveDatatypeEdge!]!
|
|
1770
|
+
"""
|
|
1771
|
+
A list of nodes.
|
|
1772
|
+
"""
|
|
1773
|
+
nodes: [MoveDatatype!]!
|
|
1774
|
+
"""
|
|
1775
|
+
Information to aid in pagination.
|
|
1776
|
+
"""
|
|
1777
|
+
pageInfo: PageInfo!
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
"""
|
|
1781
|
+
An edge in a connection.
|
|
1782
|
+
"""
|
|
1783
|
+
type MoveDatatypeEdge {
|
|
1784
|
+
"""
|
|
1785
|
+
A cursor for use in pagination
|
|
1786
|
+
"""
|
|
1787
|
+
cursor: String!
|
|
1788
|
+
"""
|
|
1789
|
+
The item at the end of the edge
|
|
1790
|
+
"""
|
|
1791
|
+
node: MoveDatatype!
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
"""
|
|
1795
|
+
Declaration of a type parameter on a Move struct.
|
|
1796
|
+
"""
|
|
1797
|
+
type MoveDatatypeTypeParameter {
|
|
1798
|
+
"""
|
|
1799
|
+
Ability constraints on this type parameter.
|
|
1800
|
+
"""
|
|
1801
|
+
constraints: [MoveAbility!]!
|
|
1802
|
+
"""
|
|
1803
|
+
Whether this type parameter is marked `phantom` or not.
|
|
1804
|
+
|
|
1805
|
+
Phantom type parameters are not referenced in the struct's fields.
|
|
1806
|
+
"""
|
|
1807
|
+
isPhantom: Boolean!
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
"""
|
|
1811
|
+
Description of an enum type, defined in a Move module.
|
|
1812
|
+
"""
|
|
1813
|
+
type MoveEnum implements IMoveDatatype {
|
|
1814
|
+
"""
|
|
1815
|
+
Abilities on this enum definition.
|
|
1816
|
+
"""
|
|
1817
|
+
abilities: [MoveAbility!]
|
|
1818
|
+
"""
|
|
1819
|
+
The module that this enum is defined in.
|
|
1820
|
+
"""
|
|
1821
|
+
module: MoveModule!
|
|
1822
|
+
"""
|
|
1823
|
+
The enum's unqualified name.
|
|
1824
|
+
"""
|
|
1825
|
+
name: String!
|
|
1826
|
+
"""
|
|
1827
|
+
Constraints on the enum's formal type parameters.
|
|
1828
|
+
|
|
1829
|
+
Move bytecode does not name type parameters, so when they are referenced (e.g. in field types), they are identified by their index in this list.
|
|
1830
|
+
"""
|
|
1831
|
+
typeParameters: [MoveDatatypeTypeParameter!]
|
|
1832
|
+
"""
|
|
1833
|
+
The names and fields of the enum's variants
|
|
1834
|
+
|
|
1835
|
+
Field types reference type parameters by their index in the defining enum's `typeParameters` list.
|
|
1836
|
+
"""
|
|
1837
|
+
variants: [MoveEnumVariant!]
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
type MoveEnumConnection {
|
|
1841
|
+
"""
|
|
1842
|
+
A list of edges.
|
|
1843
|
+
"""
|
|
1844
|
+
edges: [MoveEnumEdge!]!
|
|
1845
|
+
"""
|
|
1846
|
+
A list of nodes.
|
|
1847
|
+
"""
|
|
1848
|
+
nodes: [MoveEnum!]!
|
|
1849
|
+
"""
|
|
1850
|
+
Information to aid in pagination.
|
|
1851
|
+
"""
|
|
1852
|
+
pageInfo: PageInfo!
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
"""
|
|
1856
|
+
An edge in a connection.
|
|
1857
|
+
"""
|
|
1858
|
+
type MoveEnumEdge {
|
|
1859
|
+
"""
|
|
1860
|
+
A cursor for use in pagination
|
|
1861
|
+
"""
|
|
1862
|
+
cursor: String!
|
|
1863
|
+
"""
|
|
1864
|
+
The item at the end of the edge
|
|
1865
|
+
"""
|
|
1866
|
+
node: MoveEnum!
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
type MoveEnumVariant {
|
|
1870
|
+
"""
|
|
1871
|
+
The names and types of the variant's fields.
|
|
1872
|
+
|
|
1873
|
+
Field types reference type parameters by their index in the defining struct's `typeParameters` list.
|
|
1874
|
+
"""
|
|
1875
|
+
fields: [MoveField!]
|
|
1876
|
+
"""
|
|
1877
|
+
The variant's name.
|
|
1878
|
+
"""
|
|
1879
|
+
name: String
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
type MoveField {
|
|
1883
|
+
"""
|
|
1884
|
+
The field's name.
|
|
1885
|
+
"""
|
|
1886
|
+
name: String
|
|
1887
|
+
"""
|
|
1888
|
+
The field's type.
|
|
1889
|
+
|
|
1890
|
+
This type can reference type parameters introduced by the defining struct (see `typeParameters`).
|
|
1891
|
+
"""
|
|
1892
|
+
type: OpenMoveType
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
"""
|
|
1896
|
+
A function defined in a Move module.
|
|
1897
|
+
"""
|
|
1898
|
+
type MoveFunction {
|
|
1899
|
+
"""
|
|
1900
|
+
Whether the function is marked `entry` or not.
|
|
1901
|
+
"""
|
|
1902
|
+
isEntry: Boolean
|
|
1903
|
+
"""
|
|
1904
|
+
The module that this function is defined in.
|
|
1905
|
+
"""
|
|
1906
|
+
module: MoveModule!
|
|
1907
|
+
"""
|
|
1908
|
+
The function's unqualified name.
|
|
1909
|
+
"""
|
|
1910
|
+
name: String!
|
|
1911
|
+
"""
|
|
1912
|
+
The function's parameter types. These types can reference type parameters introduced by this function (see `typeParameters`).
|
|
1913
|
+
"""
|
|
1914
|
+
parameters: [OpenMoveType!]
|
|
1915
|
+
"""
|
|
1916
|
+
The function's return types. There can be multiple because functions in Move can return multiple values. These types can reference type parameters introduced by this function (see `typeParameters`).
|
|
1917
|
+
"""
|
|
1918
|
+
return: [OpenMoveType!]
|
|
1919
|
+
"""
|
|
1920
|
+
Constraints on the function's formal type parameters.
|
|
1921
|
+
|
|
1922
|
+
Move bytecode does not name type parameters, so when they are referenced (e.g. in parameter and return types), they are identified by their index in this list.
|
|
1923
|
+
"""
|
|
1924
|
+
typeParameters: [MoveFunctionTypeParameter!]
|
|
1925
|
+
"""
|
|
1926
|
+
The function's visibility: `public`, `public(friend)`, or `private`.
|
|
1927
|
+
"""
|
|
1928
|
+
visibility: MoveVisibility
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
type MoveFunctionConnection {
|
|
1932
|
+
"""
|
|
1933
|
+
A list of edges.
|
|
1934
|
+
"""
|
|
1935
|
+
edges: [MoveFunctionEdge!]!
|
|
1936
|
+
"""
|
|
1937
|
+
A list of nodes.
|
|
1938
|
+
"""
|
|
1939
|
+
nodes: [MoveFunction!]!
|
|
1940
|
+
"""
|
|
1941
|
+
Information to aid in pagination.
|
|
1942
|
+
"""
|
|
1943
|
+
pageInfo: PageInfo!
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
"""
|
|
1947
|
+
An edge in a connection.
|
|
1948
|
+
"""
|
|
1949
|
+
type MoveFunctionEdge {
|
|
1950
|
+
"""
|
|
1951
|
+
A cursor for use in pagination
|
|
1952
|
+
"""
|
|
1953
|
+
cursor: String!
|
|
1954
|
+
"""
|
|
1955
|
+
The item at the end of the edge
|
|
1956
|
+
"""
|
|
1957
|
+
node: MoveFunction!
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
"""
|
|
1961
|
+
Declaration of a type parameter on a Move function.
|
|
1962
|
+
"""
|
|
1963
|
+
type MoveFunctionTypeParameter {
|
|
1964
|
+
"""
|
|
1965
|
+
Ability constraints on this type parameter.
|
|
1966
|
+
"""
|
|
1967
|
+
constraints: [MoveAbility!]!
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
"""
|
|
1971
|
+
Modules are a unit of code organization in Move.
|
|
1972
|
+
|
|
1973
|
+
Modules belong to packages, and contain type and function definitions.
|
|
1974
|
+
"""
|
|
1975
|
+
type MoveModule {
|
|
1976
|
+
"""
|
|
1977
|
+
Base64 encoded bytes of the serialized CompiledModule.
|
|
1978
|
+
"""
|
|
1979
|
+
bytes: Base64
|
|
1980
|
+
"""
|
|
1981
|
+
The datatype (struct or enum) named `name` in this module.
|
|
1982
|
+
"""
|
|
1983
|
+
datatype(name: String!): MoveDatatype
|
|
1984
|
+
"""
|
|
1985
|
+
Paginate through this module's datatype definitions.
|
|
1986
|
+
"""
|
|
1987
|
+
datatypes(first: Int, after: String, last: Int, before: String): MoveDatatypeConnection
|
|
1988
|
+
"""
|
|
1989
|
+
Textual representation of the module's bytecode.
|
|
1990
|
+
"""
|
|
1991
|
+
disassembly: String
|
|
1992
|
+
"""
|
|
1993
|
+
The enum named `name` in this module.
|
|
1994
|
+
"""
|
|
1995
|
+
enum(name: String!): MoveEnum
|
|
1996
|
+
"""
|
|
1997
|
+
Paginate through this module's enum definitions.
|
|
1998
|
+
"""
|
|
1999
|
+
enums(first: Int, after: String, last: Int, before: String): MoveEnumConnection
|
|
2000
|
+
"""
|
|
2001
|
+
Bytecode format version.
|
|
2002
|
+
"""
|
|
2003
|
+
fileFormatVersion: Int
|
|
2004
|
+
"""
|
|
2005
|
+
Modules that this module considers friends. These modules can call `public(package)` functions in this module.
|
|
2006
|
+
"""
|
|
2007
|
+
friends(first: Int, after: String, last: Int, before: String): MoveModuleConnection
|
|
2008
|
+
"""
|
|
2009
|
+
The function named `name` in this module.
|
|
2010
|
+
"""
|
|
2011
|
+
function(name: String!): MoveFunction
|
|
2012
|
+
"""
|
|
2013
|
+
Paginate through this module's function definitions.
|
|
2014
|
+
"""
|
|
2015
|
+
functions(first: Int, after: String, last: Int, before: String): MoveFunctionConnection
|
|
2016
|
+
"""
|
|
2017
|
+
The module's unqualified name.
|
|
2018
|
+
"""
|
|
2019
|
+
name: String!
|
|
2020
|
+
"""
|
|
2021
|
+
The package that this module was defined in.
|
|
2022
|
+
"""
|
|
2023
|
+
package: MovePackage
|
|
2024
|
+
"""
|
|
2025
|
+
The struct named `name` in this module.
|
|
2026
|
+
"""
|
|
2027
|
+
struct(name: String!): MoveStruct
|
|
2028
|
+
"""
|
|
2029
|
+
Paginate through this module's struct definitions.
|
|
2030
|
+
"""
|
|
2031
|
+
structs(first: Int, after: String, last: Int, before: String): MoveStructConnection
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
type MoveModuleConnection {
|
|
2035
|
+
"""
|
|
2036
|
+
A list of edges.
|
|
2037
|
+
"""
|
|
2038
|
+
edges: [MoveModuleEdge!]!
|
|
2039
|
+
"""
|
|
2040
|
+
A list of nodes.
|
|
2041
|
+
"""
|
|
2042
|
+
nodes: [MoveModule!]!
|
|
2043
|
+
"""
|
|
2044
|
+
Information to aid in pagination.
|
|
2045
|
+
"""
|
|
2046
|
+
pageInfo: PageInfo!
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
"""
|
|
2050
|
+
An edge in a connection.
|
|
2051
|
+
"""
|
|
2052
|
+
type MoveModuleEdge {
|
|
2053
|
+
"""
|
|
2054
|
+
A cursor for use in pagination
|
|
2055
|
+
"""
|
|
2056
|
+
cursor: String!
|
|
2057
|
+
"""
|
|
2058
|
+
The item at the end of the edge
|
|
2059
|
+
"""
|
|
2060
|
+
node: MoveModule!
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
"""
|
|
2064
|
+
A MoveObject is a kind of Object that reprsents data stored on-chain.
|
|
2065
|
+
"""
|
|
2066
|
+
type MoveObject implements IAddressable & IMoveObject & IObject {
|
|
2067
|
+
"""
|
|
2068
|
+
The MoveObject's ID.
|
|
2069
|
+
"""
|
|
2070
|
+
address: SuiAddress!
|
|
2071
|
+
"""
|
|
2072
|
+
Attempts to convert the object into a CoinMetadata.
|
|
2073
|
+
"""
|
|
2074
|
+
asCoinMetadata: CoinMetadata
|
|
2075
|
+
"""
|
|
2076
|
+
Attempts to convert the object into a DynamicField.
|
|
2077
|
+
"""
|
|
2078
|
+
asDynamicField: DynamicField
|
|
2079
|
+
"""
|
|
2080
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2081
|
+
|
|
2082
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2083
|
+
"""
|
|
2084
|
+
balance(coinType: String!): Balance
|
|
2085
|
+
"""
|
|
2086
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
2087
|
+
"""
|
|
2088
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
2089
|
+
"""
|
|
2090
|
+
The structured representation of the object's contents.
|
|
2091
|
+
"""
|
|
2092
|
+
contents: MoveValue
|
|
2093
|
+
"""
|
|
2094
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
2095
|
+
"""
|
|
2096
|
+
defaultSuinsName: String
|
|
2097
|
+
"""
|
|
2098
|
+
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
2099
|
+
"""
|
|
2100
|
+
digest: String
|
|
2101
|
+
"""
|
|
2102
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
2103
|
+
|
|
2104
|
+
Returns `null` if a dynamic field with that name could not be found attached to this object.
|
|
2105
|
+
"""
|
|
2106
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
2107
|
+
"""
|
|
2108
|
+
Dynamic fields owned by this object.
|
|
2109
|
+
|
|
2110
|
+
Dynamic fields on wrapped objects can be accessed using `Address.dynamicFields`.
|
|
2111
|
+
"""
|
|
2112
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
2113
|
+
"""
|
|
2114
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
2115
|
+
|
|
2116
|
+
Returns `null` if a dynamic object field with that name could not be found attached to this object.
|
|
2117
|
+
"""
|
|
2118
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
2119
|
+
"""
|
|
2120
|
+
Whether this object can be transfered using the `TransferObjects` Programmable Transaction Command or `sui::transfer::public_transfer`.
|
|
2121
|
+
|
|
2122
|
+
Both these operations require the object to have both the `key` and `store` abilities.
|
|
2123
|
+
"""
|
|
2124
|
+
hasPublicTransfer: Boolean
|
|
2125
|
+
"""
|
|
2126
|
+
The Base64-encoded BCS serialize of this object, as a `MoveObject`.
|
|
2127
|
+
"""
|
|
2128
|
+
moveObjectBcs: Base64
|
|
2129
|
+
"""
|
|
2130
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2131
|
+
|
|
2132
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
2133
|
+
"""
|
|
2134
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
2135
|
+
"""
|
|
2136
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
2137
|
+
|
|
2138
|
+
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`.
|
|
2139
|
+
"""
|
|
2140
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
2141
|
+
"""
|
|
2142
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
2143
|
+
|
|
2144
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
2145
|
+
"""
|
|
2146
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
2147
|
+
"""
|
|
2148
|
+
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
|
|
2149
|
+
|
|
2150
|
+
If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
|
|
2151
|
+
"""
|
|
2152
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
2153
|
+
"""
|
|
2154
|
+
The Base64-encoded BCS serialization of this object, as an `Object`.
|
|
2155
|
+
"""
|
|
2156
|
+
objectBcs: Base64
|
|
2157
|
+
"""
|
|
2158
|
+
Paginate all versions of this object after this one.
|
|
2159
|
+
"""
|
|
2160
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2161
|
+
"""
|
|
2162
|
+
Paginate all versions of this object before this one.
|
|
2163
|
+
"""
|
|
2164
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2165
|
+
"""
|
|
2166
|
+
Objects owned by this object, optionally filtered by type.
|
|
2167
|
+
"""
|
|
2168
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
2169
|
+
"""
|
|
2170
|
+
The object's owner kind.
|
|
2171
|
+
"""
|
|
2172
|
+
owner: Owner
|
|
2173
|
+
"""
|
|
2174
|
+
The transaction that created this version of the object.
|
|
2175
|
+
"""
|
|
2176
|
+
previousTransaction: Transaction
|
|
2177
|
+
"""
|
|
2178
|
+
The transactions that sent objects to this object.
|
|
2179
|
+
"""
|
|
2180
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2181
|
+
"""
|
|
2182
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2183
|
+
"""
|
|
2184
|
+
storageRebate: BigInt
|
|
2185
|
+
"""
|
|
2186
|
+
The version of this object that this content comes from.
|
|
2187
|
+
"""
|
|
2188
|
+
version: UInt53
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
type MoveObjectConnection {
|
|
2192
|
+
"""
|
|
2193
|
+
A list of edges.
|
|
2194
|
+
"""
|
|
2195
|
+
edges: [MoveObjectEdge!]!
|
|
2196
|
+
"""
|
|
2197
|
+
A list of nodes.
|
|
2198
|
+
"""
|
|
2199
|
+
nodes: [MoveObject!]!
|
|
2200
|
+
"""
|
|
2201
|
+
Information to aid in pagination.
|
|
2202
|
+
"""
|
|
2203
|
+
pageInfo: PageInfo!
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
"""
|
|
2207
|
+
An edge in a connection.
|
|
2208
|
+
"""
|
|
2209
|
+
type MoveObjectEdge {
|
|
2210
|
+
"""
|
|
2211
|
+
A cursor for use in pagination
|
|
2212
|
+
"""
|
|
2213
|
+
cursor: String!
|
|
2214
|
+
"""
|
|
2215
|
+
The item at the end of the edge
|
|
2216
|
+
"""
|
|
2217
|
+
node: MoveObject!
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
"""
|
|
2221
|
+
A MovePackage is a kind of Object that represents code that has been published on-chain. It exposes information about its modules, type definitions, functions, and dependencies.
|
|
2222
|
+
"""
|
|
2223
|
+
type MovePackage implements IAddressable & IObject {
|
|
2224
|
+
"""
|
|
2225
|
+
The MovePackage's ID.
|
|
2226
|
+
"""
|
|
2227
|
+
address: SuiAddress!
|
|
2228
|
+
"""
|
|
2229
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2230
|
+
|
|
2231
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2232
|
+
"""
|
|
2233
|
+
balance(coinType: String!): Balance
|
|
2234
|
+
"""
|
|
2235
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
2236
|
+
"""
|
|
2237
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
2238
|
+
"""
|
|
2239
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
2240
|
+
"""
|
|
2241
|
+
defaultSuinsName: String
|
|
2242
|
+
"""
|
|
2243
|
+
32-byte hash that identifies the package's contents, encoded in Base58.
|
|
2244
|
+
"""
|
|
2245
|
+
digest: String
|
|
2246
|
+
"""
|
|
2247
|
+
The transitive dependencies of this package.
|
|
2248
|
+
"""
|
|
2249
|
+
linkage: [Linkage!]
|
|
2250
|
+
"""
|
|
2251
|
+
The module named `name` in this package.
|
|
2252
|
+
"""
|
|
2253
|
+
module(name: String!): MoveModule
|
|
2254
|
+
"""
|
|
2255
|
+
BCS representation of the package's modules. Modules appear as a sequence of pairs (module name, followed by module bytes), in alphabetic order by module name.
|
|
2256
|
+
"""
|
|
2257
|
+
moduleBcs: Base64
|
|
2258
|
+
"""
|
|
2259
|
+
Paginate through this package's modules.
|
|
2260
|
+
"""
|
|
2261
|
+
modules(first: Int, after: String, last: Int, before: String): MoveModuleConnection
|
|
2262
|
+
"""
|
|
2263
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2264
|
+
|
|
2265
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
2266
|
+
"""
|
|
2267
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
2268
|
+
"""
|
|
2269
|
+
Fetch the package as an object with the same ID, at a different version, root version bound, or checkpoint.
|
|
2270
|
+
|
|
2271
|
+
If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
|
|
2272
|
+
"""
|
|
2273
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
2274
|
+
"""
|
|
2275
|
+
The Base64-encoded BCS serialization of this package, as an `Object`.
|
|
2276
|
+
"""
|
|
2277
|
+
objectBcs: Base64
|
|
2278
|
+
"""
|
|
2279
|
+
Paginate all versions of this package treated as an object, after this one.
|
|
2280
|
+
"""
|
|
2281
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2282
|
+
"""
|
|
2283
|
+
Paginate all versions of this package treated as an object, before this one.
|
|
2284
|
+
"""
|
|
2285
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2286
|
+
"""
|
|
2287
|
+
Objects owned by this package, optionally filtered by type.
|
|
2288
|
+
"""
|
|
2289
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
2290
|
+
"""
|
|
2291
|
+
The object's owner kind.
|
|
2292
|
+
"""
|
|
2293
|
+
owner: Owner
|
|
2294
|
+
"""
|
|
2295
|
+
Fetch the package with the same original ID, at a different version, root version bound, or checkpoint.
|
|
2296
|
+
|
|
2297
|
+
If no additional bound is provided, the latest version of this package is fetched at the latest checkpoint.
|
|
2298
|
+
"""
|
|
2299
|
+
packageAt(version: UInt53, checkpoint: UInt53): MovePackage
|
|
2300
|
+
"""
|
|
2301
|
+
The Base64-encoded BCS serialization of this package, as a `MovePackage`.
|
|
2302
|
+
"""
|
|
2303
|
+
packageBcs: Base64
|
|
2304
|
+
"""
|
|
2305
|
+
Paginate all versions of this package after this one.
|
|
2306
|
+
"""
|
|
2307
|
+
packageVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): MovePackageConnection
|
|
2308
|
+
"""
|
|
2309
|
+
Paginate all versions of this package before this one.
|
|
2310
|
+
"""
|
|
2311
|
+
packageVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): MovePackageConnection
|
|
2312
|
+
"""
|
|
2313
|
+
The transaction that created this version of the object.
|
|
2314
|
+
"""
|
|
2315
|
+
previousTransaction: Transaction
|
|
2316
|
+
"""
|
|
2317
|
+
The transactions that sent objects to this object.
|
|
2318
|
+
"""
|
|
2319
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2320
|
+
"""
|
|
2321
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2322
|
+
"""
|
|
2323
|
+
storageRebate: BigInt
|
|
2324
|
+
"""
|
|
2325
|
+
A table identifying which versions of a package introduced each of its types.
|
|
2326
|
+
"""
|
|
2327
|
+
typeOrigins: [TypeOrigin!]
|
|
2328
|
+
"""
|
|
2329
|
+
The version of this package that this content comes from.
|
|
2330
|
+
"""
|
|
2331
|
+
version: UInt53
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
type MovePackageConnection {
|
|
2335
|
+
"""
|
|
2336
|
+
A list of edges.
|
|
2337
|
+
"""
|
|
2338
|
+
edges: [MovePackageEdge!]!
|
|
2339
|
+
"""
|
|
2340
|
+
A list of nodes.
|
|
2341
|
+
"""
|
|
2342
|
+
nodes: [MovePackage!]!
|
|
2343
|
+
"""
|
|
2344
|
+
Information to aid in pagination.
|
|
2345
|
+
"""
|
|
2346
|
+
pageInfo: PageInfo!
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
"""
|
|
2350
|
+
An edge in a connection.
|
|
2351
|
+
"""
|
|
2352
|
+
type MovePackageEdge {
|
|
2353
|
+
"""
|
|
2354
|
+
A cursor for use in pagination
|
|
2355
|
+
"""
|
|
2356
|
+
cursor: String!
|
|
2357
|
+
"""
|
|
2358
|
+
The item at the end of the edge
|
|
2359
|
+
"""
|
|
2360
|
+
node: MovePackage!
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
"""
|
|
2364
|
+
Description of a struct type, defined in a Move module.
|
|
2365
|
+
"""
|
|
2366
|
+
type MoveStruct implements IMoveDatatype {
|
|
2367
|
+
"""
|
|
2368
|
+
Abilities on this struct definition.
|
|
2369
|
+
"""
|
|
2370
|
+
abilities: [MoveAbility!]
|
|
2371
|
+
"""
|
|
2372
|
+
The names and types of the struct's fields.
|
|
2373
|
+
|
|
2374
|
+
Field types reference type parameters by their index in the defining struct's `typeParameters` list.
|
|
2375
|
+
"""
|
|
2376
|
+
fields: [MoveField!]
|
|
2377
|
+
"""
|
|
2378
|
+
The module that this struct is defined in.
|
|
2379
|
+
"""
|
|
2380
|
+
module: MoveModule!
|
|
2381
|
+
"""
|
|
2382
|
+
The struct's unqualified name.
|
|
2383
|
+
"""
|
|
2384
|
+
name: String!
|
|
2385
|
+
"""
|
|
2386
|
+
Constraints on the struct's formal type parameters.
|
|
2387
|
+
|
|
2388
|
+
Move bytecode does not name type parameters, so when they are referenced (e.g. in field types), they are identified by their index in this list.
|
|
2389
|
+
"""
|
|
2390
|
+
typeParameters: [MoveDatatypeTypeParameter!]
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
type MoveStructConnection {
|
|
2394
|
+
"""
|
|
2395
|
+
A list of edges.
|
|
2396
|
+
"""
|
|
2397
|
+
edges: [MoveStructEdge!]!
|
|
2398
|
+
"""
|
|
2399
|
+
A list of nodes.
|
|
2400
|
+
"""
|
|
2401
|
+
nodes: [MoveStruct!]!
|
|
2402
|
+
"""
|
|
2403
|
+
Information to aid in pagination.
|
|
2404
|
+
"""
|
|
2405
|
+
pageInfo: PageInfo!
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
"""
|
|
2409
|
+
An edge in a connection.
|
|
2410
|
+
"""
|
|
2411
|
+
type MoveStructEdge {
|
|
2412
|
+
"""
|
|
2413
|
+
A cursor for use in pagination
|
|
2414
|
+
"""
|
|
2415
|
+
cursor: String!
|
|
2416
|
+
"""
|
|
2417
|
+
The item at the end of the edge
|
|
2418
|
+
"""
|
|
2419
|
+
node: MoveStruct!
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
"""
|
|
2423
|
+
Represents instances of concrete types (no type parameters, no references).
|
|
2424
|
+
"""
|
|
2425
|
+
type MoveType {
|
|
2426
|
+
"""
|
|
2427
|
+
The abilities this concrete type has. Returns no abilities if the type is invalid.
|
|
2428
|
+
"""
|
|
2429
|
+
abilities: [MoveAbility!]
|
|
2430
|
+
"""
|
|
2431
|
+
Structured representation of the "shape" of values that match this type. May return no
|
|
2432
|
+
layout if the type is invalid.
|
|
2433
|
+
"""
|
|
2434
|
+
layout: MoveTypeLayout
|
|
2435
|
+
"""
|
|
2436
|
+
Flat representation of the type signature, as a displayable string.
|
|
2437
|
+
"""
|
|
2438
|
+
repr: String!
|
|
2439
|
+
"""
|
|
2440
|
+
Structured representation of the type signature.
|
|
2441
|
+
"""
|
|
2442
|
+
signature: MoveTypeSignature!
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
"""
|
|
2446
|
+
The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type:
|
|
2447
|
+
|
|
2448
|
+
type MoveTypeLayout =
|
|
2449
|
+
"address"
|
|
2450
|
+
| "bool"
|
|
2451
|
+
| "u8" | "u16" | ... | "u256"
|
|
2452
|
+
| { vector: MoveTypeLayout }
|
|
2453
|
+
| {
|
|
2454
|
+
struct: {
|
|
2455
|
+
type: string,
|
|
2456
|
+
fields: [{ name: string, layout: MoveTypeLayout }],
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
| { enum: [{
|
|
2460
|
+
type: string,
|
|
2461
|
+
variants: [{
|
|
2462
|
+
name: string,
|
|
2463
|
+
fields: [{ name: string, layout: MoveTypeLayout }],
|
|
2464
|
+
}]
|
|
2465
|
+
}]
|
|
2466
|
+
}
|
|
2467
|
+
"""
|
|
2468
|
+
scalar MoveTypeLayout
|
|
2469
|
+
|
|
2470
|
+
"""
|
|
2471
|
+
The signature of a concrete Move Type (a type with all its type parameters instantiated with concrete types, that contains no references), corresponding to the following recursive type:
|
|
2472
|
+
|
|
2473
|
+
type MoveTypeSignature =
|
|
2474
|
+
"address"
|
|
2475
|
+
| "bool"
|
|
2476
|
+
| "u8" | "u16" | ... | "u256"
|
|
2477
|
+
| { vector: MoveTypeSignature }
|
|
2478
|
+
| {
|
|
2479
|
+
datatype: {
|
|
2480
|
+
package: string,
|
|
2481
|
+
module: string,
|
|
2482
|
+
type: string,
|
|
2483
|
+
typeParameters: [MoveTypeSignature],
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
"""
|
|
2487
|
+
scalar MoveTypeSignature
|
|
2488
|
+
|
|
2489
|
+
type MoveValue {
|
|
2490
|
+
"""
|
|
2491
|
+
The BCS representation of this value, Base64-encoded.
|
|
2492
|
+
"""
|
|
2493
|
+
bcs: Base64
|
|
2494
|
+
"""
|
|
2495
|
+
A rendered JSON blob based on an on-chain template, substituted with data from this value.
|
|
2496
|
+
|
|
2497
|
+
Returns `null` if the value's type does not have an associated `Display` template.
|
|
2498
|
+
"""
|
|
2499
|
+
display: Display
|
|
2500
|
+
"""
|
|
2501
|
+
Representation of a Move value in JSON, where:
|
|
2502
|
+
|
|
2503
|
+
- Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
|
|
2504
|
+
- Bools are represented by JSON boolean literals.
|
|
2505
|
+
- u8, u16, and u32 are represented as JSON numbers.
|
|
2506
|
+
- u64, u128, and u256 are represented as JSON strings.
|
|
2507
|
+
- Balances, Strings, and Urls are represented as JSON strings.
|
|
2508
|
+
- Vectors of bytes are represented as Base64 blobs, and other vectors are represented by JSON arrays.
|
|
2509
|
+
- Structs are represented by JSON objects.
|
|
2510
|
+
- Enums are represented by JSON objects, with a field named `@variant` containing the variant name.
|
|
2511
|
+
- Empty optional values are represented by `null`.
|
|
2512
|
+
"""
|
|
2513
|
+
json: JSON
|
|
2514
|
+
"""
|
|
2515
|
+
The value's type.
|
|
2516
|
+
"""
|
|
2517
|
+
type: MoveType
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
"""
|
|
2521
|
+
The visibility modifier describes which modules can access this module member.
|
|
2522
|
+
|
|
2523
|
+
By default, a module member can be called only within the same module.
|
|
2524
|
+
"""
|
|
2525
|
+
enum MoveVisibility {
|
|
2526
|
+
"""
|
|
2527
|
+
A public member can be accessed by any module.
|
|
2528
|
+
"""
|
|
2529
|
+
PUBLIC
|
|
2530
|
+
"""
|
|
2531
|
+
A private member can be accessed in the module it is defined in.
|
|
2532
|
+
"""
|
|
2533
|
+
PRIVATE
|
|
2534
|
+
"""
|
|
2535
|
+
A friend member can be accessed in the module it is defined in and any other module in its package that is explicitly specified in its friend list.
|
|
2536
|
+
"""
|
|
2537
|
+
FRIEND
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
"""
|
|
2541
|
+
A transaction that wanted to mutate a consensus-managed object but couldn't because it became not-consensus-managed before the transaction executed (for example, it was deleted, turned into an owned object, or wrapped).
|
|
2542
|
+
"""
|
|
2543
|
+
type MutateConsensusStreamEnded {
|
|
2544
|
+
"""
|
|
2545
|
+
The ID of the consensus-managed object.
|
|
2546
|
+
"""
|
|
2547
|
+
address: SuiAddress
|
|
2548
|
+
"""
|
|
2549
|
+
The sequence number associated with the consensus stream ending.
|
|
2550
|
+
"""
|
|
2551
|
+
sequenceNumber: UInt53
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2554
|
+
"""
|
|
2555
|
+
Mutations are used to write to the Sui network.
|
|
2556
|
+
"""
|
|
2557
|
+
type Mutation {
|
|
2558
|
+
"""
|
|
2559
|
+
Execute a transaction, committing its effects on chain.
|
|
2560
|
+
|
|
2561
|
+
- `transactionDataBcs` contains the BCS-encoded transaction data (Base64-encoded).
|
|
2562
|
+
- `signatures` are a list of `flag || signature || pubkey` bytes, Base64-encoded.
|
|
2563
|
+
|
|
2564
|
+
Waits until the transaction has reached finality on chain to return its transaction digest, or returns the error that prevented finality if that was not possible. A transaction is final when its effects are guaranteed on chain (it cannot be revoked).
|
|
2565
|
+
|
|
2566
|
+
There may be a delay between transaction finality and when GraphQL requests (including the request that issued the transaction) reflect its effects. As a result, queries that depend on indexing the state of the chain (e.g. contents of output objects, address-level balance information at the time of the transaction), must wait for indexing to catch up by polling for the transaction digest using `Query.transaction`.
|
|
2567
|
+
"""
|
|
2568
|
+
executeTransaction(transactionDataBcs: Base64!, signatures: [Base64!]!): ExecutionResult!
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
"""
|
|
2572
|
+
An Object on Sui is either a typed value (a Move Object) or a Package (modules containing functions and types).
|
|
2573
|
+
|
|
2574
|
+
Every object on Sui is identified by a unique address, and has a version number that increases with every modification. Objects also hold metadata detailing their current owner (who can sign for access to the object and whether that access can modify and/or delete the object), and the digest of the last transaction that modified the object.
|
|
2575
|
+
"""
|
|
2576
|
+
type Object implements IAddressable & IObject {
|
|
2577
|
+
"""
|
|
2578
|
+
The Object's ID.
|
|
2579
|
+
"""
|
|
2580
|
+
address: SuiAddress!
|
|
2581
|
+
"""
|
|
2582
|
+
Attempts to convert the object into a MoveObject.
|
|
2583
|
+
"""
|
|
2584
|
+
asMoveObject: MoveObject
|
|
2585
|
+
"""
|
|
2586
|
+
Attempts to convert the object into a MovePackage.
|
|
2587
|
+
"""
|
|
2588
|
+
asMovePackage: MovePackage
|
|
2589
|
+
"""
|
|
2590
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
2591
|
+
|
|
2592
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
2593
|
+
"""
|
|
2594
|
+
balance(coinType: String!): Balance
|
|
2595
|
+
"""
|
|
2596
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
2597
|
+
"""
|
|
2598
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
2599
|
+
"""
|
|
2600
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
2601
|
+
"""
|
|
2602
|
+
defaultSuinsName: String
|
|
2603
|
+
"""
|
|
2604
|
+
32-byte hash that identifies the object's contents, encoded in Base58.
|
|
2605
|
+
"""
|
|
2606
|
+
digest: String
|
|
2607
|
+
"""
|
|
2608
|
+
Access a dynamic field on an object using its type and BCS-encoded name.
|
|
2609
|
+
|
|
2610
|
+
Returns `null` if a dynamic field with that name could not be found attached to this object.
|
|
2611
|
+
"""
|
|
2612
|
+
dynamicField(name: DynamicFieldName!): DynamicField
|
|
2613
|
+
"""
|
|
2614
|
+
Dynamic fields owned by this object.
|
|
2615
|
+
"""
|
|
2616
|
+
dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection
|
|
2617
|
+
"""
|
|
2618
|
+
Access a dynamic object field on an object using its type and BCS-encoded name.
|
|
2619
|
+
|
|
2620
|
+
Returns `null` if a dynamic object field with that name could not be found attached to this object.
|
|
2621
|
+
"""
|
|
2622
|
+
dynamicObjectField(name: DynamicFieldName!): DynamicField
|
|
2623
|
+
"""
|
|
2624
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
2625
|
+
|
|
2626
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
2627
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
2628
|
+
"""
|
|
2629
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
2630
|
+
"""
|
|
2631
|
+
Access dynamic fields on an object using their types and BCS-encoded names.
|
|
2632
|
+
|
|
2633
|
+
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`.
|
|
2634
|
+
"""
|
|
2635
|
+
multiGetDynamicFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
2636
|
+
"""
|
|
2637
|
+
Access dynamic object fields on an object using their types and BCS-encoded names.
|
|
2638
|
+
|
|
2639
|
+
Returns a list of dynamic object fields that is guaranteed to be the same length as `keys`. If a dynamic object field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
|
|
2640
|
+
"""
|
|
2641
|
+
multiGetDynamicObjectFields(keys: [DynamicFieldName!]!): [DynamicField]!
|
|
2642
|
+
"""
|
|
2643
|
+
Fetch the object with the same ID, at a different version, root version bound, or checkpoint.
|
|
2644
|
+
|
|
2645
|
+
If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
|
|
2646
|
+
"""
|
|
2647
|
+
objectAt(version: UInt53, rootVersion: UInt53, checkpoint: UInt53): Object
|
|
2648
|
+
"""
|
|
2649
|
+
The Base64-encoded BCS serialization of this object, as an `Object`.
|
|
2650
|
+
"""
|
|
2651
|
+
objectBcs: Base64
|
|
2652
|
+
"""
|
|
2653
|
+
Paginate all versions of this object after this one.
|
|
2654
|
+
"""
|
|
2655
|
+
objectVersionsAfter(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2656
|
+
"""
|
|
2657
|
+
Paginate all versions of this object before this one.
|
|
2658
|
+
"""
|
|
2659
|
+
objectVersionsBefore(first: Int, after: String, last: Int, before: String, filter: VersionFilter): ObjectConnection
|
|
2660
|
+
"""
|
|
2661
|
+
Objects owned by this object, optionally filtered by type.
|
|
2662
|
+
"""
|
|
2663
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
2664
|
+
"""
|
|
2665
|
+
The object's owner kind.
|
|
2666
|
+
"""
|
|
2667
|
+
owner: Owner
|
|
2668
|
+
"""
|
|
2669
|
+
The transaction that created this version of the object.
|
|
2670
|
+
"""
|
|
2671
|
+
previousTransaction: Transaction
|
|
2672
|
+
"""
|
|
2673
|
+
The transactions that sent objects to this object
|
|
2674
|
+
"""
|
|
2675
|
+
receivedTransactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
2676
|
+
"""
|
|
2677
|
+
The SUI returned to the sponsor or sender of the transaction that modifies or deletes this object.
|
|
2678
|
+
"""
|
|
2679
|
+
storageRebate: BigInt
|
|
2680
|
+
"""
|
|
2681
|
+
The version of this object that this content comes from.
|
|
2682
|
+
"""
|
|
2683
|
+
version: UInt53
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
type ObjectChange {
|
|
2687
|
+
"""
|
|
2688
|
+
The address of the object that has changed.
|
|
2689
|
+
"""
|
|
2690
|
+
address: SuiAddress!
|
|
2691
|
+
"""
|
|
2692
|
+
Whether the ID was created in this transaction.
|
|
2693
|
+
"""
|
|
2694
|
+
idCreated: Boolean
|
|
2695
|
+
"""
|
|
2696
|
+
Whether the ID was deleted in this transaction.
|
|
2697
|
+
"""
|
|
2698
|
+
idDeleted: Boolean
|
|
2699
|
+
"""
|
|
2700
|
+
The contents of the object immediately before the transaction.
|
|
2701
|
+
"""
|
|
2702
|
+
inputState: Object
|
|
2703
|
+
"""
|
|
2704
|
+
The contents of the object immediately after the transaction.
|
|
2705
|
+
"""
|
|
2706
|
+
outputState: Object
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
type ObjectChangeConnection {
|
|
2710
|
+
"""
|
|
2711
|
+
A list of edges.
|
|
2712
|
+
"""
|
|
2713
|
+
edges: [ObjectChangeEdge!]!
|
|
2714
|
+
"""
|
|
2715
|
+
A list of nodes.
|
|
2716
|
+
"""
|
|
2717
|
+
nodes: [ObjectChange!]!
|
|
2718
|
+
"""
|
|
2719
|
+
Information to aid in pagination.
|
|
2720
|
+
"""
|
|
2721
|
+
pageInfo: PageInfo!
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
"""
|
|
2725
|
+
An edge in a connection.
|
|
2726
|
+
"""
|
|
2727
|
+
type ObjectChangeEdge {
|
|
2728
|
+
"""
|
|
2729
|
+
A cursor for use in pagination
|
|
2730
|
+
"""
|
|
2731
|
+
cursor: String!
|
|
2732
|
+
"""
|
|
2733
|
+
The item at the end of the edge
|
|
2734
|
+
"""
|
|
2735
|
+
node: ObjectChange!
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
type ObjectConnection {
|
|
2739
|
+
"""
|
|
2740
|
+
A list of edges.
|
|
2741
|
+
"""
|
|
2742
|
+
edges: [ObjectEdge!]!
|
|
2743
|
+
"""
|
|
2744
|
+
A list of nodes.
|
|
2745
|
+
"""
|
|
2746
|
+
nodes: [Object!]!
|
|
2747
|
+
"""
|
|
2748
|
+
Information to aid in pagination.
|
|
2749
|
+
"""
|
|
2750
|
+
pageInfo: PageInfo!
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
"""
|
|
2754
|
+
An edge in a connection.
|
|
2755
|
+
"""
|
|
2756
|
+
type ObjectEdge {
|
|
2757
|
+
"""
|
|
2758
|
+
A cursor for use in pagination
|
|
2759
|
+
"""
|
|
2760
|
+
cursor: String!
|
|
2761
|
+
"""
|
|
2762
|
+
The item at the end of the edge
|
|
2763
|
+
"""
|
|
2764
|
+
node: Object!
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
"""
|
|
2768
|
+
A filter over the live object set, the filter can be one of:
|
|
2769
|
+
|
|
2770
|
+
- A filter on type (all live objects whose type matches that filter).
|
|
2771
|
+
- Fetching all objects owned by an address or object, optionally filtered by type.
|
|
2772
|
+
- Fetching all shared or immutable objects, filtered by type.
|
|
2773
|
+
"""
|
|
2774
|
+
input ObjectFilter {
|
|
2775
|
+
"""
|
|
2776
|
+
Specifies the address of the owning address or object.
|
|
2777
|
+
|
|
2778
|
+
This field is required if `ownerKind` is "ADDRESS" or "OBJECT". If provided without `ownerKind`, `ownerKind` defaults to "ADDRESS".
|
|
2779
|
+
"""
|
|
2780
|
+
owner: SuiAddress
|
|
2781
|
+
"""
|
|
2782
|
+
Filter on whether the object is address-owned, object-owned, shared, or immutable.
|
|
2783
|
+
|
|
2784
|
+
- If this field is set to "ADDRESS" or "OBJECT", then an owner filter must also be provided.
|
|
2785
|
+
- If this field is set to "SHARED" or "IMMUTABLE", then a type filter must also be provided.
|
|
2786
|
+
"""
|
|
2787
|
+
ownerKind: OwnerKind
|
|
2788
|
+
"""
|
|
2789
|
+
Filter on the object's type.
|
|
2790
|
+
|
|
2791
|
+
The filter can be one of:
|
|
2792
|
+
|
|
2793
|
+
- A package address: `0x2`,
|
|
2794
|
+
- A module: `0x2::coin`,
|
|
2795
|
+
- A fully-qualified name: `0x2::coin::Coin`,
|
|
2796
|
+
- A type instantiation: `0x2::coin::Coin<0x2::haneul::HANEUL>`.
|
|
2797
|
+
"""
|
|
2798
|
+
type: String
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
"""
|
|
2802
|
+
Identifies a specific version of an object.
|
|
2803
|
+
|
|
2804
|
+
The `address` field must be specified, as well as at most one of `version`, `rootVersion`, or `atCheckpoint`. If none are provided, the object is fetched at the current checkpoint.
|
|
2805
|
+
|
|
2806
|
+
Specifying a `version` or a `rootVersion` disables nested queries for paginating owned objects or dynamic fields (these queries are only supported at checkpoint boundaries).
|
|
2807
|
+
|
|
2808
|
+
See `Query.object` for more details.
|
|
2809
|
+
"""
|
|
2810
|
+
input ObjectKey {
|
|
2811
|
+
"""
|
|
2812
|
+
The object's ID.
|
|
2813
|
+
"""
|
|
2814
|
+
address: SuiAddress!
|
|
2815
|
+
"""
|
|
2816
|
+
If specified, tries to fetch the latest version as of this checkpoint. Fails if the checkpoint is later than the RPC's latest checkpoint.
|
|
2817
|
+
"""
|
|
2818
|
+
atCheckpoint: UInt53
|
|
2819
|
+
"""
|
|
2820
|
+
If specified, tries to fetch the latest version of the object at or before this version. Nested dynamic field accesses will also be subject to this bound.
|
|
2821
|
+
|
|
2822
|
+
This can be used to fetch a child or ancestor object bounded by its root object's version. For any wrapped or child (object-owned) object, its root object can be defined recursively as:
|
|
2823
|
+
|
|
2824
|
+
- The root object of the object it is wrapped in, if it is wrapped.
|
|
2825
|
+
- The root object of its owner, if it is owned by another object.
|
|
2826
|
+
- The object itself, if it is not object-owned or wrapped.
|
|
2827
|
+
"""
|
|
2828
|
+
rootVersion: UInt53
|
|
2829
|
+
"""
|
|
2830
|
+
If specified, tries to fetch the object at this exact version.
|
|
2831
|
+
"""
|
|
2832
|
+
version: UInt53
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
"""
|
|
2836
|
+
Object is exclusively owned by a single object, and is mutable. Note that the owning object may be inaccessible because it is wrapped.
|
|
2837
|
+
"""
|
|
2838
|
+
type ObjectOwner {
|
|
2839
|
+
"""
|
|
2840
|
+
The owner's address.
|
|
2841
|
+
"""
|
|
2842
|
+
address: Address
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
"""
|
|
2846
|
+
Represents types that could contain references or free type parameters. Such types can appear
|
|
2847
|
+
as function parameters, in fields of structs, or as actual type parameter.
|
|
2848
|
+
"""
|
|
2849
|
+
type OpenMoveType {
|
|
2850
|
+
"""
|
|
2851
|
+
Flat representation of the type signature, as a displayable string.
|
|
2852
|
+
"""
|
|
2853
|
+
repr: String!
|
|
2854
|
+
"""
|
|
2855
|
+
Structured representation of the type signature.
|
|
2856
|
+
"""
|
|
2857
|
+
signature: OpenMoveTypeSignature!
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
"""
|
|
2861
|
+
The shape of an abstract Move Type (a type that can contain free type parameters, and can optionally be taken by reference), corresponding to the following recursive type:
|
|
2862
|
+
|
|
2863
|
+
type OpenMoveTypeSignature = {
|
|
2864
|
+
ref: ("&" | "&mut")?,
|
|
2865
|
+
body: OpenMoveTypeSignatureBody,
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
type OpenMoveTypeSignatureBody =
|
|
2869
|
+
"address"
|
|
2870
|
+
| "bool"
|
|
2871
|
+
| "u8" | "u16" | ... | "u256"
|
|
2872
|
+
| { vector: OpenMoveTypeSignatureBody }
|
|
2873
|
+
| {
|
|
2874
|
+
datatype {
|
|
2875
|
+
package: string,
|
|
2876
|
+
module: string,
|
|
2877
|
+
type: string,
|
|
2878
|
+
typeParameters: [OpenMoveTypeSignatureBody]
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
| { typeParameter: number }
|
|
2882
|
+
"""
|
|
2883
|
+
scalar OpenMoveTypeSignature
|
|
2884
|
+
|
|
2885
|
+
"""
|
|
2886
|
+
Placeholder for unimplemented command types
|
|
2887
|
+
"""
|
|
2888
|
+
type OtherCommand {
|
|
2889
|
+
"""
|
|
2890
|
+
Placeholder field for unimplemented commands
|
|
2891
|
+
"""
|
|
2892
|
+
_: Boolean
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
"""
|
|
2896
|
+
A Move object, either immutable, or owned mutable.
|
|
2897
|
+
"""
|
|
2898
|
+
type OwnedOrImmutable {
|
|
2899
|
+
object: Object
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
"""
|
|
2903
|
+
The object's owner kind.
|
|
2904
|
+
"""
|
|
2905
|
+
union Owner = AddressOwner | ObjectOwner | Shared | Immutable | ConsensusAddressOwner
|
|
2906
|
+
|
|
2907
|
+
"""
|
|
2908
|
+
Filter on who owns an object.
|
|
2909
|
+
"""
|
|
2910
|
+
enum OwnerKind {
|
|
2911
|
+
"""
|
|
2912
|
+
Object is owned by an address.
|
|
2913
|
+
"""
|
|
2914
|
+
ADDRESS
|
|
2915
|
+
"""
|
|
2916
|
+
Object is a child of another object (e.g. a dynamic field or dynamic object field).
|
|
2917
|
+
"""
|
|
2918
|
+
OBJECT
|
|
2919
|
+
"""
|
|
2920
|
+
Object is shared among multiple owners.
|
|
2921
|
+
"""
|
|
2922
|
+
SHARED
|
|
2923
|
+
"""
|
|
2924
|
+
Object is frozen.
|
|
2925
|
+
"""
|
|
2926
|
+
IMMUTABLE
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
"""
|
|
2930
|
+
Filter for paginating packages published within a range of checkpoints.
|
|
2931
|
+
"""
|
|
2932
|
+
input PackageCheckpointFilter {
|
|
2933
|
+
"""
|
|
2934
|
+
Filter to packages that were published strictly after this checkpoint, defaults to fetching from the earliest checkpoint known to this RPC (this could be the genesis checkpoint, or some later checkpoint if data has been pruned).
|
|
2935
|
+
"""
|
|
2936
|
+
afterCheckpoint: UInt53
|
|
2937
|
+
"""
|
|
2938
|
+
Filter to packages published strictly before this checkpoint, defaults to fetching up to the latest checkpoint (inclusive).
|
|
2939
|
+
"""
|
|
2940
|
+
beforeCheckpoint: UInt53
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
"""
|
|
2944
|
+
Identifies a specific version of a package.
|
|
2945
|
+
|
|
2946
|
+
The `address` field must be specified, as well as at most one of `version`, or `atCheckpoint`. If neither is provided, the package is fetched at the current checkpoint.
|
|
2947
|
+
|
|
2948
|
+
See `Query.package` for more details.
|
|
2949
|
+
"""
|
|
2950
|
+
input PackageKey {
|
|
2951
|
+
"""
|
|
2952
|
+
The object's ID.
|
|
2953
|
+
"""
|
|
2954
|
+
address: SuiAddress!
|
|
2955
|
+
"""
|
|
2956
|
+
If specified, tries to fetch the latest version as of this checkpoint.
|
|
2957
|
+
"""
|
|
2958
|
+
atCheckpoint: UInt53
|
|
2959
|
+
"""
|
|
2960
|
+
If specified, tries to fetch the package at this exact version.
|
|
2961
|
+
"""
|
|
2962
|
+
version: UInt53
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
"""
|
|
2966
|
+
Information about pagination in a connection
|
|
2967
|
+
"""
|
|
2968
|
+
type PageInfo {
|
|
2969
|
+
"""
|
|
2970
|
+
When paginating forwards, the cursor to continue.
|
|
2971
|
+
"""
|
|
2972
|
+
endCursor: String
|
|
2973
|
+
"""
|
|
2974
|
+
When paginating forwards, are there more items?
|
|
2975
|
+
"""
|
|
2976
|
+
hasNextPage: Boolean!
|
|
2977
|
+
"""
|
|
2978
|
+
When paginating backwards, are there more items?
|
|
2979
|
+
"""
|
|
2980
|
+
hasPreviousPage: Boolean!
|
|
2981
|
+
"""
|
|
2982
|
+
When paginating backwards, the cursor to continue.
|
|
2983
|
+
"""
|
|
2984
|
+
startCursor: String
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
type PerEpochConfig {
|
|
2988
|
+
"""
|
|
2989
|
+
The per-epoch configuration object as of when the transaction was executed.
|
|
2990
|
+
"""
|
|
2991
|
+
object: Object
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
"""
|
|
2995
|
+
ProgrammableSystemTransaction is identical to ProgrammableTransaction, but GraphQL does not allow multiple variants with the same type.
|
|
2996
|
+
"""
|
|
2997
|
+
type ProgrammableSystemTransaction {
|
|
2998
|
+
"""
|
|
2999
|
+
The transaction commands, executed sequentially.
|
|
3000
|
+
"""
|
|
3001
|
+
commands(first: Int, after: String, last: Int, before: String): CommandConnection
|
|
3002
|
+
"""
|
|
3003
|
+
Input objects or primitive values.
|
|
3004
|
+
"""
|
|
3005
|
+
inputs(first: Int, after: String, last: Int, before: String): TransactionInputConnection
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
type ProgrammableTransaction {
|
|
3009
|
+
"""
|
|
3010
|
+
The transaction commands, executed sequentially.
|
|
3011
|
+
"""
|
|
3012
|
+
commands(first: Int, after: String, last: Int, before: String): CommandConnection
|
|
3013
|
+
"""
|
|
3014
|
+
Input objects or primitive values.
|
|
3015
|
+
"""
|
|
3016
|
+
inputs(first: Int, after: String, last: Int, before: String): TransactionInputConnection
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
"""
|
|
3020
|
+
A protocol configuration that can hold an arbitrary value (or no value at all).
|
|
3021
|
+
"""
|
|
3022
|
+
type ProtocolConfig {
|
|
3023
|
+
"""
|
|
3024
|
+
Configuration name.
|
|
3025
|
+
"""
|
|
3026
|
+
key: String!
|
|
3027
|
+
"""
|
|
3028
|
+
Configuration value.
|
|
3029
|
+
"""
|
|
3030
|
+
value: String
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
"""
|
|
3034
|
+
Constants that control how the chain operates.
|
|
3035
|
+
|
|
3036
|
+
These can only change during protocol upgrades which happen on epoch boundaries. Configuration is split into feature flags (which are just booleans), and configs which can take any value (including no value at all), and will be represented by a string.
|
|
3037
|
+
"""
|
|
3038
|
+
type ProtocolConfigs {
|
|
3039
|
+
"""
|
|
3040
|
+
Query for the value of the configuration with name `key`.
|
|
3041
|
+
"""
|
|
3042
|
+
config(key: String!): ProtocolConfig
|
|
3043
|
+
"""
|
|
3044
|
+
List all available configurations and their values.
|
|
3045
|
+
"""
|
|
3046
|
+
configs: [ProtocolConfig!]!
|
|
3047
|
+
"""
|
|
3048
|
+
Query for the state of the feature flag with name `key`.
|
|
3049
|
+
"""
|
|
3050
|
+
featureFlag(key: String!): FeatureFlag
|
|
3051
|
+
"""
|
|
3052
|
+
List all available feature flags and their values.
|
|
3053
|
+
"""
|
|
3054
|
+
featureFlags: [FeatureFlag!]!
|
|
3055
|
+
protocolVersion: UInt53!
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
"""
|
|
3059
|
+
Publishes a Move Package.
|
|
3060
|
+
"""
|
|
3061
|
+
type PublishCommand {
|
|
3062
|
+
"""
|
|
3063
|
+
IDs of the transitive dependencies of the package to be published.
|
|
3064
|
+
"""
|
|
3065
|
+
dependencies: [SuiAddress!]
|
|
3066
|
+
"""
|
|
3067
|
+
Bytecode for the modules to be published, BCS serialized and Base64 encoded.
|
|
3068
|
+
"""
|
|
3069
|
+
modules: [Base64!]
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
"""
|
|
3073
|
+
BCS encoded primitive value (not an object or Move struct).
|
|
3074
|
+
"""
|
|
3075
|
+
type Pure {
|
|
3076
|
+
"""
|
|
3077
|
+
BCS serialized and Base64 encoded primitive value.
|
|
3078
|
+
"""
|
|
3079
|
+
bytes: Base64
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
type Query {
|
|
3083
|
+
"""
|
|
3084
|
+
Look-up an account by its SuiAddress.
|
|
3085
|
+
|
|
3086
|
+
If `rootVersion` is specified, nested dynamic field accesses will be fetched at or before this version. This can be used to fetch a child or ancestor object bounded by its root object's version, when its immediate parent is wrapped, or a value in a dynamic object field. For any wrapped or child (object-owned) object, its root object can be defined recursively as:
|
|
3087
|
+
|
|
3088
|
+
- The root object of the object it is wrapped in, if it is wrapped.
|
|
3089
|
+
- The root object of its owner, if it is owned by another object.
|
|
3090
|
+
- The object itself, if it is not object-owned or wrapped.
|
|
3091
|
+
|
|
3092
|
+
Specifying a `rootVersion` disables nested queries for paginating owned objects or dynamic fields (these queries are only supported at checkpoint boundaries).
|
|
3093
|
+
"""
|
|
3094
|
+
address(address: SuiAddress!, rootVersion: UInt53): Address!
|
|
3095
|
+
"""
|
|
3096
|
+
First four bytes of the network's genesis checkpoint digest (uniquely identifies the network), hex-encoded.
|
|
3097
|
+
"""
|
|
3098
|
+
chainIdentifier: String!
|
|
3099
|
+
"""
|
|
3100
|
+
Fetch a checkpoint by its sequence number, or the latest checkpoint if no sequence number is provided.
|
|
3101
|
+
|
|
3102
|
+
Returns `null` if the checkpoint does not exist in the store, either because it never existed or because it was pruned.
|
|
3103
|
+
"""
|
|
3104
|
+
checkpoint(sequenceNumber: UInt53): Checkpoint
|
|
3105
|
+
"""
|
|
3106
|
+
Paginate checkpoints in the network, optionally bounded to checkpoints in the given epoch.
|
|
3107
|
+
"""
|
|
3108
|
+
checkpoints(first: Int, after: String, last: Int, before: String, filter: CheckpointFilter): CheckpointConnection
|
|
3109
|
+
"""
|
|
3110
|
+
Fetch the CoinMetadata for a given coin type.
|
|
3111
|
+
|
|
3112
|
+
Returns `null` if no CoinMetadata object exists for the given coin type.
|
|
3113
|
+
"""
|
|
3114
|
+
coinMetadata(coinType: String!): CoinMetadata
|
|
3115
|
+
"""
|
|
3116
|
+
Fetch an epoch by its ID, or fetch the latest epoch if no ID is provided.
|
|
3117
|
+
|
|
3118
|
+
Returns `null` if the epoch does not exist yet, or was pruned.
|
|
3119
|
+
"""
|
|
3120
|
+
epoch(epochId: UInt53): Epoch
|
|
3121
|
+
"""
|
|
3122
|
+
Paginate epochs that are in the network.
|
|
3123
|
+
"""
|
|
3124
|
+
epochs(first: Int, after: String, last: Int, before: String): EpochConnection
|
|
3125
|
+
"""
|
|
3126
|
+
Paginate events that are emitted in the network, optionally filtered by event filters.
|
|
3127
|
+
"""
|
|
3128
|
+
events(first: Int, after: String, last: Int, before: String, filter: EventFilter): EventConnection
|
|
3129
|
+
"""
|
|
3130
|
+
Fetch checkpoints by their sequence numbers.
|
|
3131
|
+
|
|
3132
|
+
Returns a list of checkpoints that is guaranteed to be the same length as `keys`. If a checkpoint in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the checkpoint does not exist yet, or because it was pruned.
|
|
3133
|
+
"""
|
|
3134
|
+
multiGetCheckpoints(keys: [UInt53!]!): [Checkpoint]!
|
|
3135
|
+
"""
|
|
3136
|
+
Fetch epochs by their IDs.
|
|
3137
|
+
|
|
3138
|
+
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.
|
|
3139
|
+
"""
|
|
3140
|
+
multiGetEpochs(keys: [UInt53!]!): [Epoch]!
|
|
3141
|
+
"""
|
|
3142
|
+
Fetch objects by their keys.
|
|
3143
|
+
|
|
3144
|
+
Returns a list of objects that is guaranteed to be the same length as `keys`. If an object in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the object never existed, or because it was pruned.
|
|
3145
|
+
"""
|
|
3146
|
+
multiGetObjects(keys: [ObjectKey!]!): [Object]!
|
|
3147
|
+
"""
|
|
3148
|
+
Fetch packages by their keys.
|
|
3149
|
+
|
|
3150
|
+
Returns a list of packages that is guaranteed to be the same length as `keys`. If a package in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because that address never pointed to a package, or because the package was pruned.
|
|
3151
|
+
"""
|
|
3152
|
+
multiGetPackages(keys: [PackageKey!]!): [MovePackage]!
|
|
3153
|
+
"""
|
|
3154
|
+
Fetch transaction effects by their transactions' digests.
|
|
3155
|
+
|
|
3156
|
+
Returns a list of transaction effects that is guaranteed to be the same length as `keys`. If a digest in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the transaction effects never existed, or because it was pruned.
|
|
3157
|
+
"""
|
|
3158
|
+
multiGetTransactionEffects(keys: [String!]!): [TransactionEffects]!
|
|
3159
|
+
"""
|
|
3160
|
+
Fetch transactions by their digests.
|
|
3161
|
+
|
|
3162
|
+
Returns a list of transactions that is guaranteed to be the same length as `keys`. If a digest in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the transaction never existed, or because it was pruned.
|
|
3163
|
+
"""
|
|
3164
|
+
multiGetTransactions(keys: [String!]!): [Transaction]!
|
|
3165
|
+
"""
|
|
3166
|
+
Fetch types by their string representations.
|
|
3167
|
+
|
|
3168
|
+
Types are canonicalized: In the input they can be at any package address at or after the package that first defines them, and in the output they will be relocated to the package that first defines them.
|
|
3169
|
+
|
|
3170
|
+
Returns a list of types that is guaranteed to be the same length as `keys`. If a type in `keys` could not be found, its corresponding entry in the result will be `null`.
|
|
3171
|
+
"""
|
|
3172
|
+
multiGetTypes(keys: [String!]!): [MoveType]!
|
|
3173
|
+
"""
|
|
3174
|
+
Fetch an object by its address.
|
|
3175
|
+
|
|
3176
|
+
If `version` is specified, the object will be fetched at that exact version.
|
|
3177
|
+
|
|
3178
|
+
If `rootVersion` is specified, the object will be fetched at the latest version at or before this version. Nested dynamic field accesses will also be subject to this bound. This can be used to fetch a child or ancestor object bounded by its root object's version. For any wrapped or child (object-owned) object, its root object can be defined recursively as:
|
|
3179
|
+
|
|
3180
|
+
- The root object of the object it is wrapped in, if it is wrapped.
|
|
3181
|
+
- The root object of its owner, if it is owned by another object.
|
|
3182
|
+
- The object itself, if it is not object-owned or wrapped.
|
|
3183
|
+
|
|
3184
|
+
Specifying a `version` or a `rootVersion` disables nested queries for paginating owned objects or dynamic fields (these queries are only supported at checkpoint boundaries).
|
|
3185
|
+
|
|
3186
|
+
If `atCheckpoint` is specified, the object will be fetched at the latest version as of this checkpoint. This will fail if the provided checkpoint is after the RPC's latest checkpoint.
|
|
3187
|
+
|
|
3188
|
+
If none of the above are specified, the object is fetched at the latest checkpoint.
|
|
3189
|
+
|
|
3190
|
+
It is an error to specify more than one of `version`, `rootVersion`, or `atCheckpoint`.
|
|
3191
|
+
|
|
3192
|
+
Returns `null` if an object cannot be found that meets this criteria.
|
|
3193
|
+
"""
|
|
3194
|
+
object(address: SuiAddress!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): Object
|
|
3195
|
+
"""
|
|
3196
|
+
Paginate all versions of an object at `address`, optionally bounding the versions exclusively from below with `filter.afterVersion` or from above with `filter.beforeVersion`.
|
|
3197
|
+
"""
|
|
3198
|
+
objectVersions(first: Int, after: String, last: Int, before: String, address: SuiAddress!, filter: VersionFilter): ObjectConnection
|
|
3199
|
+
"""
|
|
3200
|
+
Paginate objects in the live object set, optionally filtered by owner and/or type. `filter` can be one of:
|
|
3201
|
+
|
|
3202
|
+
- A filter on type (all live objects whose type matches that filter).
|
|
3203
|
+
- Fetching all objects owned by an address or object, optionally filtered by type.
|
|
3204
|
+
- Fetching all shared or immutable objects, filtered by type.
|
|
3205
|
+
"""
|
|
3206
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter!): ObjectConnection
|
|
3207
|
+
"""
|
|
3208
|
+
Fetch a package by its address.
|
|
3209
|
+
|
|
3210
|
+
If `version` is specified, the package loaded is the one that shares its original ID with the package at `address`, but whose version is `version`.
|
|
3211
|
+
|
|
3212
|
+
If `atCheckpoint` is specified, the package loaded is the one with the largest version among all packages sharing an original ID with the package at `address` and was published at or before `atCheckpoint`.
|
|
3213
|
+
|
|
3214
|
+
If neither are specified, the package is fetched at the latest checkpoint.
|
|
3215
|
+
|
|
3216
|
+
It is an error to specify both `version` and `atCheckpoint`, and `null` will be returned if the package cannot be found as of the latest checkpoint, or the address points to an object that is not a package.
|
|
3217
|
+
|
|
3218
|
+
Note that this interpretation of `version` and "latest" differs from the one used by `Query.object`, because non-system package upgrades generate objects with different IDs. To fetch a package using the versioning semantics of objects, use `Object.asMovePackage` nested under `Query.object`.
|
|
3219
|
+
"""
|
|
3220
|
+
package(address: SuiAddress!, version: UInt53, atCheckpoint: UInt53): MovePackage
|
|
3221
|
+
"""
|
|
3222
|
+
Paginate all versions of a package at `address`, optionally bounding the versions exclusively from below with `filter.afterVersion` or from above with `filter.beforeVersion`.
|
|
3223
|
+
|
|
3224
|
+
Different versions of a package will have different object IDs, unless they are system packages, but will share the same original ID.
|
|
3225
|
+
"""
|
|
3226
|
+
packageVersions(first: Int, after: String, last: Int, before: String, address: SuiAddress!, filter: VersionFilter): MovePackageConnection
|
|
3227
|
+
"""
|
|
3228
|
+
Paginate all packages published on-chain, optionally bounded to packages published strictly after `filter.afterCheckpoint` and/or strictly before `filter.beforeCheckpoint`.
|
|
3229
|
+
"""
|
|
3230
|
+
packages(first: Int, after: String, last: Int, before: String, filter: PackageCheckpointFilter): MovePackageConnection
|
|
3231
|
+
"""
|
|
3232
|
+
Fetch the protocol config by protocol version, or the latest protocol config used on chain if no version is provided.
|
|
3233
|
+
"""
|
|
3234
|
+
protocolConfigs(version: UInt53): ProtocolConfigs
|
|
3235
|
+
"""
|
|
3236
|
+
Configuration for this RPC service.
|
|
3237
|
+
"""
|
|
3238
|
+
serviceConfig: ServiceConfig!
|
|
3239
|
+
"""
|
|
3240
|
+
Simulate a transaction to preview its effects without executing it on chain.
|
|
3241
|
+
|
|
3242
|
+
Accepts a JSON transaction matching the [Sui gRPC API schema](https://docs.sui.io/references/fullnode-protocol#sui-rpc-v2-Transaction).
|
|
3243
|
+
The JSON format allows for partial transaction specification where certain fields can be automatically resolved by the server.
|
|
3244
|
+
|
|
3245
|
+
Alternatively, for already serialized transactions, you can pass BCS-encoded data:
|
|
3246
|
+
`{"bcs": {"value": "<base64>"}}`
|
|
3247
|
+
|
|
3248
|
+
Unlike `executeTransaction`, this does not require signatures since the transaction is not committed to the blockchain. This allows for previewing transaction effects, estimating gas costs, and testing transaction logic without spending gas or requiring valid signatures.
|
|
3249
|
+
"""
|
|
3250
|
+
simulateTransaction(transaction: JSON!): SimulationResult!
|
|
3251
|
+
"""
|
|
3252
|
+
Look-up an account by its HaneulNS name, assuming it has a valid, unexpired name registration.
|
|
3253
|
+
"""
|
|
3254
|
+
suinsName(address: String!, rootVersion: UInt53): Address
|
|
3255
|
+
"""
|
|
3256
|
+
Fetch a transaction by its digest.
|
|
3257
|
+
|
|
3258
|
+
Returns `null` if the transaction does not exist in the store, either because it never existed or because it was pruned.
|
|
3259
|
+
"""
|
|
3260
|
+
transaction(digest: String!): Transaction
|
|
3261
|
+
"""
|
|
3262
|
+
Fetch transaction effects by its transaction's digest.
|
|
3263
|
+
|
|
3264
|
+
Returns `null` if the transaction effects do not exist in the store, either because that transaction was not executed, or it was pruned.
|
|
3265
|
+
"""
|
|
3266
|
+
transactionEffects(digest: String!): TransactionEffects
|
|
3267
|
+
"""
|
|
3268
|
+
The transactions that exist in the network, optionally filtered by transaction filters.
|
|
3269
|
+
"""
|
|
3270
|
+
transactions(first: Int, after: String, last: Int, before: String, filter: TransactionFilter): TransactionConnection
|
|
3271
|
+
"""
|
|
3272
|
+
Fetch a structured representation of a concrete type, including its layout information.
|
|
3273
|
+
|
|
3274
|
+
Types are canonicalized: In the input they can be at any package address at or after the package that first defines them, and in the output they will be relocated to the package that first defines them.
|
|
3275
|
+
|
|
3276
|
+
Fails if the type is malformed, returns `null` if a type mentioned does not exist.
|
|
3277
|
+
"""
|
|
3278
|
+
type(type: String!): MoveType
|
|
3279
|
+
"""
|
|
3280
|
+
Verify a zkLogin signature os from the given `author`.
|
|
3281
|
+
|
|
3282
|
+
Returns a `ZkLoginVerifyResult` where `success` is `true` and `error` is empty if the signature is valid. If the signature is invalid, `success` is `false` and `error` contains the relevant error message.
|
|
3283
|
+
|
|
3284
|
+
- `bytes` are either the bytes of a serialized personal message, or `TransactionData`, Base64-encoded.
|
|
3285
|
+
- `signature` is a serialized zkLogin signature, also Base64-encoded.
|
|
3286
|
+
- `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
|
|
3287
|
+
- `author` is the signer's address.
|
|
3288
|
+
"""
|
|
3289
|
+
verifyZkLoginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult!
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
"""
|
|
3293
|
+
System transaction for creating the on-chain randomness state.
|
|
3294
|
+
"""
|
|
3295
|
+
type RandomnessStateCreateTransaction {
|
|
3296
|
+
"""
|
|
3297
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
3298
|
+
"""
|
|
3299
|
+
_: Boolean
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
"""
|
|
3303
|
+
System transaction to update the source of on-chain randomness.
|
|
3304
|
+
"""
|
|
3305
|
+
type RandomnessStateUpdateTransaction {
|
|
3306
|
+
"""
|
|
3307
|
+
Epoch of the randomness state update transaction.
|
|
3308
|
+
"""
|
|
3309
|
+
epoch: Int
|
|
3310
|
+
"""
|
|
3311
|
+
Updated random bytes, Base64 encoded.
|
|
3312
|
+
"""
|
|
3313
|
+
randomBytes: Base64
|
|
3314
|
+
"""
|
|
3315
|
+
The initial version of the randomness object that it was shared at.
|
|
3316
|
+
"""
|
|
3317
|
+
randomnessObjInitialSharedVersion: Int
|
|
3318
|
+
"""
|
|
3319
|
+
Randomness round of the update.
|
|
3320
|
+
"""
|
|
3321
|
+
randomnessRound: Int
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
"""
|
|
3325
|
+
A transaction that wanted to read a consensus-managed object but couldn't because it became not-consensus-managed before the transaction executed (for example, it was deleted, turned into an owned object, or wrapped).
|
|
3326
|
+
"""
|
|
3327
|
+
type ReadConsensusStreamEnded {
|
|
3328
|
+
"""
|
|
3329
|
+
The ID of the consensus-managed object.
|
|
3330
|
+
"""
|
|
3331
|
+
address: SuiAddress
|
|
3332
|
+
"""
|
|
3333
|
+
The sequence number associated with the consensus stream ending.
|
|
3334
|
+
"""
|
|
3335
|
+
sequenceNumber: UInt53
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
"""
|
|
3339
|
+
A Move object that can be received in this transaction.
|
|
3340
|
+
"""
|
|
3341
|
+
type Receiving {
|
|
3342
|
+
object: Object
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
"""
|
|
3346
|
+
Whether the currency is regulated or not.
|
|
3347
|
+
"""
|
|
3348
|
+
enum RegulatedState {
|
|
3349
|
+
"""
|
|
3350
|
+
A `DenyCap` or a `RegulatedCoinMetadata` exists for this currency.
|
|
3351
|
+
"""
|
|
3352
|
+
REGULATED
|
|
3353
|
+
"""
|
|
3354
|
+
The currency was created without a deny list.
|
|
3355
|
+
"""
|
|
3356
|
+
UNREGULATED
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
type SafeMode {
|
|
3360
|
+
"""
|
|
3361
|
+
Whether safe mode was used for the last epoch change.
|
|
3362
|
+
The system will retry a full epoch change on every epoch boundary and automatically reset this flag if so.
|
|
3363
|
+
"""
|
|
3364
|
+
enabled: Boolean
|
|
3365
|
+
"""
|
|
3366
|
+
Accumulated fees for computation and cost that have not been added to the various reward pools, because the full epoch change did not happen.
|
|
3367
|
+
"""
|
|
3368
|
+
gasSummary: GasCostSummary
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
type ServiceConfig {
|
|
3372
|
+
"""
|
|
3373
|
+
Number of elements a paginated connection will return if a page size is not supplied.
|
|
3374
|
+
|
|
3375
|
+
Accepts `type` and `field` arguments which identify the connection that is being queried. If the field in question is paginated, its default page size is returned. If it does not exist or is not paginated, `null` is returned.
|
|
3376
|
+
"""
|
|
3377
|
+
defaultPageSize(type: String!, field: String!): Int
|
|
3378
|
+
"""
|
|
3379
|
+
Maximum output size of a disassembled MoveModule, in bytes.
|
|
3380
|
+
"""
|
|
3381
|
+
maxDisassembledModuleSize: Int
|
|
3382
|
+
"""
|
|
3383
|
+
Maximum depth of nested field access supported in display outputs.
|
|
3384
|
+
"""
|
|
3385
|
+
maxDisplayFieldDepth: Int
|
|
3386
|
+
"""
|
|
3387
|
+
Maximum output size of a display output.
|
|
3388
|
+
"""
|
|
3389
|
+
maxDisplayOutputSize: Int
|
|
3390
|
+
"""
|
|
3391
|
+
Maximum budget in bytes to spend when outputting a structured `MoveValue`.
|
|
3392
|
+
"""
|
|
3393
|
+
maxMoveValueBound: Int
|
|
3394
|
+
"""
|
|
3395
|
+
Maximum nesting allowed in datatype fields when calculating the layout of a single type.
|
|
3396
|
+
"""
|
|
3397
|
+
maxMoveValueDepth: Int
|
|
3398
|
+
"""
|
|
3399
|
+
Maximum number of elements that can be requested from a multi-get query. A request to fetch more keys will result in an error.
|
|
3400
|
+
"""
|
|
3401
|
+
maxMultiGetSize: Int
|
|
3402
|
+
"""
|
|
3403
|
+
Maximum number of estimated output nodes in a GraphQL response.
|
|
3404
|
+
|
|
3405
|
+
The estimate is an upperbound of how many nodes there would be in the output assuming every requested field is present, paginated requests return full page sizes, and multi-get queries find all requested keys. Below is a worked example query:
|
|
3406
|
+
|
|
3407
|
+
```graphql
|
|
3408
|
+
| 0: query { # 514 = total
|
|
3409
|
+
| 1: checkpoint { # 1
|
|
3410
|
+
| 2: sequenceNumber # 1
|
|
3411
|
+
| 3: }
|
|
3412
|
+
| 4:
|
|
3413
|
+
| 5: multiGetObjects([$a, $b, $c]) { # 1 (* 3)
|
|
3414
|
+
| 6: address # 3
|
|
3415
|
+
| 7: digest # 3
|
|
3416
|
+
| 8: }
|
|
3417
|
+
| 9:
|
|
3418
|
+
| 10: # default page size is 20
|
|
3419
|
+
| 11: transactions { # 1 (* 20)
|
|
3420
|
+
| 12: pageInfo { # 1
|
|
3421
|
+
| 13: hasNextPage # 1
|
|
3422
|
+
| 14: endCursor # 1
|
|
3423
|
+
| 15: }
|
|
3424
|
+
| 16:
|
|
3425
|
+
| 17: nodes # 1
|
|
3426
|
+
| 18: { # 20
|
|
3427
|
+
| 19: digest # 20
|
|
3428
|
+
| 20: effects { # 20
|
|
3429
|
+
| 21: objectChanges(first: 10) { # 20 (* 10)
|
|
3430
|
+
| 22: nodes # 20
|
|
3431
|
+
| 23: { # 200
|
|
3432
|
+
| 24: address # 200
|
|
3433
|
+
| 25: }
|
|
3434
|
+
| 26: }
|
|
3435
|
+
| 27: }
|
|
3436
|
+
| 28: }
|
|
3437
|
+
| 29: }
|
|
3438
|
+
| 30: }
|
|
3439
|
+
```
|
|
3440
|
+
"""
|
|
3441
|
+
maxOutputNodes: Int
|
|
3442
|
+
"""
|
|
3443
|
+
Maximum number of elements that can be requested from a paginated connection. A request to fetch more elements will result in an error.
|
|
3444
|
+
|
|
3445
|
+
Accepts `type` and `field` arguments which identify the connection that is being queried. If the field in question is paginated, its max page size is returned. If it does not exist or is not paginated, `null` is returned.
|
|
3446
|
+
"""
|
|
3447
|
+
maxPageSize(type: String!, field: String!): Int
|
|
3448
|
+
"""
|
|
3449
|
+
Maximum depth of a GraphQL query that can be accepted by this service.
|
|
3450
|
+
"""
|
|
3451
|
+
maxQueryDepth: Int
|
|
3452
|
+
"""
|
|
3453
|
+
The maximum number of nodes (field names) the service will accept in a single query.
|
|
3454
|
+
"""
|
|
3455
|
+
maxQueryNodes: Int
|
|
3456
|
+
"""
|
|
3457
|
+
Maximum size in bytes of a single GraphQL request, excluding the elements covered by `maxTransactionPayloadSize`.
|
|
3458
|
+
"""
|
|
3459
|
+
maxQueryPayloadSize: Int
|
|
3460
|
+
"""
|
|
3461
|
+
Maximum size in bytes allowed for the `txBytes` and `signatures` parameters of an `executeTransaction` or `simulateTransaction` field, or the `bytes` and `signature` parameters of a `verifyZkLoginSignature` field.
|
|
3462
|
+
|
|
3463
|
+
This is cumulative across all matching fields in a single GraphQL request.
|
|
3464
|
+
"""
|
|
3465
|
+
maxTransactionPayloadSize: Int
|
|
3466
|
+
"""
|
|
3467
|
+
Maximum amount of nesting among type arguments (type arguments nest when a type argument is itself generic and has arguments).
|
|
3468
|
+
"""
|
|
3469
|
+
maxTypeArgumentDepth: Int
|
|
3470
|
+
"""
|
|
3471
|
+
Maximum number of type parameters a type can have.
|
|
3472
|
+
"""
|
|
3473
|
+
maxTypeArgumentWidth: Int
|
|
3474
|
+
"""
|
|
3475
|
+
Maximum number of datatypes that need to be processed when calculating the layout of a single type.
|
|
3476
|
+
"""
|
|
3477
|
+
maxTypeNodes: Int
|
|
3478
|
+
"""
|
|
3479
|
+
Maximum time in milliseconds spent waiting for a response from fullnode after issuing a transaction to execute. Note that the transaction may still succeed even in the case of a timeout. Transactions are idempotent, so a transaction that times out should be re-submitted until the network returns a definite response (success or failure, not timeout).
|
|
3480
|
+
"""
|
|
3481
|
+
mutationTimeoutMs: Int
|
|
3482
|
+
"""
|
|
3483
|
+
Maximum time in milliseconds that will be spent to serve one query request.
|
|
3484
|
+
"""
|
|
3485
|
+
queryTimeoutMs: Int
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
"""
|
|
3489
|
+
Object is shared, can be used by any address, and is mutable.
|
|
3490
|
+
"""
|
|
3491
|
+
type Shared {
|
|
3492
|
+
"""
|
|
3493
|
+
The version at which the object became shared.
|
|
3494
|
+
"""
|
|
3495
|
+
initialSharedVersion: UInt53
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
"""
|
|
3499
|
+
A Move object that's shared.
|
|
3500
|
+
"""
|
|
3501
|
+
type SharedInput {
|
|
3502
|
+
"""
|
|
3503
|
+
The address of the shared object.
|
|
3504
|
+
"""
|
|
3505
|
+
address: SuiAddress
|
|
3506
|
+
"""
|
|
3507
|
+
The version that this object was shared at.
|
|
3508
|
+
"""
|
|
3509
|
+
initialSharedVersion: UInt53
|
|
3510
|
+
"""
|
|
3511
|
+
Controls whether the transaction block can reference the shared object as a mutable reference or by value.
|
|
3512
|
+
|
|
3513
|
+
This has implications for scheduling: Transactions that just read shared objects at a certain version (mutable = false) can be executed concurrently, while transactions that write shared objects (mutable = true) must be executed serially with respect to each other.
|
|
3514
|
+
"""
|
|
3515
|
+
mutable: Boolean
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3518
|
+
"""
|
|
3519
|
+
The result of simulating a transaction, including the predicted effects, events, and any errors.
|
|
3520
|
+
"""
|
|
3521
|
+
type SimulationResult {
|
|
3522
|
+
"""
|
|
3523
|
+
The predicted effects of the transaction if it were executed.
|
|
3524
|
+
|
|
3525
|
+
`None` if the simulation failed due to an error.
|
|
3526
|
+
"""
|
|
3527
|
+
effects: TransactionEffects
|
|
3528
|
+
"""
|
|
3529
|
+
Error message if the simulation failed.
|
|
3530
|
+
|
|
3531
|
+
`None` if the simulation was successful.
|
|
3532
|
+
"""
|
|
3533
|
+
error: String
|
|
3534
|
+
"""
|
|
3535
|
+
The events that would be emitted if the transaction were executed.
|
|
3536
|
+
|
|
3537
|
+
`None` if the simulation failed or no events would be emitted.
|
|
3538
|
+
"""
|
|
3539
|
+
events: [Event!]
|
|
3540
|
+
"""
|
|
3541
|
+
The intermediate outputs for each command of the transaction simulation, including contents of mutated references and return values.
|
|
3542
|
+
"""
|
|
3543
|
+
outputs: [CommandResult!]
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
"""
|
|
3547
|
+
Splits off coins with denominations in `amounts` from `coin`, returning multiple results (as many as there are amounts.)
|
|
3548
|
+
"""
|
|
3549
|
+
type SplitCoinsCommand {
|
|
3550
|
+
"""
|
|
3551
|
+
The denominations to split off from the coin.
|
|
3552
|
+
"""
|
|
3553
|
+
amounts: [TransactionArgument!]!
|
|
3554
|
+
"""
|
|
3555
|
+
The coin to split.
|
|
3556
|
+
"""
|
|
3557
|
+
coin: TransactionArgument
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
"""
|
|
3561
|
+
Parameters that control the distribution of the stake subsidy.
|
|
3562
|
+
"""
|
|
3563
|
+
type StakeSubsidy {
|
|
3564
|
+
"""
|
|
3565
|
+
SUI set aside for stake subsidies -- reduces over time as stake subsidies are paid out over time.
|
|
3566
|
+
"""
|
|
3567
|
+
balance: BigInt
|
|
3568
|
+
"""
|
|
3569
|
+
Amount of stake subsidy deducted from the balance per distribution -- decays over time.
|
|
3570
|
+
"""
|
|
3571
|
+
currentDistributionAmount: BigInt
|
|
3572
|
+
"""
|
|
3573
|
+
Percentage of the current distribution amount to deduct at the end of the current subsidy period, expressed in basis points.
|
|
3574
|
+
"""
|
|
3575
|
+
decreaseRate: Int
|
|
3576
|
+
"""
|
|
3577
|
+
Number of times stake subsidies have been distributed.
|
|
3578
|
+
Subsidies are distributed with other staking rewards, at the end of the epoch.
|
|
3579
|
+
"""
|
|
3580
|
+
distributionCounter: Int
|
|
3581
|
+
"""
|
|
3582
|
+
Maximum number of stake subsidy distributions that occur with the same distribution amount (before the amount is reduced).
|
|
3583
|
+
"""
|
|
3584
|
+
periodLength: Int
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
"""
|
|
3588
|
+
SUI set aside to account for objects stored on-chain.
|
|
3589
|
+
"""
|
|
3590
|
+
type StorageFund {
|
|
3591
|
+
"""
|
|
3592
|
+
The portion of the storage fund that will never be refunded through storage rebates.
|
|
3593
|
+
The system maintains an invariant that the sum of all storage fees into the storage fund is equal to the sum of all storage rebates out, the total storage rebates remaining, and the non-refundable balance.
|
|
3594
|
+
"""
|
|
3595
|
+
nonRefundableBalance: BigInt
|
|
3596
|
+
"""
|
|
3597
|
+
Sum of storage rebates of live objects on chain.
|
|
3598
|
+
"""
|
|
3599
|
+
totalObjectStorageRebates: BigInt
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
"""
|
|
3603
|
+
System transaction for storing execution time observations.
|
|
3604
|
+
"""
|
|
3605
|
+
type StoreExecutionTimeObservationsTransaction {
|
|
3606
|
+
"""
|
|
3607
|
+
A workaround to define an empty variant of a GraphQL union.
|
|
3608
|
+
"""
|
|
3609
|
+
_: Boolean
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
"""
|
|
3614
|
+
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).
|
|
3615
|
+
"""
|
|
3616
|
+
scalar SuiAddress
|
|
3617
|
+
|
|
3618
|
+
"""
|
|
3619
|
+
Future behavior of a currency's supply.
|
|
3620
|
+
"""
|
|
3621
|
+
enum SupplyState {
|
|
3622
|
+
"""
|
|
3623
|
+
The supply can only decrease.
|
|
3624
|
+
"""
|
|
3625
|
+
BURN_ONLY
|
|
3626
|
+
"""
|
|
3627
|
+
The supply can neither increase nor decrease.
|
|
3628
|
+
"""
|
|
3629
|
+
FIXED
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
"""
|
|
3633
|
+
Details of the system that are decided during genesis.
|
|
3634
|
+
"""
|
|
3635
|
+
type SystemParameters {
|
|
3636
|
+
"""
|
|
3637
|
+
Target duration of an epoch, in milliseconds.
|
|
3638
|
+
"""
|
|
3639
|
+
durationMs: BigInt
|
|
3640
|
+
"""
|
|
3641
|
+
The maximum number of active validators that the system supports.
|
|
3642
|
+
"""
|
|
3643
|
+
maxValidatorCount: Int
|
|
3644
|
+
"""
|
|
3645
|
+
The minimum number of active validators that the system supports.
|
|
3646
|
+
"""
|
|
3647
|
+
minValidatorCount: Int
|
|
3648
|
+
"""
|
|
3649
|
+
Minimum stake needed to become a new validator.
|
|
3650
|
+
"""
|
|
3651
|
+
minValidatorJoiningStake: BigInt
|
|
3652
|
+
"""
|
|
3653
|
+
The epoch at which stake subsidies start being paid out.
|
|
3654
|
+
"""
|
|
3655
|
+
stakeSubsidyStartEpoch: UInt53
|
|
3656
|
+
"""
|
|
3657
|
+
The number of epochs that a validator has to recover from having less than `validatorLowStakeThreshold` stake.
|
|
3658
|
+
"""
|
|
3659
|
+
validatorLowStakeGracePeriod: BigInt
|
|
3660
|
+
"""
|
|
3661
|
+
Validators with stake below this threshold will enter the grace period (see `validatorLowStakeGracePeriod`), after which they are removed from the active validator set.
|
|
3662
|
+
"""
|
|
3663
|
+
validatorLowStakeThreshold: BigInt
|
|
3664
|
+
"""
|
|
3665
|
+
Validators with stake below this threshold will be removed from the active validator set at the next epoch boundary, without a grace period.
|
|
3666
|
+
"""
|
|
3667
|
+
validatorVeryLowStakeThreshold: BigInt
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
"""
|
|
3671
|
+
Description of a transaction, the unit of activity on Sui.
|
|
3672
|
+
"""
|
|
3673
|
+
type Transaction {
|
|
3674
|
+
"""
|
|
3675
|
+
A 32-byte hash that uniquely identifies the transaction contents, encoded in Base58.
|
|
3676
|
+
"""
|
|
3677
|
+
digest: String!
|
|
3678
|
+
"""
|
|
3679
|
+
The results to the chain of executing this transaction.
|
|
3680
|
+
"""
|
|
3681
|
+
effects: TransactionEffects
|
|
3682
|
+
"""
|
|
3683
|
+
This field is set by senders of a transaction block. It is an epoch reference that sets a deadline after which validators will no longer consider the transaction valid. By default, there is no deadline for when a transaction must execute.
|
|
3684
|
+
"""
|
|
3685
|
+
expiration: Epoch
|
|
3686
|
+
"""
|
|
3687
|
+
The gas input field provides information on what objects were used as gas as well as the owner of the gas object(s) and information on the gas price and budget.
|
|
3688
|
+
"""
|
|
3689
|
+
gasInput: GasInput
|
|
3690
|
+
"""
|
|
3691
|
+
The type of this transaction as well as the commands and/or parameters comprising the transaction of this kind.
|
|
3692
|
+
"""
|
|
3693
|
+
kind: TransactionKind
|
|
3694
|
+
"""
|
|
3695
|
+
The address corresponding to the public key that signed this transaction. System transactions do not have senders.
|
|
3696
|
+
"""
|
|
3697
|
+
sender: Address
|
|
3698
|
+
"""
|
|
3699
|
+
User signatures for this transaction.
|
|
3700
|
+
"""
|
|
3701
|
+
signatures: [UserSignature!]!
|
|
3702
|
+
"""
|
|
3703
|
+
The Base64-encoded BCS serialization of this transaction, as a `TransactionData`.
|
|
3704
|
+
"""
|
|
3705
|
+
transactionBcs: Base64
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
"""
|
|
3709
|
+
An argument to a programmable transaction command.
|
|
3710
|
+
"""
|
|
3711
|
+
union TransactionArgument = GasCoin | Input | TxResult
|
|
3712
|
+
|
|
3713
|
+
type TransactionConnection {
|
|
3714
|
+
"""
|
|
3715
|
+
A list of edges.
|
|
3716
|
+
"""
|
|
3717
|
+
edges: [TransactionEdge!]!
|
|
3718
|
+
"""
|
|
3719
|
+
A list of nodes.
|
|
3720
|
+
"""
|
|
3721
|
+
nodes: [Transaction!]!
|
|
3722
|
+
"""
|
|
3723
|
+
Information to aid in pagination.
|
|
3724
|
+
"""
|
|
3725
|
+
pageInfo: PageInfo!
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
"""
|
|
3729
|
+
An edge in a connection.
|
|
3730
|
+
"""
|
|
3731
|
+
type TransactionEdge {
|
|
3732
|
+
"""
|
|
3733
|
+
A cursor for use in pagination
|
|
3734
|
+
"""
|
|
3735
|
+
cursor: String!
|
|
3736
|
+
"""
|
|
3737
|
+
The item at the end of the edge
|
|
3738
|
+
"""
|
|
3739
|
+
node: Transaction!
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
"""
|
|
3743
|
+
The results of executing a transaction.
|
|
3744
|
+
"""
|
|
3745
|
+
type TransactionEffects {
|
|
3746
|
+
"""
|
|
3747
|
+
The effect this transaction had on the balances (sum of coin values per coin type) of addresses and objects.
|
|
3748
|
+
"""
|
|
3749
|
+
balanceChanges(first: Int, after: String, last: Int, before: String): BalanceChangeConnection
|
|
3750
|
+
"""
|
|
3751
|
+
The checkpoint this transaction was finalized in.
|
|
3752
|
+
"""
|
|
3753
|
+
checkpoint: Checkpoint
|
|
3754
|
+
"""
|
|
3755
|
+
Transactions whose outputs this transaction depends upon.
|
|
3756
|
+
"""
|
|
3757
|
+
dependencies(first: Int, after: String, last: Int, before: String): TransactionConnection
|
|
3758
|
+
"""
|
|
3759
|
+
A 32-byte hash that uniquely identifies the transaction contents, encoded in Base58.
|
|
3760
|
+
|
|
3761
|
+
Note that this is different from the execution digest, which is the unique hash of the transaction effects.
|
|
3762
|
+
"""
|
|
3763
|
+
digest: String!
|
|
3764
|
+
"""
|
|
3765
|
+
The Base64-encoded BCS serialization of these effects, as `TransactionEffects`.
|
|
3766
|
+
"""
|
|
3767
|
+
effectsBcs: Base64
|
|
3768
|
+
"""
|
|
3769
|
+
A 32-byte hash that uniquely identifies the effects contents, encoded in Base58.
|
|
3770
|
+
"""
|
|
3771
|
+
effectsDigest: String
|
|
3772
|
+
"""
|
|
3773
|
+
The epoch this transaction was finalized in.
|
|
3774
|
+
"""
|
|
3775
|
+
epoch: Epoch
|
|
3776
|
+
"""
|
|
3777
|
+
Events emitted by this transaction.
|
|
3778
|
+
"""
|
|
3779
|
+
events(first: Int, after: String, last: Int, before: String): EventConnection
|
|
3780
|
+
"""
|
|
3781
|
+
Rich execution error information for failed transactions.
|
|
3782
|
+
"""
|
|
3783
|
+
executionError: ExecutionError
|
|
3784
|
+
"""
|
|
3785
|
+
Effects related to the gas object used for the transaction (costs incurred and the identity of the smashed gas object returned).
|
|
3786
|
+
"""
|
|
3787
|
+
gasEffects: GasEffects
|
|
3788
|
+
"""
|
|
3789
|
+
The latest version of all objects (apart from packages) that have been created or modified by this transaction, immediately following this transaction.
|
|
3790
|
+
"""
|
|
3791
|
+
lamportVersion: UInt53
|
|
3792
|
+
"""
|
|
3793
|
+
The before and after state of objects that were modified by this transaction.
|
|
3794
|
+
"""
|
|
3795
|
+
objectChanges(first: Int, after: String, last: Int, before: String): ObjectChangeConnection
|
|
3796
|
+
"""
|
|
3797
|
+
Whether the transaction executed successfully or not.
|
|
3798
|
+
"""
|
|
3799
|
+
status: ExecutionStatus
|
|
3800
|
+
"""
|
|
3801
|
+
Timestamp corresponding to the checkpoint this transaction was finalized in.
|
|
3802
|
+
"""
|
|
3803
|
+
timestamp: DateTime
|
|
3804
|
+
"""
|
|
3805
|
+
The transaction that ran to produce these effects.
|
|
3806
|
+
"""
|
|
3807
|
+
transaction: Transaction
|
|
3808
|
+
"""
|
|
3809
|
+
The unchanged consensus-managed objects that were referenced by this transaction.
|
|
3810
|
+
"""
|
|
3811
|
+
unchangedConsensusObjects(first: Int, after: String, last: Int, before: String): UnchangedConsensusObjectConnection
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
input TransactionFilter {
|
|
3815
|
+
"""
|
|
3816
|
+
Limit to transactions that interacted with the given address.
|
|
3817
|
+
The address could be a sender, sponsor, or recipient of the transaction.
|
|
3818
|
+
"""
|
|
3819
|
+
affectedAddress: SuiAddress
|
|
3820
|
+
"""
|
|
3821
|
+
Limit to transactions that interacted with the given object.
|
|
3822
|
+
The object could have been created, read, modified, deleted, wrapped, or unwrapped by the transaction.
|
|
3823
|
+
Objects that were passed as a `Receiving` input are not considered to have been affected by a transaction unless they were actually received.
|
|
3824
|
+
"""
|
|
3825
|
+
affectedObject: SuiAddress
|
|
3826
|
+
"""
|
|
3827
|
+
Filter to transactions that occurred strictly after the given checkpoint.
|
|
3828
|
+
"""
|
|
3829
|
+
afterCheckpoint: UInt53
|
|
3830
|
+
"""
|
|
3831
|
+
Filter to transactions in the given checkpoint.
|
|
3832
|
+
"""
|
|
3833
|
+
atCheckpoint: UInt53
|
|
3834
|
+
"""
|
|
3835
|
+
Filter to transaction that occurred strictly before the given checkpoint.
|
|
3836
|
+
"""
|
|
3837
|
+
beforeCheckpoint: UInt53
|
|
3838
|
+
"""
|
|
3839
|
+
Filter transactions by move function called. Calls can be filtered by the `package`, `package::module`, or the `package::module::name` of their function.
|
|
3840
|
+
"""
|
|
3841
|
+
function: String
|
|
3842
|
+
"""
|
|
3843
|
+
An input filter selecting for either system or programmable transactions.
|
|
3844
|
+
"""
|
|
3845
|
+
kind: TransactionKindInput
|
|
3846
|
+
"""
|
|
3847
|
+
Limit to transactions that were sent by the given address.
|
|
3848
|
+
"""
|
|
3849
|
+
sentAddress: SuiAddress
|
|
3850
|
+
}
|
|
3851
|
+
|
|
3852
|
+
"""
|
|
3853
|
+
Input argument to a Programmable Transaction Block (PTB) command.
|
|
3854
|
+
"""
|
|
3855
|
+
union TransactionInput = Pure | OwnedOrImmutable | SharedInput | Receiving
|
|
3856
|
+
|
|
3857
|
+
type TransactionInputConnection {
|
|
3858
|
+
"""
|
|
3859
|
+
A list of edges.
|
|
3860
|
+
"""
|
|
3861
|
+
edges: [TransactionInputEdge!]!
|
|
3862
|
+
"""
|
|
3863
|
+
A list of nodes.
|
|
3864
|
+
"""
|
|
3865
|
+
nodes: [TransactionInput!]!
|
|
3866
|
+
"""
|
|
3867
|
+
Information to aid in pagination.
|
|
3868
|
+
"""
|
|
3869
|
+
pageInfo: PageInfo!
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
"""
|
|
3873
|
+
An edge in a connection.
|
|
3874
|
+
"""
|
|
3875
|
+
type TransactionInputEdge {
|
|
3876
|
+
"""
|
|
3877
|
+
A cursor for use in pagination
|
|
3878
|
+
"""
|
|
3879
|
+
cursor: String!
|
|
3880
|
+
"""
|
|
3881
|
+
The item at the end of the edge
|
|
3882
|
+
"""
|
|
3883
|
+
node: TransactionInput!
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
"""
|
|
3887
|
+
Different types of transactions that can be executed on the Sui network.
|
|
3888
|
+
"""
|
|
3889
|
+
union TransactionKind = GenesisTransaction | ConsensusCommitPrologueTransaction | ChangeEpochTransaction | RandomnessStateUpdateTransaction | AuthenticatorStateUpdateTransaction | EndOfEpochTransaction | ProgrammableTransaction | ProgrammableSystemTransaction
|
|
3890
|
+
|
|
3891
|
+
"""
|
|
3892
|
+
An input filter selecting for either system or programmable transactions.
|
|
3893
|
+
"""
|
|
3894
|
+
enum TransactionKindInput {
|
|
3895
|
+
"""
|
|
3896
|
+
A system transaction can be one of several types of transactions.
|
|
3897
|
+
See [unions/transaction-block-kind] for more details.
|
|
3898
|
+
"""
|
|
3899
|
+
SYSTEM_TX
|
|
3900
|
+
"""
|
|
3901
|
+
A user submitted transaction block.
|
|
3902
|
+
"""
|
|
3903
|
+
PROGRAMMABLE_TX
|
|
3904
|
+
}
|
|
3905
|
+
|
|
3906
|
+
"""
|
|
3907
|
+
Transfers `inputs` to `address`. All inputs must have the `store` ability (allows public transfer) and must not be previously immutable or shared.
|
|
3908
|
+
"""
|
|
3909
|
+
type TransferObjectsCommand {
|
|
3910
|
+
"""
|
|
3911
|
+
The address to transfer to.
|
|
3912
|
+
"""
|
|
3913
|
+
address: TransactionArgument
|
|
3914
|
+
"""
|
|
3915
|
+
The objects to transfer.
|
|
3916
|
+
"""
|
|
3917
|
+
inputs: [TransactionArgument!]!
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
"""
|
|
3921
|
+
The result of another command.
|
|
3922
|
+
"""
|
|
3923
|
+
type TxResult {
|
|
3924
|
+
"""
|
|
3925
|
+
The index of the command that produced this result.
|
|
3926
|
+
"""
|
|
3927
|
+
cmd: Int
|
|
3928
|
+
"""
|
|
3929
|
+
For nested results, the index within the result.
|
|
3930
|
+
"""
|
|
3931
|
+
ix: Int
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
"""
|
|
3935
|
+
Information about which previous versions of a package introduced its types.
|
|
3936
|
+
"""
|
|
3937
|
+
type TypeOrigin {
|
|
3938
|
+
"""
|
|
3939
|
+
The storage ID of the package that first defined this type.
|
|
3940
|
+
"""
|
|
3941
|
+
definingId: SuiAddress
|
|
3942
|
+
"""
|
|
3943
|
+
Module defining the type.
|
|
3944
|
+
"""
|
|
3945
|
+
module: String
|
|
3946
|
+
"""
|
|
3947
|
+
Name of the struct.
|
|
3948
|
+
"""
|
|
3949
|
+
struct: String
|
|
3950
|
+
}
|
|
3951
|
+
|
|
3952
|
+
"""
|
|
3953
|
+
An unsigned integer that can hold values up to 2^53 - 1. This can be treated similarly to `Int`, but it is guaranteed to be non-negative, and it may be larger than 2^32 - 1.
|
|
3954
|
+
"""
|
|
3955
|
+
scalar UInt53
|
|
3956
|
+
|
|
3957
|
+
"""
|
|
3958
|
+
Details pertaining to consensus-managed objects that are referenced by but not changed by a transaction.
|
|
3959
|
+
"""
|
|
3960
|
+
union UnchangedConsensusObject = ConsensusObjectRead | MutateConsensusStreamEnded | ReadConsensusStreamEnded | ConsensusObjectCancelled | PerEpochConfig
|
|
3961
|
+
|
|
3962
|
+
type UnchangedConsensusObjectConnection {
|
|
3963
|
+
"""
|
|
3964
|
+
A list of edges.
|
|
3965
|
+
"""
|
|
3966
|
+
edges: [UnchangedConsensusObjectEdge!]!
|
|
3967
|
+
"""
|
|
3968
|
+
A list of nodes.
|
|
3969
|
+
"""
|
|
3970
|
+
nodes: [UnchangedConsensusObject!]!
|
|
3971
|
+
"""
|
|
3972
|
+
Information to aid in pagination.
|
|
3973
|
+
"""
|
|
3974
|
+
pageInfo: PageInfo!
|
|
3975
|
+
}
|
|
3976
|
+
|
|
3977
|
+
"""
|
|
3978
|
+
An edge in a connection.
|
|
3979
|
+
"""
|
|
3980
|
+
type UnchangedConsensusObjectEdge {
|
|
3981
|
+
"""
|
|
3982
|
+
A cursor for use in pagination
|
|
3983
|
+
"""
|
|
3984
|
+
cursor: String!
|
|
3985
|
+
"""
|
|
3986
|
+
The item at the end of the edge
|
|
3987
|
+
"""
|
|
3988
|
+
node: UnchangedConsensusObject!
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
"""
|
|
3992
|
+
Upgrades a Move Package.
|
|
3993
|
+
"""
|
|
3994
|
+
type UpgradeCommand {
|
|
3995
|
+
"""
|
|
3996
|
+
ID of the package being upgraded.
|
|
3997
|
+
"""
|
|
3998
|
+
currentPackage: SuiAddress
|
|
3999
|
+
"""
|
|
4000
|
+
IDs of the transitive dependencies of the package to be published.
|
|
4001
|
+
"""
|
|
4002
|
+
dependencies: [SuiAddress!]
|
|
4003
|
+
"""
|
|
4004
|
+
Bytecode for the modules to be published, BCS serialized and Base64 encoded.
|
|
4005
|
+
"""
|
|
4006
|
+
modules: [Base64!]
|
|
4007
|
+
"""
|
|
4008
|
+
The `UpgradeTicket` authorizing the upgrade.
|
|
4009
|
+
"""
|
|
4010
|
+
upgradeTicket: TransactionArgument
|
|
4011
|
+
}
|
|
4012
|
+
|
|
4013
|
+
type UserSignature {
|
|
4014
|
+
"""
|
|
4015
|
+
The signature bytes, Base64-encoded.
|
|
4016
|
+
For simple signatures: flag || signature || pubkey
|
|
4017
|
+
For complex signatures: flag || bcs_serialized_struct
|
|
4018
|
+
"""
|
|
4019
|
+
signatureBytes: Base64
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
type Validator implements IAddressable {
|
|
4023
|
+
"""
|
|
4024
|
+
The validator's address.
|
|
4025
|
+
"""
|
|
4026
|
+
address: SuiAddress!
|
|
4027
|
+
"""
|
|
4028
|
+
The number of epochs for which this validator has been below the low stake threshold.
|
|
4029
|
+
"""
|
|
4030
|
+
atRisk: UInt53
|
|
4031
|
+
"""
|
|
4032
|
+
Fetch the total balance for coins with marker type `coinType` (e.g. `0x2::haneul::HANEUL`), owned by this address.
|
|
4033
|
+
|
|
4034
|
+
If the address does not own any coins of that type, a balance of zero is returned.
|
|
4035
|
+
"""
|
|
4036
|
+
balance(coinType: String!): Balance
|
|
4037
|
+
"""
|
|
4038
|
+
Total balance across coins owned by this address, grouped by coin type.
|
|
4039
|
+
"""
|
|
4040
|
+
balances(first: Int, after: String, last: Int, before: String): BalanceConnection
|
|
4041
|
+
"""
|
|
4042
|
+
The fee charged by the validator for staking services.
|
|
4043
|
+
"""
|
|
4044
|
+
commissionRate: Int
|
|
4045
|
+
"""
|
|
4046
|
+
Validator's set of credentials such as public keys, network addresses and others.
|
|
4047
|
+
"""
|
|
4048
|
+
credentials: ValidatorCredentials
|
|
4049
|
+
"""
|
|
4050
|
+
The domain explicitly configured as the default HaneulNS name for this address.
|
|
4051
|
+
"""
|
|
4052
|
+
defaultSuinsName: String
|
|
4053
|
+
"""
|
|
4054
|
+
Validator's description.
|
|
4055
|
+
"""
|
|
4056
|
+
description: String
|
|
4057
|
+
"""
|
|
4058
|
+
Number of exchange rates in the table.
|
|
4059
|
+
"""
|
|
4060
|
+
exchangeRatesSize: UInt53
|
|
4061
|
+
"""
|
|
4062
|
+
A wrapped object containing the validator's exchange rates. This is a table from epoch number to `PoolTokenExchangeRate` value.
|
|
4063
|
+
The exchange rate is used to determine the amount of SUI tokens that each past SUI staker can withdraw in the future.
|
|
4064
|
+
"""
|
|
4065
|
+
exchangeRatesTable: Address
|
|
4066
|
+
"""
|
|
4067
|
+
The reference gas price for this epoch.
|
|
4068
|
+
"""
|
|
4069
|
+
gasPrice: BigInt
|
|
4070
|
+
"""
|
|
4071
|
+
Validator's url containing their custom image.
|
|
4072
|
+
"""
|
|
4073
|
+
imageUrl: String
|
|
4074
|
+
"""
|
|
4075
|
+
Fetch the total balances keyed by coin types (e.g. `0x2::haneul::HANEUL`) owned by this address.
|
|
4076
|
+
|
|
4077
|
+
Returns `None` when no checkpoint is set in scope (e.g. execution scope).
|
|
4078
|
+
If the address does not own any coins of a given type, a balance of zero is returned for that type.
|
|
4079
|
+
"""
|
|
4080
|
+
multiGetBalances(keys: [String!]!): [Balance!]
|
|
4081
|
+
"""
|
|
4082
|
+
Validator's name.
|
|
4083
|
+
"""
|
|
4084
|
+
name: String
|
|
4085
|
+
"""
|
|
4086
|
+
The proposed next epoch fee for the validator's staking services.
|
|
4087
|
+
"""
|
|
4088
|
+
nextEpochCommissionRate: Int
|
|
4089
|
+
"""
|
|
4090
|
+
Validator's set of credentials for the next epoch.
|
|
4091
|
+
"""
|
|
4092
|
+
nextEpochCredentials: ValidatorCredentials
|
|
4093
|
+
"""
|
|
4094
|
+
The validator's gas price quote for the next epoch.
|
|
4095
|
+
"""
|
|
4096
|
+
nextEpochGasPrice: BigInt
|
|
4097
|
+
"""
|
|
4098
|
+
The total number of SUI tokens in this pool plus the pending stake amount for this epoch.
|
|
4099
|
+
"""
|
|
4100
|
+
nextEpochStake: BigInt
|
|
4101
|
+
"""
|
|
4102
|
+
Objects owned by this object, optionally filtered by type.
|
|
4103
|
+
"""
|
|
4104
|
+
objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
|
|
4105
|
+
"""
|
|
4106
|
+
The validator's current valid `Cap` object. Validators can delegate the operation ability to another address.
|
|
4107
|
+
The address holding this `Cap` object can then update the reference gas price and tallying rule on behalf of the validator.
|
|
4108
|
+
"""
|
|
4109
|
+
operationCap: MoveObject
|
|
4110
|
+
"""
|
|
4111
|
+
Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.
|
|
4112
|
+
"""
|
|
4113
|
+
pendingPoolTokenWithdraw: BigInt
|
|
4114
|
+
"""
|
|
4115
|
+
Pending stake amount for this epoch.
|
|
4116
|
+
"""
|
|
4117
|
+
pendingStake: BigInt
|
|
4118
|
+
"""
|
|
4119
|
+
Pending stake withdrawn during the current epoch, emptied at epoch boundaries.
|
|
4120
|
+
"""
|
|
4121
|
+
pendingTotalSuiWithdraw: BigInt
|
|
4122
|
+
"""
|
|
4123
|
+
Total number of pool tokens issued by the pool.
|
|
4124
|
+
"""
|
|
4125
|
+
poolTokenBalance: BigInt
|
|
4126
|
+
"""
|
|
4127
|
+
Validator's homepage URL.
|
|
4128
|
+
"""
|
|
4129
|
+
projectUrl: String
|
|
4130
|
+
"""
|
|
4131
|
+
Other validators this validator has reported.
|
|
4132
|
+
"""
|
|
4133
|
+
reportRecords(first: Int, before: String, last: Int, after: String): ValidatorConnection
|
|
4134
|
+
"""
|
|
4135
|
+
The epoch stake rewards will be added here at the end of each epoch.
|
|
4136
|
+
"""
|
|
4137
|
+
rewardsPool: BigInt
|
|
4138
|
+
"""
|
|
4139
|
+
The epoch at which this pool became active.
|
|
4140
|
+
"""
|
|
4141
|
+
stakingPoolActivationEpoch: UInt53
|
|
4142
|
+
"""
|
|
4143
|
+
The ID of this validator's `0x3::staking_pool::StakingPool`.
|
|
4144
|
+
"""
|
|
4145
|
+
stakingPoolId: SuiAddress!
|
|
4146
|
+
"""
|
|
4147
|
+
The total number of SUI tokens in this pool.
|
|
4148
|
+
"""
|
|
4149
|
+
stakingPoolSuiBalance: BigInt
|
|
4150
|
+
"""
|
|
4151
|
+
The voting power of this validator in basis points (e.g., 100 = 1% voting power).
|
|
4152
|
+
"""
|
|
4153
|
+
votingPower: Int
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4156
|
+
type ValidatorAggregatedSignature {
|
|
4157
|
+
"""
|
|
4158
|
+
The epoch when this aggregate signature was produced.
|
|
4159
|
+
"""
|
|
4160
|
+
epoch: Epoch
|
|
4161
|
+
"""
|
|
4162
|
+
The Base64 encoded BLS12381 aggregated signature.
|
|
4163
|
+
"""
|
|
4164
|
+
signature: Base64
|
|
4165
|
+
"""
|
|
4166
|
+
The indexes of validators that contributed to this signature.
|
|
4167
|
+
"""
|
|
4168
|
+
signersMap: [Int!]!
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
type ValidatorConnection {
|
|
4172
|
+
"""
|
|
4173
|
+
A list of edges.
|
|
4174
|
+
"""
|
|
4175
|
+
edges: [ValidatorEdge!]!
|
|
4176
|
+
"""
|
|
4177
|
+
A list of nodes.
|
|
4178
|
+
"""
|
|
4179
|
+
nodes: [Validator!]!
|
|
4180
|
+
"""
|
|
4181
|
+
Information to aid in pagination.
|
|
4182
|
+
"""
|
|
4183
|
+
pageInfo: PageInfo!
|
|
4184
|
+
}
|
|
4185
|
+
|
|
4186
|
+
"""
|
|
4187
|
+
The credentials related fields associated with a validator.
|
|
4188
|
+
"""
|
|
4189
|
+
type ValidatorCredentials {
|
|
4190
|
+
netAddress: String
|
|
4191
|
+
networkPubKey: Base64
|
|
4192
|
+
p2PAddress: String
|
|
4193
|
+
primaryAddress: String
|
|
4194
|
+
proofOfPossession: Base64
|
|
4195
|
+
protocolPubKey: Base64
|
|
4196
|
+
workerAddress: String
|
|
4197
|
+
workerPubKey: Base64
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
"""
|
|
4201
|
+
An edge in a connection.
|
|
4202
|
+
"""
|
|
4203
|
+
type ValidatorEdge {
|
|
4204
|
+
"""
|
|
4205
|
+
A cursor for use in pagination
|
|
4206
|
+
"""
|
|
4207
|
+
cursor: String!
|
|
4208
|
+
"""
|
|
4209
|
+
The item at the end of the edge
|
|
4210
|
+
"""
|
|
4211
|
+
node: Validator!
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4214
|
+
"""
|
|
4215
|
+
Representation of `0x3::validator_set::ValidatorSet`.
|
|
4216
|
+
"""
|
|
4217
|
+
type ValidatorSet {
|
|
4218
|
+
"""
|
|
4219
|
+
The current list of active validators.
|
|
4220
|
+
"""
|
|
4221
|
+
activeValidators(first: Int, after: String, last: Int, before: String): ValidatorConnection
|
|
4222
|
+
"""
|
|
4223
|
+
Object ID of the `Table` storing the inactive staking pools.
|
|
4224
|
+
"""
|
|
4225
|
+
inactivePoolsId: SuiAddress
|
|
4226
|
+
"""
|
|
4227
|
+
Size of the inactive pools `Table`.
|
|
4228
|
+
"""
|
|
4229
|
+
inactivePoolsSize: Int
|
|
4230
|
+
"""
|
|
4231
|
+
Object ID of the wrapped object `TableVec` storing the pending active validators.
|
|
4232
|
+
"""
|
|
4233
|
+
pendingActiveValidatorsId: SuiAddress
|
|
4234
|
+
"""
|
|
4235
|
+
Size of the pending active validators table.
|
|
4236
|
+
"""
|
|
4237
|
+
pendingActiveValidatorsSize: Int
|
|
4238
|
+
"""
|
|
4239
|
+
Validators that are pending removal from the active validator set, expressed as indices in to `activeValidators`.
|
|
4240
|
+
"""
|
|
4241
|
+
pendingRemovals: [Int!]
|
|
4242
|
+
"""
|
|
4243
|
+
Object ID of the `Table` storing the mapping from staking pool ids to the addresses of the corresponding validators.
|
|
4244
|
+
This is needed because a validator's address can potentially change but the object ID of its pool will not.
|
|
4245
|
+
"""
|
|
4246
|
+
stakingPoolMappingsId: SuiAddress
|
|
4247
|
+
"""
|
|
4248
|
+
Size of the stake pool mappings `Table`.
|
|
4249
|
+
"""
|
|
4250
|
+
stakingPoolMappingsSize: Int
|
|
4251
|
+
"""
|
|
4252
|
+
Total amount of stake for all active validators at the beginning of the epoch.
|
|
4253
|
+
"""
|
|
4254
|
+
totalStake: BigInt
|
|
4255
|
+
"""
|
|
4256
|
+
Object ID of the `Table` storing the validator candidates.
|
|
4257
|
+
"""
|
|
4258
|
+
validatorCandidatesId: SuiAddress
|
|
4259
|
+
"""
|
|
4260
|
+
Size of the validator candidates `Table`.
|
|
4261
|
+
"""
|
|
4262
|
+
validatorCandidatesSize: Int
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
"""
|
|
4266
|
+
Filter for paginating the history of an Object or MovePackage.
|
|
4267
|
+
"""
|
|
4268
|
+
input VersionFilter {
|
|
4269
|
+
"""
|
|
4270
|
+
Filter to versions that are strictly newer than this one, defaults to fetching from the earliest version known to this RPC (this could be the initial version, or some later version if the initial version has been pruned).
|
|
4271
|
+
"""
|
|
4272
|
+
afterVersion: UInt53
|
|
4273
|
+
"""
|
|
4274
|
+
Filter to versions that are strictly older than this one, defaults to fetching up to the latest version (inclusive).
|
|
4275
|
+
"""
|
|
4276
|
+
beforeVersion: UInt53
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
"""
|
|
4280
|
+
An enum that specifies the intent scope to be used to parse the bytes for signature verification.
|
|
4281
|
+
"""
|
|
4282
|
+
enum ZkLoginIntentScope {
|
|
4283
|
+
"""
|
|
4284
|
+
Indicates that the bytes are to be parsed as transaction data bytes.
|
|
4285
|
+
"""
|
|
4286
|
+
TRANSACTION_DATA
|
|
4287
|
+
"""
|
|
4288
|
+
Indicates that the bytes are to be parsed as a personal message.
|
|
4289
|
+
"""
|
|
4290
|
+
PERSONAL_MESSAGE
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
"""
|
|
4294
|
+
The result of the zkLogin signature verification.
|
|
4295
|
+
"""
|
|
4296
|
+
type ZkLoginVerifyResult {
|
|
4297
|
+
"""
|
|
4298
|
+
The error field capture reasons why the signature could not be verified, assuming the inputs are valid and there are no internal errors.
|
|
4299
|
+
"""
|
|
4300
|
+
error: String
|
|
4301
|
+
"""
|
|
4302
|
+
The boolean result of the verification. If true, errors should be empty.
|
|
4303
|
+
"""
|
|
4304
|
+
success: Boolean
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4307
|
+
directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
|
|
4308
|
+
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
|
|
4309
|
+
schema {
|
|
4310
|
+
query: Query
|
|
4311
|
+
mutation: Mutation
|
|
4312
|
+
}
|