@mysten/sui 2.26.2 → 2.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/bcs/index.d.mts +36 -36
  3. package/dist/client/types.d.mts +10 -0
  4. package/dist/client/types.d.mts.map +1 -1
  5. package/dist/client/utils.mjs +67 -2
  6. package/dist/client/utils.mjs.map +1 -1
  7. package/dist/cryptography/signature.d.mts +14 -14
  8. package/dist/graphql/core.d.mts.map +1 -1
  9. package/dist/graphql/core.mjs +5 -1
  10. package/dist/graphql/core.mjs.map +1 -1
  11. package/dist/graphql/generated/queries.mjs +20 -0
  12. package/dist/graphql/generated/queries.mjs.map +1 -1
  13. package/dist/grpc/core.d.mts.map +1 -1
  14. package/dist/grpc/core.mjs +6 -2
  15. package/dist/grpc/core.mjs.map +1 -1
  16. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
  17. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
  18. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  19. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
  20. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  21. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
  22. package/dist/jsonRpc/core.d.mts.map +1 -1
  23. package/dist/jsonRpc/core.mjs +4 -0
  24. package/dist/jsonRpc/core.mjs.map +1 -1
  25. package/dist/transactions/Transaction.d.mts +9 -9
  26. package/dist/version.mjs +1 -1
  27. package/dist/version.mjs.map +1 -1
  28. package/dist/zklogin/bcs.d.mts +14 -14
  29. package/package.json +1 -1
  30. package/src/client/types.ts +10 -0
  31. package/src/client/utils.ts +99 -2
  32. package/src/graphql/core.ts +8 -1
  33. package/src/graphql/generated/queries.ts +26 -6
  34. package/src/graphql/queries/transactions.graphql +4 -0
  35. package/src/grpc/core.ts +14 -2
  36. package/src/jsonRpc/core.ts +4 -0
  37. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"queries.mjs","names":[],"sources":["../../../src/graphql/generated/queries.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable */\n\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport { OpenMoveTypeSignature } from '../types.js';\nimport { DocumentTypeDecoration } from '@graphql-typed-document-node/core';\nexport type EventFilter = {\n /** Limit to events that occured strictly after the given checkpoint. */\n afterCheckpoint?: number | null | undefined;\n /** Limit to events in the given checkpoint. */\n atCheckpoint?: number | null | undefined;\n /** Limit to event that occured strictly before the given checkpoint. */\n beforeCheckpoint?: number | null | undefined;\n /**\n * 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.\n *\n * 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.\n */\n module?: string | null | undefined;\n /** Filter on events by transaction sender address. */\n sender?: string | null | undefined;\n /**\n * This field is used to specify the type of event emitted.\n *\n * Events can be filtered by their type's package, package::module, or their fully qualified type name.\n *\n * 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::sui::SUI>`.\n */\n type?: string | null | undefined;\n};\n\n/** The execution status of this transaction: success or failure. */\nexport enum ExecutionStatus {\n /** The transaction could not be executed. */\n Failure = 'FAILURE',\n /** The transaction was successfully executed. */\n Success = 'SUCCESS'\n}\n\n/** Abilities are keywords in Sui Move that define how types behave at the compiler level. */\nexport enum MoveAbility {\n /** Enables values to be copied. */\n Copy = 'COPY',\n /** Enables values to be popped/dropped. */\n Drop = 'DROP',\n /** Enables values to be held directly in global storage. */\n Key = 'KEY',\n /** Enables values to be held inside a struct in global storage. */\n Store = 'STORE'\n}\n\n/**\n * The visibility modifier describes which modules can access this module member.\n *\n * By default, a module member can be called only within the same module.\n */\nexport enum MoveVisibility {\n /** 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. */\n Friend = 'FRIEND',\n /** A private member can be accessed in the module it is defined in. */\n Private = 'PRIVATE',\n /** A public member can be accessed by any module. */\n Public = 'PUBLIC'\n}\n\n/**\n * A filter over the live object set, the filter can be one of:\n *\n * - A filter on type (all live objects whose type matches that filter).\n * - Fetching all objects owned by an address or object, optionally filtered by type.\n * - Fetching all shared or immutable objects, filtered by type.\n */\nexport type ObjectFilter = {\n /**\n * Specifies the address of the owning address or object.\n *\n * This field is required if `ownerKind` is \"ADDRESS\" or \"OBJECT\". If provided without `ownerKind`, `ownerKind` defaults to \"ADDRESS\".\n */\n owner?: string | null | undefined;\n /**\n * Filter on whether the object is address-owned, object-owned, shared, or immutable.\n *\n * - If this field is set to \"ADDRESS\" or \"OBJECT\", then an owner filter must also be provided.\n * - If this field is set to \"SHARED\" or \"IMMUTABLE\", then a type filter must also be provided.\n */\n ownerKind?: OwnerKind | null | undefined;\n /**\n * Filter on the object's type.\n *\n * The filter can be one of:\n *\n * - A package address: `0x2`,\n * - A module: `0x2::coin`,\n * - A fully-qualified name: `0x2::coin::Coin`,\n * - A type instantiation: `0x2::coin::Coin<0x2::sui::SUI>`.\n */\n type?: string | null | undefined;\n};\n\n/**\n * Identifies a specific version of an object.\n *\n * 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.\n *\n * Specifying a `version` or a `rootVersion` disables nested queries for paginating owned objects or dynamic fields (these queries are only supported at checkpoint boundaries).\n *\n * See `Query.object` for more details.\n */\nexport type ObjectKey = {\n /** The object's ID. */\n address: string;\n /** If specified, tries to fetch the latest version as of this checkpoint. Fails if the checkpoint is later than the RPC's latest checkpoint. */\n atCheckpoint?: number | null | undefined;\n /**\n * 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.\n *\n * 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:\n *\n * - The root object of the object it is wrapped in, if it is wrapped.\n * - The root object of its owner, if it is owned by another object.\n * - The object itself, if it is not object-owned or wrapped.\n */\n rootVersion?: number | null | undefined;\n /** If specified, tries to fetch the object at this exact version. */\n version?: number | null | undefined;\n};\n\n/** Filter on who owns an object. */\nexport enum OwnerKind {\n /** Object is owned by an address. */\n Address = 'ADDRESS',\n /** Object is frozen. */\n Immutable = 'IMMUTABLE',\n /** Object is a child of another object (e.g. a dynamic field or dynamic object field). */\n Object = 'OBJECT',\n /** Object is shared among multiple owners. */\n Shared = 'SHARED'\n}\n\nexport type TransactionFilter = {\n /**\n * Limit to transactions that interacted with the given address.\n * The address could be a sender, sponsor, or recipient of the transaction.\n */\n affectedAddress?: string | null | undefined;\n /**\n * Limit to transactions that interacted with the given object.\n * The object could have been created, read, modified, deleted, wrapped, or unwrapped by the transaction.\n * Objects that were passed as a `Receiving` input are not considered to have been affected by a transaction unless they were actually received.\n */\n affectedObject?: string | null | undefined;\n /** Filter to transactions that occurred strictly after the given checkpoint. */\n afterCheckpoint?: number | null | undefined;\n /** Filter to transactions in the given checkpoint. */\n atCheckpoint?: number | null | undefined;\n /** Filter to transaction that occurred strictly before the given checkpoint. */\n beforeCheckpoint?: number | null | undefined;\n /** Filter transactions by move function called. Calls can be filtered by the `package`, `package::module`, or the `package::module::name` of their function. */\n function?: string | null | undefined;\n /** An input filter selecting for either system or programmable transactions. */\n kind?: TransactionKindInput | null | undefined;\n /** Limit to transactions that were sent by the given address. */\n sentAddress?: string | null | undefined;\n};\n\n/** An input filter selecting for either system or programmable transactions. */\nexport enum TransactionKindInput {\n /** A user submitted transaction block. */\n ProgrammableTx = 'PROGRAMMABLE_TX',\n /**\n * A system transaction can be one of several types of transactions.\n * See [unions/transaction-block-kind] for more details.\n */\n SystemTx = 'SYSTEM_TX'\n}\n\n/** An enum that specifies the intent scope to be used to parse the bytes for signature verification. */\nexport enum ZkLoginIntentScope {\n /** Indicates that the bytes are to be parsed as a personal message. */\n PersonalMessage = 'PERSONAL_MESSAGE',\n /** Indicates that the bytes are to be parsed as transaction data bytes. */\n TransactionData = 'TRANSACTION_DATA'\n}\n\nexport type GetAllBalancesQueryVariables = Exact<{\n owner: string;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n}>;\n\n\nexport type GetAllBalancesQuery = { address: { balances: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ totalBalance: string | null, addressBalance: string | null, coinType: { repr: string } | null }> } | null } | null };\n\nexport type GetBalanceQueryVariables = Exact<{\n owner: string;\n coinType?: string | null | undefined;\n}>;\n\n\nexport type GetBalanceQuery = { address: { balance: { totalBalance: string | null, addressBalance: string | null, coinType: { repr: string } | null } | null } | null };\n\nexport type GetChainIdentifierQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetChainIdentifierQuery = { checkpoint: { digest: string | null } | null };\n\nexport type GetCoinMetadataQueryVariables = Exact<{\n coinType: string;\n}>;\n\n\nexport type GetCoinMetadataQuery = { coinMetadata: { address: string, decimals: number | null, name: string | null, symbol: string | null, description: string | null, iconUrl: string | null } | null };\n\nexport type GetCoinsQueryVariables = Exact<{\n owner: string;\n first?: number | null | undefined;\n cursor?: string | null | undefined;\n type?: string | null | undefined;\n}>;\n\n\nexport type GetCoinsQuery = { address: { address: string, objects: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ address: string, version: number | null, digest: string | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, contents: { json: unknown, type: { repr: string } | null } | null }> } | null } | null };\n\nexport type GetCurrentSystemStateQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetCurrentSystemStateQuery = { epoch: { epochId: number, referenceGasPrice: string | null, startTimestamp: string | null, protocolConfigs: { protocolVersion: number } | null, systemState: { json: unknown } | null } | null };\n\nexport type GetDynamicFieldsQueryVariables = Exact<{\n parentId: string;\n first?: number | null | undefined;\n cursor?: string | null | undefined;\n includeValue?: boolean | null | undefined;\n}>;\n\n\nexport type GetDynamicFieldsQuery = { address: { dynamicFields: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ name: { bcs: string | null, type: { repr: string } | null } | null, value:\n | { __typename: 'MoveObject', address: string, contents: { bcs?: string | null, type: { repr: string } | null } | null }\n | { __typename: 'MoveValue', bcs?: string | null, type: { repr: string } | null }\n | null }> } | null } | null };\n\nexport type GetMoveFunctionQueryVariables = Exact<{\n package: string;\n module: string;\n function: string;\n}>;\n\n\nexport type GetMoveFunctionQuery = { package: { module: { function: { name: string, visibility: MoveVisibility | null, isEntry: boolean | null, typeParameters: Array<{ constraints: Array<MoveAbility> }> | null, parameters: Array<{ signature: OpenMoveTypeSignature }> | null, return: Array<{ signature: OpenMoveTypeSignature }> | null } | null } | null } | null };\n\nexport type GetProtocolConfigQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetProtocolConfigQuery = { epoch: { protocolConfigs: { protocolVersion: number, featureFlags: Array<{ key: string, value: boolean }>, configs: Array<{ key: string, value: string | null }> } | null } | null };\n\nexport type GetReferenceGasPriceQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetReferenceGasPriceQuery = { epoch: { referenceGasPrice: string | null } | null };\n\nexport type ListEventsQueryVariables = Exact<{\n filter?: EventFilter | null | undefined;\n first?: number | null | undefined;\n after?: string | null | undefined;\n last?: number | null | undefined;\n before?: string | null | undefined;\n}>;\n\n\nexport type ListEventsQuery = { events: { pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null }, nodes: Array<{ sequenceNumber: number, transaction: { digest: string, effects: { checkpoint: { sequenceNumber: number } | null } | null } | null, transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null };\n\nexport type DefaultSuinsNameQueryVariables = Exact<{\n address: string;\n}>;\n\n\nexport type DefaultSuinsNameQuery = { address: { defaultNameRecord: { domain: string } | null } | null };\n\nexport type ResolveNameServiceAddressQueryVariables = Exact<{\n name: string;\n}>;\n\n\nexport type ResolveNameServiceAddressQuery = { address: { address: string } | null };\n\nexport type GetOwnedObjectsQueryVariables = Exact<{\n owner: string;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n filter?: ObjectFilter | null | undefined;\n includeContent?: boolean | null | undefined;\n includePreviousTransaction?: boolean | null | undefined;\n includeObjectBcs?: boolean | null | undefined;\n includeJson?: boolean | null | undefined;\n includeDisplay?: boolean | null | undefined;\n}>;\n\n\nexport type GetOwnedObjectsQuery = { address: { objects: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ address: string, digest: string | null, version: number | null, objectBcs?: string | null, contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null }> } | null } | null };\n\nexport type MultiGetObjectsQueryVariables = Exact<{\n objectKeys: Array<ObjectKey> | ObjectKey;\n includeContent?: boolean | null | undefined;\n includePreviousTransaction?: boolean | null | undefined;\n includeObjectBcs?: boolean | null | undefined;\n includeJson?: boolean | null | undefined;\n includeDisplay?: boolean | null | undefined;\n}>;\n\n\nexport type MultiGetObjectsQuery = { multiGetObjects: Array<{ address: string, digest: string | null, version: number | null, objectBcs?: string | null, asMoveObject: { contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null } | null, asMovePackage: { __typename: 'MovePackage' } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null } | null> };\n\nexport type Object_FieldsFragment = { address: string, digest: string | null, version: number | null, objectBcs?: string | null, asMoveObject: { contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null } | null, asMovePackage: { __typename: 'MovePackage' } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null };\n\nexport type Move_Object_FieldsFragment = { address: string, digest: string | null, version: number | null, objectBcs?: string | null, contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null };\n\ntype Object_Owner_Fields_AddressOwner_Fragment = { __typename: 'AddressOwner', address: { address: string } | null };\n\ntype Object_Owner_Fields_ConsensusAddressOwner_Fragment = { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null };\n\ntype Object_Owner_Fields_Immutable_Fragment = { __typename: 'Immutable' };\n\ntype Object_Owner_Fields_ObjectOwner_Fragment = { __typename: 'ObjectOwner', address: { address: string } | null };\n\ntype Object_Owner_Fields_Shared_Fragment = { __typename: 'Shared', initialSharedVersion: number | null };\n\nexport type Object_Owner_FieldsFragment =\n | Object_Owner_Fields_AddressOwner_Fragment\n | Object_Owner_Fields_ConsensusAddressOwner_Fragment\n | Object_Owner_Fields_Immutable_Fragment\n | Object_Owner_Fields_ObjectOwner_Fragment\n | Object_Owner_Fields_Shared_Fragment\n;\n\nexport type SimulateTransactionQueryVariables = Exact<{\n transaction: unknown;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeCommandResults?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n doGasSelection?: boolean | null | undefined;\n checksEnabled?: boolean | null | undefined;\n}>;\n\n\nexport type SimulateTransactionQuery = { simulateTransaction: { effects: { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null } | null, outputs?: Array<{ returnValues: Array<{ value: { bcs: string | null } | null }> | null, mutatedReferences: Array<{ value: { bcs: string | null } | null }> | null }> | null } };\n\nexport type ExecuteTransactionMutationVariables = Exact<{\n transactionDataBcs: string;\n signatures: Array<string> | string;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type ExecuteTransactionMutation = { executeTransaction: { effects: { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null } | null } };\n\nexport type GetTransactionBlockQueryVariables = Exact<{\n digest: string;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type GetTransactionBlockQuery = { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null };\n\nexport type ListTransactionsQueryVariables = Exact<{\n filter?: TransactionFilter | null | undefined;\n first?: number | null | undefined;\n after?: string | null | undefined;\n last?: number | null | undefined;\n before?: string | null | undefined;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type ListTransactionsQuery = { transactions: { pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null }, nodes: Array<{ digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null }> } | null };\n\nexport type Transaction_FieldsFragment = { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null };\n\nexport type ResolveTransactionQueryVariables = Exact<{\n transaction: unknown;\n doGasSelection?: boolean | null | undefined;\n checksEnabled?: boolean | null | undefined;\n}>;\n\n\nexport type ResolveTransactionQuery = { simulateTransaction: { effects: { transaction: { transactionBcs: string | null, effects: { status: ExecutionStatus | null, epoch: { epochId: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null } | null } | null } | null } };\n\nexport type VerifyZkLoginSignatureQueryVariables = Exact<{\n bytes: string;\n signature: string;\n intentScope: ZkLoginIntentScope;\n author: string;\n}>;\n\n\nexport type VerifyZkLoginSignatureQuery = { verifyZkLoginSignature: { success: boolean | null } | null };\n\nexport class TypedDocumentString<TResult, TVariables>\n extends String\n implements DocumentTypeDecoration<TResult, TVariables>\n{\n __apiType?: NonNullable<DocumentTypeDecoration<TResult, TVariables>['__apiType']>;\n private value: string;\n public __meta__?: Record<string, any> | undefined;\n\n constructor(value: string, __meta__?: Record<string, any> | undefined) {\n super(value);\n this.value = value;\n this.__meta__ = __meta__;\n }\n\n override toString(): string & DocumentTypeDecoration<TResult, TVariables> {\n return this.value;\n }\n}\nexport const Object_Owner_FieldsFragmentDoc = new TypedDocumentString(`\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}\n `, {\"fragmentName\":\"OBJECT_OWNER_FIELDS\"}) as unknown as TypedDocumentString<Object_Owner_FieldsFragment, unknown>;\nexport const Object_FieldsFragmentDoc = new TypedDocumentString(`\n fragment OBJECT_FIELDS on Object {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n asMoveObject {\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n }\n asMovePackage {\n __typename\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`, {\"fragmentName\":\"OBJECT_FIELDS\"}) as unknown as TypedDocumentString<Object_FieldsFragment, unknown>;\nexport const Move_Object_FieldsFragmentDoc = new TypedDocumentString(`\n fragment MOVE_OBJECT_FIELDS on MoveObject {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`, {\"fragmentName\":\"MOVE_OBJECT_FIELDS\"}) as unknown as TypedDocumentString<Move_Object_FieldsFragment, unknown>;\nexport const Transaction_FieldsFragmentDoc = new TypedDocumentString(`\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}\n `, {\"fragmentName\":\"TRANSACTION_FIELDS\"}) as unknown as TypedDocumentString<Transaction_FieldsFragment, unknown>;\nexport const GetAllBalancesDocument = new TypedDocumentString(`\n query getAllBalances($owner: SuiAddress!, $limit: Int, $cursor: String) {\n address(address: $owner) {\n balances(first: $limit, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n coinType {\n repr\n }\n totalBalance\n addressBalance\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetAllBalancesQuery, GetAllBalancesQueryVariables>;\nexport const GetBalanceDocument = new TypedDocumentString(`\n query getBalance($owner: SuiAddress!, $coinType: String = \"0x2::sui::SUI\") {\n address(address: $owner) {\n balance(coinType: $coinType) {\n coinType {\n repr\n }\n totalBalance\n addressBalance\n }\n }\n}\n `) as unknown as TypedDocumentString<GetBalanceQuery, GetBalanceQueryVariables>;\nexport const GetChainIdentifierDocument = new TypedDocumentString(`\n query getChainIdentifier {\n checkpoint(sequenceNumber: 0) {\n digest\n }\n}\n `) as unknown as TypedDocumentString<GetChainIdentifierQuery, GetChainIdentifierQueryVariables>;\nexport const GetCoinMetadataDocument = new TypedDocumentString(`\n query getCoinMetadata($coinType: String!) {\n coinMetadata(coinType: $coinType) {\n address\n decimals\n name\n symbol\n description\n iconUrl\n }\n}\n `) as unknown as TypedDocumentString<GetCoinMetadataQuery, GetCoinMetadataQueryVariables>;\nexport const GetCoinsDocument = new TypedDocumentString(`\n query getCoins($owner: SuiAddress!, $first: Int, $cursor: String, $type: String = \"0x2::coin::Coin<0x2::sui::SUI>\") {\n address(address: $owner) {\n address\n objects(first: $first, after: $cursor, filter: {type: $type}) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n contents {\n json\n type {\n repr\n }\n }\n address\n version\n digest\n }\n }\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<GetCoinsQuery, GetCoinsQueryVariables>;\nexport const GetCurrentSystemStateDocument = new TypedDocumentString(`\n query getCurrentSystemState {\n epoch {\n epochId\n referenceGasPrice\n startTimestamp\n protocolConfigs {\n protocolVersion\n }\n systemState {\n json\n }\n }\n}\n `) as unknown as TypedDocumentString<GetCurrentSystemStateQuery, GetCurrentSystemStateQueryVariables>;\nexport const GetDynamicFieldsDocument = new TypedDocumentString(`\n query getDynamicFields($parentId: SuiAddress!, $first: Int, $cursor: String, $includeValue: Boolean = false) {\n address(address: $parentId) {\n dynamicFields(first: $first, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n name {\n bcs\n type {\n repr\n }\n }\n value {\n __typename\n ... on MoveValue {\n bcs @include(if: $includeValue)\n type {\n repr\n }\n }\n ... on MoveObject {\n address\n contents {\n bcs @include(if: $includeValue)\n type {\n repr\n }\n }\n }\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetDynamicFieldsQuery, GetDynamicFieldsQueryVariables>;\nexport const GetMoveFunctionDocument = new TypedDocumentString(`\n query getMoveFunction($package: SuiAddress!, $module: String!, $function: String!) {\n package(address: $package) {\n module(name: $module) {\n function(name: $function) {\n name\n visibility\n isEntry\n typeParameters {\n constraints\n }\n parameters {\n signature\n }\n return {\n signature\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetMoveFunctionQuery, GetMoveFunctionQueryVariables>;\nexport const GetProtocolConfigDocument = new TypedDocumentString(`\n query getProtocolConfig {\n epoch {\n protocolConfigs {\n protocolVersion\n featureFlags {\n key\n value\n }\n configs {\n key\n value\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetProtocolConfigQuery, GetProtocolConfigQueryVariables>;\nexport const GetReferenceGasPriceDocument = new TypedDocumentString(`\n query getReferenceGasPrice {\n epoch {\n referenceGasPrice\n }\n}\n `) as unknown as TypedDocumentString<GetReferenceGasPriceQuery, GetReferenceGasPriceQueryVariables>;\nexport const ListEventsDocument = new TypedDocumentString(`\n query listEvents($filter: EventFilter, $first: Int, $after: String, $last: Int, $before: String) {\n events(\n filter: $filter\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n sequenceNumber\n transaction {\n digest\n effects {\n checkpoint {\n sequenceNumber\n }\n }\n }\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<ListEventsQuery, ListEventsQueryVariables>;\nexport const DefaultSuinsNameDocument = new TypedDocumentString(`\n query defaultSuinsName($address: SuiAddress!) {\n address(address: $address) {\n defaultNameRecord {\n domain\n }\n }\n}\n `) as unknown as TypedDocumentString<DefaultSuinsNameQuery, DefaultSuinsNameQueryVariables>;\nexport const ResolveNameServiceAddressDocument = new TypedDocumentString(`\n query resolveNameServiceAddress($name: String!) {\n address(name: $name) {\n address\n }\n}\n `) as unknown as TypedDocumentString<ResolveNameServiceAddressQuery, ResolveNameServiceAddressQueryVariables>;\nexport const GetOwnedObjectsDocument = new TypedDocumentString(`\n query getOwnedObjects($owner: SuiAddress!, $limit: Int, $cursor: String, $filter: ObjectFilter, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {\n address(address: $owner) {\n objects(first: $limit, after: $cursor, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n ...MOVE_OBJECT_FIELDS\n }\n }\n }\n}\n fragment MOVE_OBJECT_FIELDS on MoveObject {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\nfragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;\nexport const MultiGetObjectsDocument = new TypedDocumentString(`\n query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {\n multiGetObjects(keys: $objectKeys) {\n ...OBJECT_FIELDS\n }\n}\n fragment OBJECT_FIELDS on Object {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n asMoveObject {\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n }\n asMovePackage {\n __typename\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\nfragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<MultiGetObjectsQuery, MultiGetObjectsQueryVariables>;\nexport const SimulateTransactionDocument = new TypedDocumentString(`\n query simulateTransaction($transaction: JSON!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeCommandResults: Boolean = false, $includeBcs: Boolean = false, $doGasSelection: Boolean = false, $checksEnabled: Boolean = true) {\n simulateTransaction(\n transaction: $transaction\n doGasSelection: $doGasSelection\n checksEnabled: $checksEnabled\n ) {\n effects {\n transaction {\n ...TRANSACTION_FIELDS\n }\n }\n outputs @include(if: $includeCommandResults) {\n returnValues {\n value {\n bcs\n }\n }\n mutatedReferences {\n value {\n bcs\n }\n }\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<SimulateTransactionQuery, SimulateTransactionQueryVariables>;\nexport const ExecuteTransactionDocument = new TypedDocumentString(`\n mutation executeTransaction($transactionDataBcs: Base64!, $signatures: [Base64!]!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n executeTransaction(\n transactionDataBcs: $transactionDataBcs\n signatures: $signatures\n ) {\n effects {\n transaction {\n ...TRANSACTION_FIELDS\n }\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<ExecuteTransactionMutation, ExecuteTransactionMutationVariables>;\nexport const GetTransactionBlockDocument = new TypedDocumentString(`\n query getTransactionBlock($digest: String!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n transaction(digest: $digest) {\n ...TRANSACTION_FIELDS\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<GetTransactionBlockQuery, GetTransactionBlockQueryVariables>;\nexport const ListTransactionsDocument = new TypedDocumentString(`\n query listTransactions($filter: TransactionFilter, $first: Int, $after: String, $last: Int, $before: String, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n transactions(\n filter: $filter\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n ...TRANSACTION_FIELDS\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<ListTransactionsQuery, ListTransactionsQueryVariables>;\nexport const ResolveTransactionDocument = new TypedDocumentString(`\n query resolveTransaction($transaction: JSON!, $doGasSelection: Boolean = true, $checksEnabled: Boolean = true) {\n simulateTransaction(\n transaction: $transaction\n doGasSelection: $doGasSelection\n checksEnabled: $checksEnabled\n ) {\n effects {\n transaction {\n transactionBcs\n effects {\n epoch {\n epochId\n }\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<ResolveTransactionQuery, ResolveTransactionQueryVariables>;\nexport const VerifyZkLoginSignatureDocument = new TypedDocumentString(`\n query verifyZkLoginSignature($bytes: Base64!, $signature: Base64!, $intentScope: ZkLoginIntentScope!, $author: SuiAddress!) {\n verifyZkLoginSignature(\n bytes: $bytes\n signature: $signature\n intentScope: $intentScope\n author: $author\n ) {\n success\n }\n}\n `) as unknown as TypedDocumentString<VerifyZkLoginSignatureQuery, VerifyZkLoginSignatureQueryVariables>;"],"mappings":";;AAoCA,IAAY,8DAAL;;AAEL;;AAEA;;;;AA6IF,IAAY,oEAAL;;AAEL;;AAEA;;;AAwQF,IAAa,sBAAb,cACU,OAEV;CAKE,YAAY,OAAe,UAA4C;AACrE,QAAM,MAAM;AACZ,OAAK,QAAQ;AACb,OAAK,WAAW;;CAGlB,AAAS,WAAiE;AACxE,SAAO,KAAK;;;AAGhB,MAAa,iCAAiC,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;OAuB/D,EAAC,gBAAe,uBAAsB,CAAC;AAC9C,MA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AAa,0BAA0B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0D5D;AACH,MAAa,0BAA0B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD5D;AACH,MAAa,8BAA8B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGhE;AACH,MAAa,6BAA6B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmF/D;AACH,MAAa,8BAA8B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EhE;AACH,MAAa,2BAA2B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0F7D;AACH,MAAa,6BAA6B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqC5D;AACN,MAAa,iCAAiC,IAAI,oBAAoB;;;;;;;;;;;MAWhE"}
