@mysten/sui 2.5.1 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/client/core-resolver.mjs +6 -3
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/client/core.d.mts +8 -8
- package/dist/client/core.d.mts.map +1 -1
- package/dist/client/core.mjs +11 -5
- package/dist/client/core.mjs.map +1 -1
- package/dist/client/types.d.mts +73 -18
- package/dist/client/types.d.mts.map +1 -1
- package/dist/cryptography/signature.d.mts +6 -6
- package/dist/graphql/client.d.mts +16 -1
- package/dist/graphql/client.d.mts.map +1 -1
- package/dist/graphql/client.mjs +50 -2
- package/dist/graphql/client.mjs.map +1 -1
- package/dist/graphql/core.d.mts +5 -5
- package/dist/graphql/core.d.mts.map +1 -1
- package/dist/graphql/core.mjs +28 -49
- package/dist/graphql/core.mjs.map +1 -1
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs +25 -7
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +706 -98
- package/dist/grpc/client.d.mts +16 -1
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +42 -2
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts +5 -5
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +18 -35
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/object.d.mts +38 -1
- package/dist/grpc/proto/sui/rpc/v2/object.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs +26 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +8 -0
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs +23 -12
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +2 -2
- package/dist/grpc/proto/types.mjs +2 -1
- package/dist/jsonRpc/core.d.mts +6 -6
- package/dist/jsonRpc/core.d.mts.map +1 -1
- package/dist/jsonRpc/core.mjs +14 -5
- package/dist/jsonRpc/core.mjs.map +1 -1
- package/dist/transactions/Transaction.d.mts +6 -6
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/executor/caching.mjs.map +1 -1
- package/dist/transactions/executor/parallel.d.mts +1 -1
- package/dist/transactions/executor/parallel.d.mts.map +1 -1
- package/dist/transactions/executor/parallel.mjs.map +1 -1
- package/dist/transactions/executor/serial.d.mts +1 -1
- package/dist/transactions/executor/serial.d.mts.map +1 -1
- package/dist/transactions/executor/serial.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/package.json +1 -1
- package/src/client/core-resolver.ts +9 -8
- package/src/client/core.ts +28 -18
- package/src/client/types.ts +73 -18
- package/src/graphql/client.ts +96 -4
- package/src/graphql/core.ts +43 -88
- package/src/graphql/generated/queries.ts +271 -44
- package/src/graphql/generated/schema.graphql +328 -25
- package/src/graphql/generated/tada-env.ts +779 -58
- package/src/graphql/queries/getDynamicFields.graphql +8 -1
- package/src/graphql/queries/objects.graphql +10 -0
- package/src/graphql/queries/transactions.graphql +1 -3
- package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -1
- package/src/grpc/client.ts +62 -4
- package/src/grpc/core.ts +42 -39
- package/src/grpc/proto/sui/rpc/v2/object.ts +44 -0
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +16 -0
- package/src/jsonRpc/core.ts +18 -7
- package/src/transactions/executor/caching.ts +2 -2
- package/src/transactions/executor/parallel.ts +1 -1
- package/src/transactions/executor/serial.ts +1 -1
- package/src/version.ts +1 -1
|
@@ -574,6 +574,25 @@ export type CheckpointFilter = {
|
|
|
574
574
|
beforeCheckpoint?: InputMaybe<Scalars['UInt53']['input']>;
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
+
/** A G1 elliptic curve point with 3 base10-encoded Bn254 field elements. */
|
|
578
|
+
export type CircomG1 = {
|
|
579
|
+
__typename?: 'CircomG1';
|
|
580
|
+
e0?: Maybe<Scalars['String']['output']>;
|
|
581
|
+
e1?: Maybe<Scalars['String']['output']>;
|
|
582
|
+
e2?: Maybe<Scalars['String']['output']>;
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
/** A G2 elliptic curve point with 6 base10-encoded Bn254 field elements. */
|
|
586
|
+
export type CircomG2 = {
|
|
587
|
+
__typename?: 'CircomG2';
|
|
588
|
+
e00?: Maybe<Scalars['String']['output']>;
|
|
589
|
+
e01?: Maybe<Scalars['String']['output']>;
|
|
590
|
+
e10?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
e11?: Maybe<Scalars['String']['output']>;
|
|
592
|
+
e20?: Maybe<Scalars['String']['output']>;
|
|
593
|
+
e21?: Maybe<Scalars['String']['output']>;
|
|
594
|
+
};
|
|
595
|
+
|
|
577
596
|
/** System transaction for creating the coin deny list state. */
|
|
578
597
|
export type CoinDenyListStateCreateTransaction = {
|
|
579
598
|
__typename?: 'CoinDenyListStateCreateTransaction';
|
|
@@ -1294,6 +1313,22 @@ export type DynamicFieldName = {
|
|
|
1294
1313
|
/** The value of a dynamic field (`MoveValue`) or dynamic object field (`MoveObject`). */
|
|
1295
1314
|
export type DynamicFieldValue = MoveObject | MoveValue;
|
|
1296
1315
|
|
|
1316
|
+
/** An Ed25519 public key. */
|
|
1317
|
+
export type Ed25519PublicKey = {
|
|
1318
|
+
__typename?: 'Ed25519PublicKey';
|
|
1319
|
+
/** The raw public key bytes. */
|
|
1320
|
+
bytes?: Maybe<Scalars['Base64']['output']>;
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1323
|
+
/** An Ed25519 signature. */
|
|
1324
|
+
export type Ed25519Signature = {
|
|
1325
|
+
__typename?: 'Ed25519Signature';
|
|
1326
|
+
/** The public key bytes. */
|
|
1327
|
+
publicKey?: Maybe<Scalars['Base64']['output']>;
|
|
1328
|
+
/** The raw signature bytes. */
|
|
1329
|
+
signature?: Maybe<Scalars['Base64']['output']>;
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1297
1332
|
/** System transaction that supersedes `ChangeEpochTransaction` as the new way to run transactions at the end of an epoch. Behaves similarly to `ChangeEpochTransaction` but can accommodate other optional transactions to run at the end of the epoch. */
|
|
1298
1333
|
export type EndOfEpochTransaction = {
|
|
1299
1334
|
__typename?: 'EndOfEpochTransaction';
|
|
@@ -1597,16 +1632,11 @@ export type ExecutionError = {
|
|
|
1597
1632
|
sourceLineNumber?: Maybe<Scalars['Int']['output']>;
|
|
1598
1633
|
};
|
|
1599
1634
|
|
|
1600
|
-
/** The execution result of a transaction, including the transaction effects
|
|
1635
|
+
/** The execution result of a transaction, including the transaction effects. */
|
|
1601
1636
|
export type ExecutionResult = {
|
|
1602
1637
|
__typename?: 'ExecutionResult';
|
|
1603
|
-
/** The effects of the transaction execution
|
|
1638
|
+
/** The effects of the transaction execution. */
|
|
1604
1639
|
effects?: Maybe<TransactionEffects>;
|
|
1605
|
-
/**
|
|
1606
|
-
* Errors that occurred during execution (e.g., network errors, validation failures).
|
|
1607
|
-
* These are distinct from execution failures within the transaction itself.
|
|
1608
|
-
*/
|
|
1609
|
-
errors?: Maybe<Array<Scalars['String']['output']>>;
|
|
1610
1640
|
};
|
|
1611
1641
|
|
|
1612
1642
|
/** The execution status of this transaction: success or failure. */
|
|
@@ -2864,6 +2894,12 @@ export type MoveValue = {
|
|
|
2864
2894
|
* Values of other types cannot be interpreted as addresses, and `null` is returned.
|
|
2865
2895
|
*/
|
|
2866
2896
|
asAddress?: Maybe<Address>;
|
|
2897
|
+
/**
|
|
2898
|
+
* Attempts to treat this value as a `vector<T>` and paginate over its elements.
|
|
2899
|
+
*
|
|
2900
|
+
* Values of other types cannot be interpreted as vectors, and `null` is returned.
|
|
2901
|
+
*/
|
|
2902
|
+
asVector?: Maybe<MoveValueConnection>;
|
|
2867
2903
|
/** The BCS representation of this value, Base64-encoded. */
|
|
2868
2904
|
bcs?: Maybe<Scalars['Base64']['output']>;
|
|
2869
2905
|
/**
|
|
@@ -2903,6 +2939,14 @@ export type MoveValue = {
|
|
|
2903
2939
|
};
|
|
2904
2940
|
|
|
2905
2941
|
|
|
2942
|
+
export type MoveValueAsVectorArgs = {
|
|
2943
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
2944
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
2945
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2946
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
2947
|
+
};
|
|
2948
|
+
|
|
2949
|
+
|
|
2906
2950
|
export type MoveValueExtractArgs = {
|
|
2907
2951
|
path: Scalars['String']['input'];
|
|
2908
2952
|
};
|
|
@@ -2912,6 +2956,25 @@ export type MoveValueFormatArgs = {
|
|
|
2912
2956
|
format: Scalars['String']['input'];
|
|
2913
2957
|
};
|
|
2914
2958
|
|
|
2959
|
+
export type MoveValueConnection = {
|
|
2960
|
+
__typename?: 'MoveValueConnection';
|
|
2961
|
+
/** A list of edges. */
|
|
2962
|
+
edges: Array<MoveValueEdge>;
|
|
2963
|
+
/** A list of nodes. */
|
|
2964
|
+
nodes: Array<MoveValue>;
|
|
2965
|
+
/** Information to aid in pagination. */
|
|
2966
|
+
pageInfo: PageInfo;
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
/** An edge in a connection. */
|
|
2970
|
+
export type MoveValueEdge = {
|
|
2971
|
+
__typename?: 'MoveValueEdge';
|
|
2972
|
+
/** A cursor for use in pagination */
|
|
2973
|
+
cursor: Scalars['String']['output'];
|
|
2974
|
+
/** The item at the end of the edge */
|
|
2975
|
+
node: MoveValue;
|
|
2976
|
+
};
|
|
2977
|
+
|
|
2915
2978
|
/**
|
|
2916
2979
|
* The visibility modifier describes which modules can access this module member.
|
|
2917
2980
|
*
|
|
@@ -2926,6 +2989,42 @@ export enum MoveVisibility {
|
|
|
2926
2989
|
Public = 'PUBLIC'
|
|
2927
2990
|
}
|
|
2928
2991
|
|
|
2992
|
+
/** The multisig committee definition. */
|
|
2993
|
+
export type MultisigCommittee = {
|
|
2994
|
+
__typename?: 'MultisigCommittee';
|
|
2995
|
+
/** The committee members (public key + weight). */
|
|
2996
|
+
members?: Maybe<Array<MultisigMember>>;
|
|
2997
|
+
/** The threshold number of weight needed for a valid multisig. */
|
|
2998
|
+
threshold?: Maybe<Scalars['Int']['output']>;
|
|
2999
|
+
};
|
|
3000
|
+
|
|
3001
|
+
/** A single member of a multisig committee. */
|
|
3002
|
+
export type MultisigMember = {
|
|
3003
|
+
__typename?: 'MultisigMember';
|
|
3004
|
+
/** The member's public key. */
|
|
3005
|
+
publicKey?: Maybe<MultisigMemberPublicKey>;
|
|
3006
|
+
/** The member's weight in the committee. */
|
|
3007
|
+
weight?: Maybe<Scalars['Int']['output']>;
|
|
3008
|
+
};
|
|
3009
|
+
|
|
3010
|
+
/** A multisig member's public key, varying by scheme. */
|
|
3011
|
+
export type MultisigMemberPublicKey = Ed25519PublicKey | PasskeyPublicKey | Secp256K1PublicKey | Secp256R1PublicKey | ZkLoginPublicIdentifier;
|
|
3012
|
+
|
|
3013
|
+
/** An aggregated multisig signature. */
|
|
3014
|
+
export type MultisigSignature = {
|
|
3015
|
+
__typename?: 'MultisigSignature';
|
|
3016
|
+
/** A bitmap indicating which members of the committee signed. */
|
|
3017
|
+
bitmap?: Maybe<Scalars['Int']['output']>;
|
|
3018
|
+
/** The multisig committee (public keys + weights + threshold). */
|
|
3019
|
+
committee?: Maybe<MultisigCommittee>;
|
|
3020
|
+
/**
|
|
3021
|
+
* The individual member signatures, one per signer who participated.
|
|
3022
|
+
* Compressed signatures within a multisig do not include the signer's public key,
|
|
3023
|
+
* so `publicKey` will be `null` for simple signature schemes (Ed25519, Secp256k1, Secp256r1).
|
|
3024
|
+
*/
|
|
3025
|
+
signatures?: Maybe<Array<SignatureScheme>>;
|
|
3026
|
+
};
|
|
3027
|
+
|
|
2929
3028
|
/** A transaction that wanted to mutate a consensus-managed object but couldn't because it became not-consensus-managed before the transaction executed (for example, it was deleted, turned into an owned object, or wrapped). */
|
|
2930
3029
|
export type MutateConsensusStreamEnded = {
|
|
2931
3030
|
__typename?: 'MutateConsensusStreamEnded';
|
|
@@ -3447,6 +3546,23 @@ export type PageInfo = {
|
|
|
3447
3546
|
startCursor?: Maybe<Scalars['String']['output']>;
|
|
3448
3547
|
};
|
|
3449
3548
|
|
|
3549
|
+
/** A Passkey public key. */
|
|
3550
|
+
export type PasskeyPublicKey = {
|
|
3551
|
+
__typename?: 'PasskeyPublicKey';
|
|
3552
|
+
/** The raw public key bytes. */
|
|
3553
|
+
bytes?: Maybe<Scalars['Base64']['output']>;
|
|
3554
|
+
};
|
|
3555
|
+
|
|
3556
|
+
export type PasskeySignature = {
|
|
3557
|
+
__typename?: 'PasskeySignature';
|
|
3558
|
+
/** The authenticator data returned by the passkey device. */
|
|
3559
|
+
authenticatorData?: Maybe<Scalars['Base64']['output']>;
|
|
3560
|
+
/** The client data JSON string passed to the authenticator. */
|
|
3561
|
+
clientDataJson?: Maybe<Scalars['String']['output']>;
|
|
3562
|
+
/** The inner user signature (secp256r1). */
|
|
3563
|
+
signature?: Maybe<SignatureScheme>;
|
|
3564
|
+
};
|
|
3565
|
+
|
|
3450
3566
|
export type PerEpochConfig = {
|
|
3451
3567
|
__typename?: 'PerEpochConfig';
|
|
3452
3568
|
/** The per-epoch configuration object as of when the transaction was executed. */
|
|
@@ -3767,16 +3883,16 @@ export type Query = {
|
|
|
3767
3883
|
*/
|
|
3768
3884
|
type?: Maybe<MoveType>;
|
|
3769
3885
|
/**
|
|
3770
|
-
* Verify a zkLogin signature
|
|
3886
|
+
* Verify a zkLogin signature is from the given `author`.
|
|
3771
3887
|
*
|
|
3772
|
-
* Returns
|
|
3888
|
+
* Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
|
|
3773
3889
|
*
|
|
3774
3890
|
* - `bytes` are either the bytes of a serialized personal message, or `TransactionData`, Base64-encoded.
|
|
3775
3891
|
* - `signature` is a serialized zkLogin signature, also Base64-encoded.
|
|
3776
3892
|
* - `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
|
|
3777
3893
|
* - `author` is the signer's address.
|
|
3778
3894
|
*/
|
|
3779
|
-
verifyZkLoginSignature
|
|
3895
|
+
verifyZkLoginSignature?: Maybe<ZkLoginVerifyResult>;
|
|
3780
3896
|
};
|
|
3781
3897
|
|
|
3782
3898
|
|
|
@@ -4018,6 +4134,38 @@ export enum RegulatedState {
|
|
|
4018
4134
|
Unregulated = 'UNREGULATED'
|
|
4019
4135
|
}
|
|
4020
4136
|
|
|
4137
|
+
/** A Secp256k1 public key. */
|
|
4138
|
+
export type Secp256K1PublicKey = {
|
|
4139
|
+
__typename?: 'Secp256K1PublicKey';
|
|
4140
|
+
/** The raw public key bytes. */
|
|
4141
|
+
bytes?: Maybe<Scalars['Base64']['output']>;
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
/** A Secp256k1 signature. */
|
|
4145
|
+
export type Secp256K1Signature = {
|
|
4146
|
+
__typename?: 'Secp256K1Signature';
|
|
4147
|
+
/** The public key bytes. */
|
|
4148
|
+
publicKey?: Maybe<Scalars['Base64']['output']>;
|
|
4149
|
+
/** The raw signature bytes. */
|
|
4150
|
+
signature?: Maybe<Scalars['Base64']['output']>;
|
|
4151
|
+
};
|
|
4152
|
+
|
|
4153
|
+
/** A Secp256r1 public key. */
|
|
4154
|
+
export type Secp256R1PublicKey = {
|
|
4155
|
+
__typename?: 'Secp256R1PublicKey';
|
|
4156
|
+
/** The raw public key bytes. */
|
|
4157
|
+
bytes?: Maybe<Scalars['Base64']['output']>;
|
|
4158
|
+
};
|
|
4159
|
+
|
|
4160
|
+
/** A Secp256r1 signature. */
|
|
4161
|
+
export type Secp256R1Signature = {
|
|
4162
|
+
__typename?: 'Secp256R1Signature';
|
|
4163
|
+
/** The public key bytes. */
|
|
4164
|
+
publicKey?: Maybe<Scalars['Base64']['output']>;
|
|
4165
|
+
/** The raw signature bytes. */
|
|
4166
|
+
signature?: Maybe<Scalars['Base64']['output']>;
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4021
4169
|
export type ServiceConfig = {
|
|
4022
4170
|
__typename?: 'ServiceConfig';
|
|
4023
4171
|
/** Range of checkpoints for which data is available for a query type, field and optional filter. If filter is not provided, the strictest retention range for the query and type is returned. */
|
|
@@ -4157,21 +4305,14 @@ export type SharedInput = {
|
|
|
4157
4305
|
mutable?: Maybe<Scalars['Boolean']['output']>;
|
|
4158
4306
|
};
|
|
4159
4307
|
|
|
4160
|
-
/** The
|
|
4308
|
+
/** The structured details of a signature, varying by scheme. */
|
|
4309
|
+
export type SignatureScheme = Ed25519Signature | MultisigSignature | PasskeySignature | Secp256K1Signature | Secp256R1Signature | ZkLoginSignature;
|
|
4310
|
+
|
|
4311
|
+
/** The result of simulating a transaction, including the predicted effects. */
|
|
4161
4312
|
export type SimulationResult = {
|
|
4162
4313
|
__typename?: 'SimulationResult';
|
|
4163
|
-
/**
|
|
4164
|
-
* The predicted effects of the transaction if it were executed.
|
|
4165
|
-
*
|
|
4166
|
-
* `None` if the simulation failed due to an error.
|
|
4167
|
-
*/
|
|
4314
|
+
/** The predicted effects of the transaction if it were executed. */
|
|
4168
4315
|
effects?: Maybe<TransactionEffects>;
|
|
4169
|
-
/**
|
|
4170
|
-
* Error message if the simulation failed.
|
|
4171
|
-
*
|
|
4172
|
-
* `None` if the simulation was successful.
|
|
4173
|
-
*/
|
|
4174
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
4175
4316
|
/** The intermediate outputs for each command of the transaction simulation, including contents of mutated references and return values. */
|
|
4176
4317
|
outputs?: Maybe<Array<CommandResult>>;
|
|
4177
4318
|
};
|
|
@@ -4469,6 +4610,8 @@ export type UpgradeCommand = {
|
|
|
4469
4610
|
|
|
4470
4611
|
export type UserSignature = {
|
|
4471
4612
|
__typename?: 'UserSignature';
|
|
4613
|
+
/** The structured signature details, parsed by scheme. */
|
|
4614
|
+
scheme?: Maybe<SignatureScheme>;
|
|
4472
4615
|
/**
|
|
4473
4616
|
* The signature bytes, Base64-encoded.
|
|
4474
4617
|
* For simple signatures: flag || signature || pubkey
|
|
@@ -4573,6 +4716,28 @@ export type WriteAccumulatorStorageCostTransaction = {
|
|
|
4573
4716
|
_?: Maybe<Scalars['Boolean']['output']>;
|
|
4574
4717
|
};
|
|
4575
4718
|
|
|
4719
|
+
/** A Base64-encoded claim from the JWT used in zkLogin. */
|
|
4720
|
+
export type ZkLoginClaim = {
|
|
4721
|
+
__typename?: 'ZkLoginClaim';
|
|
4722
|
+
/** The index mod 4 used for Base64 decoding alignment. */
|
|
4723
|
+
indexMod4?: Maybe<Scalars['Int']['output']>;
|
|
4724
|
+
/** The Base64url-unpadded encoded claim value. */
|
|
4725
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
4726
|
+
};
|
|
4727
|
+
|
|
4728
|
+
/** The zkLogin inputs including proof, claim details, and JWT header. */
|
|
4729
|
+
export type ZkLoginInputs = {
|
|
4730
|
+
__typename?: 'ZkLoginInputs';
|
|
4731
|
+
/** The address seed as a base10-encoded string. */
|
|
4732
|
+
addressSeed?: Maybe<Scalars['String']['output']>;
|
|
4733
|
+
/** The Base64-encoded JWT header. */
|
|
4734
|
+
headerBase64?: Maybe<Scalars['String']['output']>;
|
|
4735
|
+
/** The Base64-encoded issuer claim details. */
|
|
4736
|
+
issBase64Details?: Maybe<ZkLoginClaim>;
|
|
4737
|
+
/** The zero-knowledge proof points. */
|
|
4738
|
+
proofPoints?: Maybe<ZkLoginProof>;
|
|
4739
|
+
};
|
|
4740
|
+
|
|
4576
4741
|
/** An enum that specifies the intent scope to be used to parse the bytes for signature verification. */
|
|
4577
4742
|
export enum ZkLoginIntentScope {
|
|
4578
4743
|
/** Indicates that the bytes are to be parsed as a personal message. */
|
|
@@ -4581,12 +4746,53 @@ export enum ZkLoginIntentScope {
|
|
|
4581
4746
|
TransactionData = 'TRANSACTION_DATA'
|
|
4582
4747
|
}
|
|
4583
4748
|
|
|
4749
|
+
/** A JWK (JSON Web Key) identifier. */
|
|
4750
|
+
export type ZkLoginJwkId = {
|
|
4751
|
+
__typename?: 'ZkLoginJwkId';
|
|
4752
|
+
/** The OIDC provider issuer string. */
|
|
4753
|
+
iss?: Maybe<Scalars['String']['output']>;
|
|
4754
|
+
/** The key ID that identifies the JWK. */
|
|
4755
|
+
kid?: Maybe<Scalars['String']['output']>;
|
|
4756
|
+
};
|
|
4757
|
+
|
|
4758
|
+
/** The zero-knowledge proof consisting of three elliptic curve points. */
|
|
4759
|
+
export type ZkLoginProof = {
|
|
4760
|
+
__typename?: 'ZkLoginProof';
|
|
4761
|
+
/** G1 point 'a'. */
|
|
4762
|
+
a?: Maybe<CircomG1>;
|
|
4763
|
+
/** G2 point 'b'. */
|
|
4764
|
+
b?: Maybe<CircomG2>;
|
|
4765
|
+
/** G1 point 'c'. */
|
|
4766
|
+
c?: Maybe<CircomG1>;
|
|
4767
|
+
};
|
|
4768
|
+
|
|
4769
|
+
/** A zkLogin public identifier, containing the OAuth issuer and address seed. */
|
|
4770
|
+
export type ZkLoginPublicIdentifier = {
|
|
4771
|
+
__typename?: 'ZkLoginPublicIdentifier';
|
|
4772
|
+
/** The address seed as a decimal string. */
|
|
4773
|
+
addressSeed?: Maybe<Scalars['String']['output']>;
|
|
4774
|
+
/** The OAuth provider issuer string (e.g. "https://accounts.google.com"). */
|
|
4775
|
+
iss?: Maybe<Scalars['String']['output']>;
|
|
4776
|
+
};
|
|
4777
|
+
|
|
4778
|
+
export type ZkLoginSignature = {
|
|
4779
|
+
__typename?: 'ZkLoginSignature';
|
|
4780
|
+
/** The zkLogin inputs including proof, claim details, and JWT header. */
|
|
4781
|
+
inputs?: Maybe<ZkLoginInputs>;
|
|
4782
|
+
/** The JWK identifier used to verify the zkLogin proof. */
|
|
4783
|
+
jwkId?: Maybe<ZkLoginJwkId>;
|
|
4784
|
+
/** The maximum epoch for which this signature is valid. */
|
|
4785
|
+
maxEpoch?: Maybe<Scalars['UInt53']['output']>;
|
|
4786
|
+
/** The public identifier (issuer + address seed) for this zkLogin authenticator. */
|
|
4787
|
+
publicIdentifier?: Maybe<ZkLoginPublicIdentifier>;
|
|
4788
|
+
/** The inner user signature (ed25519/secp256k1/secp256r1). */
|
|
4789
|
+
signature?: Maybe<SignatureScheme>;
|
|
4790
|
+
};
|
|
4791
|
+
|
|
4584
4792
|
/** The result of the zkLogin signature verification. */
|
|
4585
4793
|
export type ZkLoginVerifyResult = {
|
|
4586
4794
|
__typename?: 'ZkLoginVerifyResult';
|
|
4587
|
-
/**
|
|
4588
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
4589
|
-
/** The boolean result of the verification. If true, errors should be empty. */
|
|
4795
|
+
/** Whether the signature was verified successfully. */
|
|
4590
4796
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
4591
4797
|
};
|
|
4592
4798
|
|
|
@@ -4644,12 +4850,13 @@ export type GetDynamicFieldsQueryVariables = Exact<{
|
|
|
4644
4850
|
parentId: Scalars['SuiAddress']['input'];
|
|
4645
4851
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4646
4852
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
4853
|
+
includeValue?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4647
4854
|
}>;
|
|
4648
4855
|
|
|
4649
4856
|
|
|
4650
4857
|
export type GetDynamicFieldsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', dynamicFields?: { __typename?: 'DynamicFieldConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'DynamicField', name?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, value?:
|
|
4651
|
-
| { __typename: 'MoveObject', address: string, contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null }
|
|
4652
|
-
| { __typename: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null }
|
|
4858
|
+
| { __typename: 'MoveObject', address: string, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }
|
|
4859
|
+
| { __typename: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null }
|
|
4653
4860
|
| null }> } | null } | null };
|
|
4654
4861
|
|
|
4655
4862
|
export type GetMoveFunctionQueryVariables = Exact<{
|
|
@@ -4682,10 +4889,11 @@ export type GetOwnedObjectsQueryVariables = Exact<{
|
|
|
4682
4889
|
includePreviousTransaction?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4683
4890
|
includeObjectBcs?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4684
4891
|
includeJson?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4892
|
+
includeDisplay?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4685
4893
|
}>;
|
|
4686
4894
|
|
|
4687
4895
|
|
|
4688
|
-
export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects?: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
|
|
4896
|
+
export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects?: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
|
|
4689
4897
|
| { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
|
|
4690
4898
|
| { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
|
|
4691
4899
|
| { __typename: 'Immutable' }
|
|
@@ -4699,10 +4907,11 @@ export type MultiGetObjectsQueryVariables = Exact<{
|
|
|
4699
4907
|
includePreviousTransaction?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4700
4908
|
includeObjectBcs?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4701
4909
|
includeJson?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4910
|
+
includeDisplay?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4702
4911
|
}>;
|
|
4703
4912
|
|
|
4704
4913
|
|
|
4705
|
-
export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Array<{ __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
|
|
4914
|
+
export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Array<{ __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
|
|
4706
4915
|
| { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
|
|
4707
4916
|
| { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
|
|
4708
4917
|
| { __typename: 'Immutable' }
|
|
@@ -4710,7 +4919,7 @@ export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Arra
|
|
|
4710
4919
|
| { __typename: 'Shared', initialSharedVersion?: number | null }
|
|
4711
4920
|
| null, previousTransaction?: { __typename?: 'Transaction', digest: string } | null } | null> };
|
|
4712
4921
|
|
|
4713
|
-
export type Object_FieldsFragment = { __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
|
|
4922
|
+
export type Object_FieldsFragment = { __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
|
|
4714
4923
|
| { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
|
|
4715
4924
|
| { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
|
|
4716
4925
|
| { __typename: 'Immutable' }
|
|
@@ -4718,7 +4927,7 @@ export type Object_FieldsFragment = { __typename?: 'Object', address: string, di
|
|
|
4718
4927
|
| { __typename: 'Shared', initialSharedVersion?: number | null }
|
|
4719
4928
|
| null, previousTransaction?: { __typename?: 'Transaction', digest: string } | null };
|
|
4720
4929
|
|
|
4721
|
-
export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
|
|
4930
|
+
export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
|
|
4722
4931
|
| { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
|
|
4723
4932
|
| { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
|
|
4724
4933
|
| { __typename: 'Immutable' }
|
|
@@ -4758,7 +4967,7 @@ export type SimulateTransactionQueryVariables = Exact<{
|
|
|
4758
4967
|
}>;
|
|
4759
4968
|
|
|
4760
4969
|
|
|
4761
|
-
export type SimulateTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult',
|
|
4970
|
+
export type SimulateTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null, outputs?: Array<{ __typename?: 'CommandResult', returnValues?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null, mutatedReferences?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null }> | null } };
|
|
4762
4971
|
|
|
4763
4972
|
export type ExecuteTransactionMutationVariables = Exact<{
|
|
4764
4973
|
transactionDataBcs: Scalars['Base64']['input'];
|
|
@@ -4772,7 +4981,7 @@ export type ExecuteTransactionMutationVariables = Exact<{
|
|
|
4772
4981
|
}>;
|
|
4773
4982
|
|
|
4774
4983
|
|
|
4775
|
-
export type ExecuteTransactionMutation = { __typename?: 'Mutation', executeTransaction: { __typename?: 'ExecutionResult',
|
|
4984
|
+
export type ExecuteTransactionMutation = { __typename?: 'Mutation', executeTransaction: { __typename?: 'ExecutionResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null } };
|
|
4776
4985
|
|
|
4777
4986
|
export type GetTransactionBlockQueryVariables = Exact<{
|
|
4778
4987
|
digest: Scalars['String']['input'];
|
|
@@ -4785,9 +4994,9 @@ export type GetTransactionBlockQueryVariables = Exact<{
|
|
|
4785
4994
|
}>;
|
|
4786
4995
|
|
|
4787
4996
|
|
|
4788
|
-
export type GetTransactionBlockQuery = { __typename?: 'Query', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null };
|
|
4997
|
+
export type GetTransactionBlockQuery = { __typename?: 'Query', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null };
|
|
4789
4998
|
|
|
4790
|
-
export type Transaction_FieldsFragment = { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null };
|
|
4999
|
+
export type Transaction_FieldsFragment = { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null };
|
|
4791
5000
|
|
|
4792
5001
|
export type ResolveTransactionQueryVariables = Exact<{
|
|
4793
5002
|
transaction: Scalars['JSON']['input'];
|
|
@@ -4795,7 +5004,7 @@ export type ResolveTransactionQueryVariables = Exact<{
|
|
|
4795
5004
|
}>;
|
|
4796
5005
|
|
|
4797
5006
|
|
|
4798
|
-
export type ResolveTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult',
|
|
5007
|
+
export type ResolveTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', transactionBcs?: string | null, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null } | null } | null } | null } };
|
|
4799
5008
|
|
|
4800
5009
|
export type VerifyZkLoginSignatureQueryVariables = Exact<{
|
|
4801
5010
|
bytes: Scalars['Base64']['input'];
|
|
@@ -4805,7 +5014,7 @@ export type VerifyZkLoginSignatureQueryVariables = Exact<{
|
|
|
4805
5014
|
}>;
|
|
4806
5015
|
|
|
4807
5016
|
|
|
4808
|
-
export type VerifyZkLoginSignatureQuery = { __typename?: 'Query', verifyZkLoginSignature
|
|
5017
|
+
export type VerifyZkLoginSignatureQuery = { __typename?: 'Query', verifyZkLoginSignature?: { __typename?: 'ZkLoginVerifyResult', success?: boolean | null } | null };
|
|
4809
5018
|
|
|
4810
5019
|
export class TypedDocumentString<TResult, TVariables>
|
|
4811
5020
|
extends String
|
|
@@ -4859,6 +5068,10 @@ export const Object_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
4859
5068
|
contents {
|
|
4860
5069
|
bcs @include(if: $includeContent)
|
|
4861
5070
|
json @include(if: $includeJson)
|
|
5071
|
+
display @include(if: $includeDisplay) {
|
|
5072
|
+
output
|
|
5073
|
+
errors
|
|
5074
|
+
}
|
|
4862
5075
|
type {
|
|
4863
5076
|
repr
|
|
4864
5077
|
}
|
|
@@ -4905,6 +5118,10 @@ export const Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
4905
5118
|
contents {
|
|
4906
5119
|
bcs @include(if: $includeContent)
|
|
4907
5120
|
json @include(if: $includeJson)
|
|
5121
|
+
display @include(if: $includeDisplay) {
|
|
5122
|
+
output
|
|
5123
|
+
errors
|
|
5124
|
+
}
|
|
4908
5125
|
type {
|
|
4909
5126
|
repr
|
|
4910
5127
|
}
|
|
@@ -5004,6 +5221,7 @@ export const Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
5004
5221
|
repr
|
|
5005
5222
|
}
|
|
5006
5223
|
bcs
|
|
5224
|
+
json
|
|
5007
5225
|
}
|
|
5008
5226
|
}
|
|
5009
5227
|
}
|
|
@@ -5125,7 +5343,7 @@ export const GetCurrentSystemStateDocument = new TypedDocumentString(`
|
|
|
5125
5343
|
}
|
|
5126
5344
|
`) as unknown as TypedDocumentString<GetCurrentSystemStateQuery, GetCurrentSystemStateQueryVariables>;
|
|
5127
5345
|
export const GetDynamicFieldsDocument = new TypedDocumentString(`
|
|
5128
|
-
query getDynamicFields($parentId: SuiAddress!, $first: Int, $cursor: String) {
|
|
5346
|
+
query getDynamicFields($parentId: SuiAddress!, $first: Int, $cursor: String, $includeValue: Boolean = false) {
|
|
5129
5347
|
address(address: $parentId) {
|
|
5130
5348
|
dynamicFields(first: $first, after: $cursor) {
|
|
5131
5349
|
pageInfo {
|
|
@@ -5142,6 +5360,7 @@ export const GetDynamicFieldsDocument = new TypedDocumentString(`
|
|
|
5142
5360
|
value {
|
|
5143
5361
|
__typename
|
|
5144
5362
|
... on MoveValue {
|
|
5363
|
+
bcs @include(if: $includeValue)
|
|
5145
5364
|
type {
|
|
5146
5365
|
repr
|
|
5147
5366
|
}
|
|
@@ -5149,6 +5368,7 @@ export const GetDynamicFieldsDocument = new TypedDocumentString(`
|
|
|
5149
5368
|
... on MoveObject {
|
|
5150
5369
|
address
|
|
5151
5370
|
contents {
|
|
5371
|
+
bcs @include(if: $includeValue)
|
|
5152
5372
|
type {
|
|
5153
5373
|
repr
|
|
5154
5374
|
}
|
|
@@ -5199,7 +5419,7 @@ export const DefaultSuinsNameDocument = new TypedDocumentString(`
|
|
|
5199
5419
|
}
|
|
5200
5420
|
`) as unknown as TypedDocumentString<DefaultSuinsNameQuery, DefaultSuinsNameQueryVariables>;
|
|
5201
5421
|
export const GetOwnedObjectsDocument = new TypedDocumentString(`
|
|
5202
|
-
query getOwnedObjects($owner: SuiAddress!, $limit: Int, $cursor: String, $filter: ObjectFilter, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false) {
|
|
5422
|
+
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) {
|
|
5203
5423
|
address(address: $owner) {
|
|
5204
5424
|
objects(first: $limit, after: $cursor, filter: $filter) {
|
|
5205
5425
|
pageInfo {
|
|
@@ -5220,6 +5440,10 @@ export const GetOwnedObjectsDocument = new TypedDocumentString(`
|
|
|
5220
5440
|
contents {
|
|
5221
5441
|
bcs @include(if: $includeContent)
|
|
5222
5442
|
json @include(if: $includeJson)
|
|
5443
|
+
display @include(if: $includeDisplay) {
|
|
5444
|
+
output
|
|
5445
|
+
errors
|
|
5446
|
+
}
|
|
5223
5447
|
type {
|
|
5224
5448
|
repr
|
|
5225
5449
|
}
|
|
@@ -5254,7 +5478,7 @@ fragment OBJECT_OWNER_FIELDS on Owner {
|
|
|
5254
5478
|
}
|
|
5255
5479
|
}`) as unknown as TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
|
|
5256
5480
|
export const MultiGetObjectsDocument = new TypedDocumentString(`
|
|
5257
|
-
query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false) {
|
|
5481
|
+
query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {
|
|
5258
5482
|
multiGetObjects(keys: $objectKeys) {
|
|
5259
5483
|
...OBJECT_FIELDS
|
|
5260
5484
|
}
|
|
@@ -5268,6 +5492,10 @@ export const MultiGetObjectsDocument = new TypedDocumentString(`
|
|
|
5268
5492
|
contents {
|
|
5269
5493
|
bcs @include(if: $includeContent)
|
|
5270
5494
|
json @include(if: $includeJson)
|
|
5495
|
+
display @include(if: $includeDisplay) {
|
|
5496
|
+
output
|
|
5497
|
+
errors
|
|
5498
|
+
}
|
|
5271
5499
|
type {
|
|
5272
5500
|
repr
|
|
5273
5501
|
}
|
|
@@ -5312,7 +5540,6 @@ export const SimulateTransactionDocument = new TypedDocumentString(`
|
|
|
5312
5540
|
doGasSelection: $doGasSelection
|
|
5313
5541
|
checksEnabled: $checksEnabled
|
|
5314
5542
|
) {
|
|
5315
|
-
error
|
|
5316
5543
|
effects {
|
|
5317
5544
|
transaction {
|
|
5318
5545
|
...TRANSACTION_FIELDS
|
|
@@ -5397,6 +5624,7 @@ export const SimulateTransactionDocument = new TypedDocumentString(`
|
|
|
5397
5624
|
repr
|
|
5398
5625
|
}
|
|
5399
5626
|
bcs
|
|
5627
|
+
json
|
|
5400
5628
|
}
|
|
5401
5629
|
}
|
|
5402
5630
|
}
|
|
@@ -5408,7 +5636,6 @@ export const ExecuteTransactionDocument = new TypedDocumentString(`
|
|
|
5408
5636
|
transactionDataBcs: $transactionDataBcs
|
|
5409
5637
|
signatures: $signatures
|
|
5410
5638
|
) {
|
|
5411
|
-
errors
|
|
5412
5639
|
effects {
|
|
5413
5640
|
transaction {
|
|
5414
5641
|
...TRANSACTION_FIELDS
|
|
@@ -5481,6 +5708,7 @@ export const ExecuteTransactionDocument = new TypedDocumentString(`
|
|
|
5481
5708
|
repr
|
|
5482
5709
|
}
|
|
5483
5710
|
bcs
|
|
5711
|
+
json
|
|
5484
5712
|
}
|
|
5485
5713
|
}
|
|
5486
5714
|
}
|
|
@@ -5557,6 +5785,7 @@ export const GetTransactionBlockDocument = new TypedDocumentString(`
|
|
|
5557
5785
|
repr
|
|
5558
5786
|
}
|
|
5559
5787
|
bcs
|
|
5788
|
+
json
|
|
5560
5789
|
}
|
|
5561
5790
|
}
|
|
5562
5791
|
}
|
|
@@ -5565,7 +5794,6 @@ export const GetTransactionBlockDocument = new TypedDocumentString(`
|
|
|
5565
5794
|
export const ResolveTransactionDocument = new TypedDocumentString(`
|
|
5566
5795
|
query resolveTransaction($transaction: JSON!, $doGasSelection: Boolean = true) {
|
|
5567
5796
|
simulateTransaction(transaction: $transaction, doGasSelection: $doGasSelection) {
|
|
5568
|
-
error
|
|
5569
5797
|
effects {
|
|
5570
5798
|
transaction {
|
|
5571
5799
|
transactionBcs
|
|
@@ -5603,7 +5831,6 @@ export const VerifyZkLoginSignatureDocument = new TypedDocumentString(`
|
|
|
5603
5831
|
author: $author
|
|
5604
5832
|
) {
|
|
5605
5833
|
success
|
|
5606
|
-
error
|
|
5607
5834
|
}
|
|
5608
5835
|
}
|
|
5609
5836
|
`) as unknown as TypedDocumentString<VerifyZkLoginSignatureQuery, VerifyZkLoginSignatureQueryVariables>;
|