1
+ {"version":3,"file":"queries.mjs","names":[],"sources":["../../../src/graphql/generated/queries.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n/* eslint-disable */\n\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport { OpenMoveTypeSignature } from '../types.js';\nimport { DocumentTypeDecoration } from '@graphql-typed-document-node/core';\nexport type EventFilter = {\n /** Limit to events that occured strictly after the given checkpoint. */\n afterCheckpoint?: number | null | undefined;\n /** Limit to events in the given checkpoint. */\n atCheckpoint?: number | null | undefined;\n /** Limit to event that occured strictly before the given checkpoint. */\n beforeCheckpoint?: number | null | undefined;\n /**\n * 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.\n *\n * 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.\n */\n module?: string | null | undefined;\n /** Filter on events by transaction sender address. */\n sender?: string | null | undefined;\n /**\n * This field is used to specify the type of event emitted.\n *\n * Events can be filtered by their type's package, package::module, or their fully qualified type name.\n *\n * 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::sui::SUI>`.\n */\n type?: string | null | undefined;\n};\n\n/** The execution status of this transaction: success or failure. */\nexport enum ExecutionStatus {\n /** The transaction could not be executed. */\n Failure = 'FAILURE',\n /** The transaction was successfully executed. */\n Success = 'SUCCESS'\n}\n\n/** Abilities are keywords in Sui Move that define how types behave at the compiler level. */\nexport enum MoveAbility {\n /** Enables values to be copied. */\n Copy = 'COPY',\n /** Enables values to be popped/dropped. */\n Drop = 'DROP',\n /** Enables values to be held directly in global storage. */\n Key = 'KEY',\n /** Enables values to be held inside a struct in global storage. */\n Store = 'STORE'\n}\n\n/**\n * The visibility modifier describes which modules can access this module member.\n *\n * By default, a module member can be called only within the same module.\n */\nexport enum MoveVisibility {\n /** 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. */\n Friend = 'FRIEND',\n /** A private member can be accessed in the module it is defined in. */\n Private = 'PRIVATE',\n /** A public member can be accessed by any module. */\n Public = 'PUBLIC'\n}\n\n/**\n * A filter over the live object set, the filter can be one of:\n *\n * - A filter on type (all live objects whose type matches that filter).\n * - Fetching all objects owned by an address or object, optionally filtered by type.\n * - Fetching all shared or immutable objects, filtered by type.\n */\nexport type ObjectFilter = {\n /**\n * Specifies the address of the owning address or object.\n *\n * This field is required if `ownerKind` is \"ADDRESS\" or \"OBJECT\". If provided without `ownerKind`, `ownerKind` defaults to \"ADDRESS\".\n */\n owner?: string | null | undefined;\n /**\n * Filter on whether the object is address-owned, object-owned, shared, or immutable.\n *\n * - If this field is set to \"ADDRESS\" or \"OBJECT\", then an owner filter must also be provided.\n * - If this field is set to \"SHARED\" or \"IMMUTABLE\", then a type filter must also be provided.\n */\n ownerKind?: OwnerKind | null | undefined;\n /**\n * Filter on the object's type.\n *\n * The filter can be one of:\n *\n * - A package address: `0x2`,\n * - A module: `0x2::coin`,\n * - A fully-qualified name: `0x2::coin::Coin`,\n * - A type instantiation: `0x2::coin::Coin<0x2::sui::SUI>`.\n */\n type?: string | null | undefined;\n};\n\n/**\n * Identifies a specific version of an object.\n *\n * 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.\n *\n * Specifying a `version` or a `rootVersion` disables nested queries for paginating owned objects or dynamic fields (these queries are only supported at checkpoint boundaries).\n *\n * See `Query.object` for more details.\n */\nexport type ObjectKey = {\n /** The object's ID. */\n address: string;\n /** If specified, tries to fetch the latest version as of this checkpoint. Fails if the checkpoint is later than the RPC's latest checkpoint. */\n atCheckpoint?: number | null | undefined;\n /**\n * 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.\n *\n * 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:\n *\n * - The root object of the object it is wrapped in, if it is wrapped.\n * - The root object of its owner, if it is owned by another object.\n * - The object itself, if it is not object-owned or wrapped.\n */\n rootVersion?: number | null | undefined;\n /** If specified, tries to fetch the object at this exact version. */\n version?: number | null | undefined;\n};\n\n/** Filter on who owns an object. */\nexport enum OwnerKind {\n /** Object is owned by an address. */\n Address = 'ADDRESS',\n /** Object is frozen. */\n Immutable = 'IMMUTABLE',\n /** Object is a child of another object (e.g. a dynamic field or dynamic object field). */\n Object = 'OBJECT',\n /** Object is shared among multiple owners. */\n Shared = 'SHARED'\n}\n\nexport type TransactionFilter = {\n /**\n * Limit to transactions that interacted with the given address.\n * The address could be a sender, sponsor, or recipient of the transaction.\n */\n affectedAddress?: string | null | undefined;\n /**\n * Limit to transactions that interacted with the given object.\n * The object could have been created, read, modified, deleted, wrapped, or unwrapped by the transaction.\n * Objects that were passed as a `Receiving` input are not considered to have been affected by a transaction unless they were actually received.\n */\n affectedObject?: string | null | undefined;\n /** Filter to transactions that occurred strictly after the given checkpoint. */\n afterCheckpoint?: number | null | undefined;\n /** Filter to transactions in the given checkpoint. */\n atCheckpoint?: number | null | undefined;\n /** Filter to transaction that occurred strictly before the given checkpoint. */\n beforeCheckpoint?: number | null | undefined;\n /** Filter transactions by move function called. Calls can be filtered by the `package`, `package::module`, or the `package::module::name` of their function. */\n function?: string | null | undefined;\n /** An input filter selecting for either system or programmable transactions. */\n kind?: TransactionKindInput | null | undefined;\n /** Limit to transactions that were sent by the given address. */\n sentAddress?: string | null | undefined;\n};\n\n/** An input filter selecting for either system or programmable transactions. */\nexport enum TransactionKindInput {\n /** A user submitted transaction block. */\n ProgrammableTx = 'PROGRAMMABLE_TX',\n /**\n * A system transaction can be one of several types of transactions.\n * See [unions/transaction-block-kind] for more details.\n */\n SystemTx = 'SYSTEM_TX'\n}\n\n/** An enum that specifies the intent scope to be used to parse the bytes for signature verification. */\nexport enum ZkLoginIntentScope {\n /** Indicates that the bytes are to be parsed as a personal message. */\n PersonalMessage = 'PERSONAL_MESSAGE',\n /** Indicates that the bytes are to be parsed as transaction data bytes. */\n TransactionData = 'TRANSACTION_DATA'\n}\n\nexport type GetAllBalancesQueryVariables = Exact<{\n owner: string;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n}>;\n\n\nexport type GetAllBalancesQuery = { address: { balances: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ totalBalance: string | null, addressBalance: string | null, coinType: { repr: string } | null }> } | null } | null };\n\nexport type GetBalanceQueryVariables = Exact<{\n owner: string;\n coinType?: string | null | undefined;\n}>;\n\n\nexport type GetBalanceQuery = { address: { balance: { totalBalance: string | null, addressBalance: string | null, coinType: { repr: string } | null } | null } | null };\n\nexport type GetChainIdentifierQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetChainIdentifierQuery = { checkpoint: { digest: string | null } | null };\n\nexport type GetCoinMetadataQueryVariables = Exact<{\n coinType: string;\n}>;\n\n\nexport type GetCoinMetadataQuery = { coinMetadata: { address: string, decimals: number | null, name: string | null, symbol: string | null, description: string | null, iconUrl: string | null } | null };\n\nexport type GetCoinsQueryVariables = Exact<{\n owner: string;\n first?: number | null | undefined;\n cursor?: string | null | undefined;\n type?: string | null | undefined;\n}>;\n\n\nexport type GetCoinsQuery = { address: { address: string, objects: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ address: string, version: number | null, digest: string | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, contents: { json: unknown, type: { repr: string } | null } | null }> } | null } | null };\n\nexport type GetCurrentSystemStateQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetCurrentSystemStateQuery = { epoch: { epochId: number, referenceGasPrice: string | null, startTimestamp: string | null, protocolConfigs: { protocolVersion: number } | null, systemState: { json: unknown } | null } | null };\n\nexport type GetDynamicFieldsQueryVariables = Exact<{\n parentId: string;\n first?: number | null | undefined;\n cursor?: string | null | undefined;\n includeValue?: boolean | null | undefined;\n}>;\n\n\nexport type GetDynamicFieldsQuery = { address: { dynamicFields: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ name: { bcs: string | null, type: { repr: string } | null } | null, value:\n | { __typename: 'MoveObject', address: string, contents: { bcs?: string | null, type: { repr: string } | null } | null }\n | { __typename: 'MoveValue', bcs?: string | null, type: { repr: string } | null }\n | null }> } | null } | null };\n\nexport type GetMoveFunctionQueryVariables = Exact<{\n package: string;\n module: string;\n function: string;\n}>;\n\n\nexport type GetMoveFunctionQuery = { package: { module: { function: { name: string, visibility: MoveVisibility | null, isEntry: boolean | null, typeParameters: Array<{ constraints: Array<MoveAbility> }> | null, parameters: Array<{ signature: OpenMoveTypeSignature }> | null, return: Array<{ signature: OpenMoveTypeSignature }> | null } | null } | null } | null };\n\nexport type GetProtocolConfigQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetProtocolConfigQuery = { epoch: { protocolConfigs: { protocolVersion: number, featureFlags: Array<{ key: string, value: boolean }>, configs: Array<{ key: string, value: string | null }> } | null } | null };\n\nexport type GetReferenceGasPriceQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type GetReferenceGasPriceQuery = { epoch: { referenceGasPrice: string | null } | null };\n\nexport type ListEventsQueryVariables = Exact<{\n filter?: EventFilter | null | undefined;\n first?: number | null | undefined;\n after?: string | null | undefined;\n last?: number | null | undefined;\n before?: string | null | undefined;\n}>;\n\n\nexport type ListEventsQuery = { events: { pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null }, nodes: Array<{ sequenceNumber: number, transaction: { digest: string, effects: { checkpoint: { sequenceNumber: number } | null } | null } | null, transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null };\n\nexport type DefaultSuinsNameQueryVariables = Exact<{\n address: string;\n}>;\n\n\nexport type DefaultSuinsNameQuery = { address: { defaultNameRecord: { domain: string } | null } | null };\n\nexport type ResolveNameServiceAddressQueryVariables = Exact<{\n name: string;\n}>;\n\n\nexport type ResolveNameServiceAddressQuery = { address: { address: string } | null };\n\nexport type GetOwnedObjectsQueryVariables = Exact<{\n owner: string;\n limit?: number | null | undefined;\n cursor?: string | null | undefined;\n filter?: ObjectFilter | null | undefined;\n includeContent?: boolean | null | undefined;\n includePreviousTransaction?: boolean | null | undefined;\n includeObjectBcs?: boolean | null | undefined;\n includeJson?: boolean | null | undefined;\n includeDisplay?: boolean | null | undefined;\n}>;\n\n\nexport type GetOwnedObjectsQuery = { address: { objects: { pageInfo: { hasNextPage: boolean, endCursor: string | null }, nodes: Array<{ address: string, digest: string | null, version: number | null, objectBcs?: string | null, contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null }> } | null } | null };\n\nexport type MultiGetObjectsQueryVariables = Exact<{\n objectKeys: Array<ObjectKey> | ObjectKey;\n includeContent?: boolean | null | undefined;\n includePreviousTransaction?: boolean | null | undefined;\n includeObjectBcs?: boolean | null | undefined;\n includeJson?: boolean | null | undefined;\n includeDisplay?: boolean | null | undefined;\n}>;\n\n\nexport type MultiGetObjectsQuery = { multiGetObjects: Array<{ address: string, digest: string | null, version: number | null, objectBcs?: string | null, asMoveObject: { contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null } | null, asMovePackage: { __typename: 'MovePackage' } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null } | null> };\n\nexport type Object_FieldsFragment = { address: string, digest: string | null, version: number | null, objectBcs?: string | null, asMoveObject: { contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null } | null, asMovePackage: { __typename: 'MovePackage' } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null };\n\nexport type Move_Object_FieldsFragment = { address: string, digest: string | null, version: number | null, objectBcs?: string | null, contents: { bcs?: string | null, json?: unknown, display?: { output: unknown, errors: unknown } | null, type: { repr: string } | null } | null, owner:\n | { __typename: 'AddressOwner', address: { address: string } | null }\n | { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null }\n | { __typename: 'Immutable' }\n | { __typename: 'ObjectOwner', address: { address: string } | null }\n | { __typename: 'Shared', initialSharedVersion: number | null }\n | null, previousTransaction?: { digest: string } | null };\n\ntype Object_Owner_Fields_AddressOwner_Fragment = { __typename: 'AddressOwner', address: { address: string } | null };\n\ntype Object_Owner_Fields_ConsensusAddressOwner_Fragment = { __typename: 'ConsensusAddressOwner', startVersion: number | null, address: { address: string } | null };\n\ntype Object_Owner_Fields_Immutable_Fragment = { __typename: 'Immutable' };\n\ntype Object_Owner_Fields_ObjectOwner_Fragment = { __typename: 'ObjectOwner', address: { address: string } | null };\n\ntype Object_Owner_Fields_Shared_Fragment = { __typename: 'Shared', initialSharedVersion: number | null };\n\nexport type Object_Owner_FieldsFragment =\n | Object_Owner_Fields_AddressOwner_Fragment\n | Object_Owner_Fields_ConsensusAddressOwner_Fragment\n | Object_Owner_Fields_Immutable_Fragment\n | Object_Owner_Fields_ObjectOwner_Fragment\n | Object_Owner_Fields_Shared_Fragment\n;\n\nexport type SimulateTransactionQueryVariables = Exact<{\n transaction: unknown;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeCommandResults?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n doGasSelection?: boolean | null | undefined;\n checksEnabled?: boolean | null | undefined;\n}>;\n\n\nexport type SimulateTransactionQuery = { simulateTransaction: { effects: { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, timestamp: string | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, checkpoint: { sequenceNumber: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null } | null, outputs?: Array<{ returnValues: Array<{ value: { bcs: string | null } | null }> | null, mutatedReferences: Array<{ value: { bcs: string | null } | null }> | null }> | null } };\n\nexport type ExecuteTransactionMutationVariables = Exact<{\n transactionDataBcs: string;\n signatures: Array<string> | string;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type ExecuteTransactionMutation = { executeTransaction: { effects: { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, timestamp: string | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, checkpoint: { sequenceNumber: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null } | null } };\n\nexport type GetTransactionBlockQueryVariables = Exact<{\n digest: string;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type GetTransactionBlockQuery = { transaction: { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, timestamp: string | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, checkpoint: { sequenceNumber: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null } | null };\n\nexport type ListTransactionsQueryVariables = Exact<{\n filter?: TransactionFilter | null | undefined;\n first?: number | null | undefined;\n after?: string | null | undefined;\n last?: number | null | undefined;\n before?: string | null | undefined;\n includeTransaction?: boolean | null | undefined;\n includeEffects?: boolean | null | undefined;\n includeEvents?: boolean | null | undefined;\n includeBalanceChanges?: boolean | null | undefined;\n includeObjectTypes?: boolean | null | undefined;\n includeBcs?: boolean | null | undefined;\n}>;\n\n\nexport type ListTransactionsQuery = { transactions: { pageInfo: { hasNextPage: boolean, hasPreviousPage: boolean, startCursor: string | null, endCursor: string | null }, nodes: Array<{ digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, timestamp: string | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, checkpoint: { sequenceNumber: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null }> } | null };\n\nexport type Transaction_FieldsFragment = { digest: string, transactionJson?: unknown, transactionBcs?: string | null, signatures: Array<{ signatureBytes: string | null }>, effects: { status: ExecutionStatus | null, timestamp: string | null, effectsBcs?: string | null, effectsJson?: unknown, balanceChangesJson?: unknown, checkpoint: { sequenceNumber: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null, epoch: { epochId: number } | null, objectChanges?: { nodes: Array<{ address: string, outputState: { asMoveObject: { contents: { type: { repr: string } | null } | null } | null } | null }> } | null, events?: { pageInfo: { hasNextPage: boolean }, nodes: Array<{ transactionModule: { name: string, package: { address: string } | null } | null, sender: { address: string } | null, contents: { bcs: string | null, json: unknown, type: { repr: string } | null } | null }> } | null } | null };\n\nexport type ResolveTransactionQueryVariables = Exact<{\n transaction: unknown;\n doGasSelection?: boolean | null | undefined;\n checksEnabled?: boolean | null | undefined;\n}>;\n\n\nexport type ResolveTransactionQuery = { simulateTransaction: { effects: { transaction: { transactionBcs: string | null, effects: { status: ExecutionStatus | null, epoch: { epochId: number } | null, executionError: { message: string, abortCode: string | null, identifier: string | null, constant: string | null, sourceLineNumber: number | null, instructionOffset: number | null, module: { name: string, package: { address: string } | null } | null, function: { name: string } | null } | null } | null } | null } | null } };\n\nexport type VerifyZkLoginSignatureQueryVariables = Exact<{\n bytes: string;\n signature: string;\n intentScope: ZkLoginIntentScope;\n author: string;\n}>;\n\n\nexport type VerifyZkLoginSignatureQuery = { verifyZkLoginSignature: { success: boolean | null } | null };\n\nexport class TypedDocumentString<TResult, TVariables>\n extends String\n implements DocumentTypeDecoration<TResult, TVariables>\n{\n __apiType?: NonNullable<DocumentTypeDecoration<TResult, TVariables>['__apiType']>;\n private value: string;\n public __meta__?: Record<string, any> | undefined;\n\n constructor(value: string, __meta__?: Record<string, any> | undefined) {\n super(value);\n this.value = value;\n this.__meta__ = __meta__;\n }\n\n override toString(): string & DocumentTypeDecoration<TResult, TVariables> {\n return this.value;\n }\n}\nexport const Object_Owner_FieldsFragmentDoc = new TypedDocumentString(`\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}\n `, {\"fragmentName\":\"OBJECT_OWNER_FIELDS\"}) as unknown as TypedDocumentString<Object_Owner_FieldsFragment, unknown>;\nexport const Object_FieldsFragmentDoc = new TypedDocumentString(`\n fragment OBJECT_FIELDS on Object {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n asMoveObject {\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n }\n asMovePackage {\n __typename\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`, {\"fragmentName\":\"OBJECT_FIELDS\"}) as unknown as TypedDocumentString<Object_FieldsFragment, unknown>;\nexport const Move_Object_FieldsFragmentDoc = new TypedDocumentString(`\n fragment MOVE_OBJECT_FIELDS on MoveObject {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`, {\"fragmentName\":\"MOVE_OBJECT_FIELDS\"}) as unknown as TypedDocumentString<Move_Object_FieldsFragment, unknown>;\nexport const Transaction_FieldsFragmentDoc = new TypedDocumentString(`\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n timestamp\n checkpoint {\n sequenceNumber\n }\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}\n `, {\"fragmentName\":\"TRANSACTION_FIELDS\"}) as unknown as TypedDocumentString<Transaction_FieldsFragment, unknown>;\nexport const GetAllBalancesDocument = new TypedDocumentString(`\n query getAllBalances($owner: SuiAddress!, $limit: Int, $cursor: String) {\n address(address: $owner) {\n balances(first: $limit, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n coinType {\n repr\n }\n totalBalance\n addressBalance\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetAllBalancesQuery, GetAllBalancesQueryVariables>;\nexport const GetBalanceDocument = new TypedDocumentString(`\n query getBalance($owner: SuiAddress!, $coinType: String = \"0x2::sui::SUI\") {\n address(address: $owner) {\n balance(coinType: $coinType) {\n coinType {\n repr\n }\n totalBalance\n addressBalance\n }\n }\n}\n `) as unknown as TypedDocumentString<GetBalanceQuery, GetBalanceQueryVariables>;\nexport const GetChainIdentifierDocument = new TypedDocumentString(`\n query getChainIdentifier {\n checkpoint(sequenceNumber: 0) {\n digest\n }\n}\n `) as unknown as TypedDocumentString<GetChainIdentifierQuery, GetChainIdentifierQueryVariables>;\nexport const GetCoinMetadataDocument = new TypedDocumentString(`\n query getCoinMetadata($coinType: String!) {\n coinMetadata(coinType: $coinType) {\n address\n decimals\n name\n symbol\n description\n iconUrl\n }\n}\n `) as unknown as TypedDocumentString<GetCoinMetadataQuery, GetCoinMetadataQueryVariables>;\nexport const GetCoinsDocument = new TypedDocumentString(`\n query getCoins($owner: SuiAddress!, $first: Int, $cursor: String, $type: String = \"0x2::coin::Coin<0x2::sui::SUI>\") {\n address(address: $owner) {\n address\n objects(first: $first, after: $cursor, filter: {type: $type}) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n contents {\n json\n type {\n repr\n }\n }\n address\n version\n digest\n }\n }\n }\n}\n fragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<GetCoinsQuery, GetCoinsQueryVariables>;\nexport const GetCurrentSystemStateDocument = new TypedDocumentString(`\n query getCurrentSystemState {\n epoch {\n epochId\n referenceGasPrice\n startTimestamp\n protocolConfigs {\n protocolVersion\n }\n systemState {\n json\n }\n }\n}\n `) as unknown as TypedDocumentString<GetCurrentSystemStateQuery, GetCurrentSystemStateQueryVariables>;\nexport const GetDynamicFieldsDocument = new TypedDocumentString(`\n query getDynamicFields($parentId: SuiAddress!, $first: Int, $cursor: String, $includeValue: Boolean = false) {\n address(address: $parentId) {\n dynamicFields(first: $first, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n name {\n bcs\n type {\n repr\n }\n }\n value {\n __typename\n ... on MoveValue {\n bcs @include(if: $includeValue)\n type {\n repr\n }\n }\n ... on MoveObject {\n address\n contents {\n bcs @include(if: $includeValue)\n type {\n repr\n }\n }\n }\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetDynamicFieldsQuery, GetDynamicFieldsQueryVariables>;\nexport const GetMoveFunctionDocument = new TypedDocumentString(`\n query getMoveFunction($package: SuiAddress!, $module: String!, $function: String!) {\n package(address: $package) {\n module(name: $module) {\n function(name: $function) {\n name\n visibility\n isEntry\n typeParameters {\n constraints\n }\n parameters {\n signature\n }\n return {\n signature\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetMoveFunctionQuery, GetMoveFunctionQueryVariables>;\nexport const GetProtocolConfigDocument = new TypedDocumentString(`\n query getProtocolConfig {\n epoch {\n protocolConfigs {\n protocolVersion\n featureFlags {\n key\n value\n }\n configs {\n key\n value\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<GetProtocolConfigQuery, GetProtocolConfigQueryVariables>;\nexport const GetReferenceGasPriceDocument = new TypedDocumentString(`\n query getReferenceGasPrice {\n epoch {\n referenceGasPrice\n }\n}\n `) as unknown as TypedDocumentString<GetReferenceGasPriceQuery, GetReferenceGasPriceQueryVariables>;\nexport const ListEventsDocument = new TypedDocumentString(`\n query listEvents($filter: EventFilter, $first: Int, $after: String, $last: Int, $before: String) {\n events(\n filter: $filter\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n sequenceNumber\n transaction {\n digest\n effects {\n checkpoint {\n sequenceNumber\n }\n }\n }\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<ListEventsQuery, ListEventsQueryVariables>;\nexport const DefaultSuinsNameDocument = new TypedDocumentString(`\n query defaultSuinsName($address: SuiAddress!) {\n address(address: $address) {\n defaultNameRecord {\n domain\n }\n }\n}\n `) as unknown as TypedDocumentString<DefaultSuinsNameQuery, DefaultSuinsNameQueryVariables>;\nexport const ResolveNameServiceAddressDocument = new TypedDocumentString(`\n query resolveNameServiceAddress($name: String!) {\n address(name: $name) {\n address\n }\n}\n `) as unknown as TypedDocumentString<ResolveNameServiceAddressQuery, ResolveNameServiceAddressQueryVariables>;\nexport const GetOwnedObjectsDocument = new TypedDocumentString(`\n query getOwnedObjects($owner: SuiAddress!, $limit: Int, $cursor: String, $filter: ObjectFilter, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {\n address(address: $owner) {\n objects(first: $limit, after: $cursor, filter: $filter) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n ...MOVE_OBJECT_FIELDS\n }\n }\n }\n}\n fragment MOVE_OBJECT_FIELDS on MoveObject {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\nfragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;\nexport const MultiGetObjectsDocument = new TypedDocumentString(`\n query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {\n multiGetObjects(keys: $objectKeys) {\n ...OBJECT_FIELDS\n }\n}\n fragment OBJECT_FIELDS on Object {\n address\n digest\n version\n objectBcs @include(if: $includeObjectBcs)\n asMoveObject {\n contents {\n bcs @include(if: $includeContent)\n json @include(if: $includeJson)\n display @include(if: $includeDisplay) {\n output\n errors\n }\n type {\n repr\n }\n }\n }\n asMovePackage {\n __typename\n }\n owner {\n ...OBJECT_OWNER_FIELDS\n }\n previousTransaction @include(if: $includePreviousTransaction) {\n digest\n }\n}\nfragment OBJECT_OWNER_FIELDS on Owner {\n __typename\n ... on AddressOwner {\n address {\n address\n }\n }\n ... on ObjectOwner {\n address {\n address\n }\n }\n ... on Shared {\n initialSharedVersion\n }\n ... on ConsensusAddressOwner {\n startVersion\n address {\n address\n }\n }\n}`) as unknown as TypedDocumentString<MultiGetObjectsQuery, MultiGetObjectsQueryVariables>;\nexport const SimulateTransactionDocument = new TypedDocumentString(`\n query simulateTransaction($transaction: JSON!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeCommandResults: Boolean = false, $includeBcs: Boolean = false, $doGasSelection: Boolean = false, $checksEnabled: Boolean = true) {\n simulateTransaction(\n transaction: $transaction\n doGasSelection: $doGasSelection\n checksEnabled: $checksEnabled\n ) {\n effects {\n transaction {\n ...TRANSACTION_FIELDS\n }\n }\n outputs @include(if: $includeCommandResults) {\n returnValues {\n value {\n bcs\n }\n }\n mutatedReferences {\n value {\n bcs\n }\n }\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n timestamp\n checkpoint {\n sequenceNumber\n }\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<SimulateTransactionQuery, SimulateTransactionQueryVariables>;\nexport const ExecuteTransactionDocument = new TypedDocumentString(`\n mutation executeTransaction($transactionDataBcs: Base64!, $signatures: [Base64!]!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n executeTransaction(\n transactionDataBcs: $transactionDataBcs\n signatures: $signatures\n ) {\n effects {\n transaction {\n ...TRANSACTION_FIELDS\n }\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n timestamp\n checkpoint {\n sequenceNumber\n }\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<ExecuteTransactionMutation, ExecuteTransactionMutationVariables>;\nexport const GetTransactionBlockDocument = new TypedDocumentString(`\n query getTransactionBlock($digest: String!, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n transaction(digest: $digest) {\n ...TRANSACTION_FIELDS\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n timestamp\n checkpoint {\n sequenceNumber\n }\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<GetTransactionBlockQuery, GetTransactionBlockQueryVariables>;\nexport const ListTransactionsDocument = new TypedDocumentString(`\n query listTransactions($filter: TransactionFilter, $first: Int, $after: String, $last: Int, $before: String, $includeTransaction: Boolean = false, $includeEffects: Boolean = false, $includeEvents: Boolean = false, $includeBalanceChanges: Boolean = false, $includeObjectTypes: Boolean = false, $includeBcs: Boolean = false) {\n transactions(\n filter: $filter\n first: $first\n after: $after\n last: $last\n before: $before\n ) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n ...TRANSACTION_FIELDS\n }\n }\n}\n fragment TRANSACTION_FIELDS on Transaction {\n digest\n transactionJson @include(if: $includeTransaction)\n transactionBcs @include(if: $includeBcs)\n signatures {\n signatureBytes\n }\n effects {\n status\n timestamp\n checkpoint {\n sequenceNumber\n }\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n epoch {\n epochId\n }\n effectsBcs @include(if: $includeEffects)\n effectsJson @include(if: $includeObjectTypes)\n objectChanges(first: 50) @include(if: $includeObjectTypes) {\n nodes {\n address\n outputState {\n asMoveObject {\n contents {\n type {\n repr\n }\n }\n }\n }\n }\n }\n balanceChangesJson @include(if: $includeBalanceChanges)\n events(first: 50) @include(if: $includeEvents) {\n pageInfo {\n hasNextPage\n }\n nodes {\n transactionModule {\n package {\n address\n }\n name\n }\n sender {\n address\n }\n contents {\n type {\n repr\n }\n bcs\n json\n }\n }\n }\n }\n}`) as unknown as TypedDocumentString<ListTransactionsQuery, ListTransactionsQueryVariables>;\nexport const ResolveTransactionDocument = new TypedDocumentString(`\n query resolveTransaction($transaction: JSON!, $doGasSelection: Boolean = true, $checksEnabled: Boolean = true) {\n simulateTransaction(\n transaction: $transaction\n doGasSelection: $doGasSelection\n checksEnabled: $checksEnabled\n ) {\n effects {\n transaction {\n transactionBcs\n effects {\n epoch {\n epochId\n }\n status\n executionError {\n message\n abortCode\n identifier\n constant\n sourceLineNumber\n instructionOffset\n module {\n name\n package {\n address\n }\n }\n function {\n name\n }\n }\n }\n }\n }\n }\n}\n `) as unknown as TypedDocumentString<ResolveTransactionQuery, ResolveTransactionQueryVariables>;\nexport const VerifyZkLoginSignatureDocument = new TypedDocumentString(`\n query verifyZkLoginSignature($bytes: Base64!, $signature: Base64!, $intentScope: ZkLoginIntentScope!, $author: SuiAddress!) {\n verifyZkLoginSignature(\n bytes: $bytes\n signature: $signature\n intentScope: $intentScope\n author: $author\n ) {\n success\n }\n}\n `) as unknown as TypedDocumentString<VerifyZkLoginSignatureQuery, VerifyZkLoginSignatureQueryVariables>;\n"],"mappings":";;AAoCA,IAAY,8DAAL;;AAEL;;AAEA;;;;AA6IF,IAAY,oEAAL;;AAEL;;AAEA;;;AAwQF,IAAa,sBAAb,cACU,OAEV;CAKE,YAAY,OAAe,UAA4C;AACrE,QAAM,MAAM;AACZ,OAAK,QAAQ;AACb,OAAK,WAAW;;CAGlB,AAAS,WAAiE;AACxE,SAAO,KAAK;;;AAGhB,MAAa,iCAAiC,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;OAuB/D,EAAC,gBAAe,uBAAsB,CAAC;AAC9C,MAAa,2BAA2B,IAAI,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA,CAAQ,cAAA,CAAe,0BAAA;EAmB1B,wBAAA,CAAA,IAGE,eAAA,EAAiB,sBAAA,EACjB,OAAA,EAAS,uBAAA,EACT,IAAA,QAAY,OAAA,WAAa,OAAA;AAAA;AAAA,iBAqiBZ,4BAAA,iBACC,cAAA,CAAe,kBAAA,MAAA,CAE/B,WAAA,EAAa,mBAAA,EACb,OAAA;EACC,OAAA,GAAU,OAAA,GAAU,cAAA,CAAe,kBAAA;AAAA,IAElC,cAAA,CAAe,iBAAA,CAAkB,OAAA;AAAA,iBAiGpB,oCAAA,iBACC,cAAA,CAAe,0BAAA,MAAA,CAE/B,QAAA,EAAU,2BAAA,EACV,OAAA;EACC,OAAA,GAAU,OAAA,GAAU,cAAA,CAAe,0BAAA;AAAA,IAElC,cAAA,CAAe,yBAAA,CAA0B,OAAA"}
@@ -558,7 +558,9 @@ function transactionReadMaskPaths(include, prefix = "") {
558
558
  "digest",
559
559
  "transaction.digest",
560
560
  "signatures",
561
- "effects.status"
561
+ "effects.status",
562
+ "timestamp",
563
+ "checkpoint"
562
564
  ];
563
565
  if (include?.transaction) paths.push("transaction.sender", "transaction.gas_payment", "transaction.expiration", "transaction.kind");
564
566
  if (include?.bcs) paths.push("transaction.bcs");
@@ -799,7 +801,7 @@ function parseTransactionEffects({ effects }) {
799
801
  });
800
802
  return {
801
803
  bcs: effects.bcs?.value,
802
- version: 2,
804
+ version: effects.version ?? 2,
803
805
  status: effects.status?.success ? {
804
806
  success: true,
805
807
  error: null
@@ -877,6 +879,8 @@ function parseGrpcTransactionResponse(transaction, options) {
877
879
  const result = {
878
880
  digest: transaction.digest,
879
881
  epoch: transaction.effects?.epoch?.toString() ?? null,
882
+ timestampMs: transaction.timestamp ? Number(transaction.timestamp.seconds) * 1e3 + Math.floor(transaction.timestamp.nanos / 1e6) : null,
883
+ checkpoint: transaction.checkpoint?.toString() ?? null,
880
884
  status,
881
885
  effects,
882
886
  objectTypes: include?.objectTypes ? objectTypes : void 0,