@iota/graphql-transport 0.16.0 → 0.18.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 +37 -0
- package/README.md +2 -2
- package/dist/cjs/generated/queries.d.ts +32 -175
- package/dist/cjs/generated/queries.d.ts.map +1 -1
- package/dist/cjs/generated/queries.js +1 -10
- package/dist/cjs/generated/queries.js.map +3 -3
- package/dist/cjs/methods.d.ts.map +1 -1
- package/dist/cjs/methods.js +1 -4
- package/dist/cjs/methods.js.map +2 -2
- package/dist/esm/generated/queries.d.ts +32 -175
- package/dist/esm/generated/queries.d.ts.map +1 -1
- package/dist/esm/generated/queries.js +1 -10
- package/dist/esm/generated/queries.js.map +3 -3
- package/dist/esm/methods.d.ts.map +1 -1
- package/dist/esm/methods.js +1 -4
- package/dist/esm/methods.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @iota/graphql-transport
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2520592: Deprecate `WRAPPED_OR_DELETED`
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 55acfff: Deprecate ObjectKind.WrappedOrDeleted
|
|
12
|
+
- 55acfff: Remove deprecated signAddress and SIGN signer filters from GraphQL schema, replaced by
|
|
13
|
+
sentAddress and SENT
|
|
14
|
+
- Updated dependencies [55acfff]
|
|
15
|
+
- Updated dependencies [2520592]
|
|
16
|
+
- Updated dependencies [55acfff]
|
|
17
|
+
- Updated dependencies [c41898c]
|
|
18
|
+
- Updated dependencies [0615535]
|
|
19
|
+
- Updated dependencies [e92cc33]
|
|
20
|
+
- @iota/iota-sdk@1.15.0
|
|
21
|
+
|
|
22
|
+
## 0.17.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- 2223521: Subscriptions recovery types generation.
|
|
27
|
+
- 8043617: Add request inspector support for the GraphQLClient
|
|
28
|
+
- c4e159b: Remove ZkLogin.
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [76ab06f]
|
|
33
|
+
- Updated dependencies [3b04d23]
|
|
34
|
+
- Updated dependencies [3b178c6]
|
|
35
|
+
- Updated dependencies [2223521]
|
|
36
|
+
- Updated dependencies [8043617]
|
|
37
|
+
- Updated dependencies [c4e159b]
|
|
38
|
+
- @iota/iota-sdk@1.14.0
|
|
39
|
+
|
|
3
40
|
## 0.16.0
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -15,13 +15,13 @@ npm install --save @iota/graphql-transport
|
|
|
15
15
|
|
|
16
16
|
```ts
|
|
17
17
|
import { IotaClientGraphQLTransport } from '@iota/graphql-transport';
|
|
18
|
-
import {
|
|
18
|
+
import { getRpcUrl, getGraphQLUrl, IotaClient } from '@iota/iota-sdk/client';
|
|
19
19
|
|
|
20
20
|
const client = new IotaClient({
|
|
21
21
|
transport: new IotaClientGraphQLTransport({
|
|
22
22
|
url: getGraphQLUrl('testnet'),
|
|
23
23
|
// When specified, the transport will fallback to JSON RPC for unsupported method and parameters
|
|
24
|
-
fallbackFullNodeUrl:
|
|
24
|
+
fallbackFullNodeUrl: getRpcUrl('testnet'),
|
|
25
25
|
}),
|
|
26
26
|
});
|
|
27
27
|
```
|
|
@@ -174,43 +174,6 @@ export type Scalars = {
|
|
|
174
174
|
output: any;
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
export type ActiveJwk = {
|
|
178
|
-
__typename?: 'ActiveJwk';
|
|
179
|
-
/** The JWK algorithm parameter, (RFC 7517, Section 4.4). */
|
|
180
|
-
alg: Scalars['String']['output'];
|
|
181
|
-
/** The JWK RSA public exponent, (RFC 7517, Section 9.3). */
|
|
182
|
-
e: Scalars['String']['output'];
|
|
183
|
-
/** The most recent epoch in which the JWK was validated. */
|
|
184
|
-
epoch?: Maybe<Epoch>;
|
|
185
|
-
/** The string (Issuing Authority) that identifies the OIDC provider. */
|
|
186
|
-
iss: Scalars['String']['output'];
|
|
187
|
-
/**
|
|
188
|
-
* The string (Key ID) that identifies the JWK among a set of JWKs, (RFC
|
|
189
|
-
* 7517, Section 4.5).
|
|
190
|
-
*/
|
|
191
|
-
kid: Scalars['String']['output'];
|
|
192
|
-
/** The JWK key type parameter, (RFC 7517, Section 4.1). */
|
|
193
|
-
kty: Scalars['String']['output'];
|
|
194
|
-
/** The JWK RSA modulus, (RFC 7517, Section 9.3). */
|
|
195
|
-
n: Scalars['String']['output'];
|
|
196
|
-
};
|
|
197
|
-
export type ActiveJwkConnection = {
|
|
198
|
-
__typename?: 'ActiveJwkConnection';
|
|
199
|
-
/** A list of edges. */
|
|
200
|
-
edges: Array<ActiveJwkEdge>;
|
|
201
|
-
/** A list of nodes. */
|
|
202
|
-
nodes: Array<ActiveJwk>;
|
|
203
|
-
/** Information to aid in pagination. */
|
|
204
|
-
pageInfo: PageInfo;
|
|
205
|
-
};
|
|
206
|
-
/** An edge in a connection. */
|
|
207
|
-
export type ActiveJwkEdge = {
|
|
208
|
-
__typename?: 'ActiveJwkEdge';
|
|
209
|
-
/** A cursor for use in pagination */
|
|
210
|
-
cursor: Scalars['String']['output'];
|
|
211
|
-
/** The item at the end of the edge */
|
|
212
|
-
node: ActiveJwk;
|
|
213
|
-
};
|
|
214
177
|
/**
|
|
215
178
|
* The 32-byte address that is an account address (corresponding to a public
|
|
216
179
|
* key).
|
|
@@ -388,50 +351,8 @@ export declare enum AddressTransactionBlockRelationship {
|
|
|
388
351
|
/** Transactions that sent objects to this address. */
|
|
389
352
|
Recv = "RECV",
|
|
390
353
|
/** Transactions this address has sent. */
|
|
391
|
-
Sent = "SENT"
|
|
392
|
-
/**
|
|
393
|
-
* Transactions this address has sent. NOTE: this input filter has been
|
|
394
|
-
* deprecated in favor of `SENT` which behaves identically but is named
|
|
395
|
-
* more clearly. Both filters restrict transactions by their sender,
|
|
396
|
-
* only, not signers in general.
|
|
397
|
-
*
|
|
398
|
-
* This filter will be removed after 6 months with the 1.24.0 release.
|
|
399
|
-
* @deprecated Misleading semantics. Use `SENT` instead. This will be removed with the 1.24.0 release.
|
|
400
|
-
*/
|
|
401
|
-
Sign = "SIGN"
|
|
354
|
+
Sent = "SENT"
|
|
402
355
|
}
|
|
403
|
-
/** System transaction for creating the on-chain state used by zkLogin. */
|
|
404
|
-
export type AuthenticatorStateCreateTransaction = {
|
|
405
|
-
__typename?: 'AuthenticatorStateCreateTransaction';
|
|
406
|
-
/** A workaround to define an empty variant of a GraphQL union. */
|
|
407
|
-
_?: Maybe<Scalars['Boolean']['output']>;
|
|
408
|
-
};
|
|
409
|
-
export type AuthenticatorStateExpireTransaction = {
|
|
410
|
-
__typename?: 'AuthenticatorStateExpireTransaction';
|
|
411
|
-
/** The initial version that the AuthenticatorStateUpdateV1 was shared at. */
|
|
412
|
-
authenticatorObjInitialSharedVersion: Scalars['UInt53']['output'];
|
|
413
|
-
/** Expire JWKs that have a lower epoch than this. */
|
|
414
|
-
minEpoch?: Maybe<Epoch>;
|
|
415
|
-
};
|
|
416
|
-
/** System transaction for updating the on-chain state used by zkLogin. */
|
|
417
|
-
export type AuthenticatorStateUpdateTransaction = {
|
|
418
|
-
__typename?: 'AuthenticatorStateUpdateTransaction';
|
|
419
|
-
/** The initial version of the authenticator object that it was shared at. */
|
|
420
|
-
authenticatorObjInitialSharedVersion: Scalars['UInt53']['output'];
|
|
421
|
-
/** Epoch of the authenticator state update transaction. */
|
|
422
|
-
epoch?: Maybe<Epoch>;
|
|
423
|
-
/** Newly active JWKs (JSON Web Keys). */
|
|
424
|
-
newActiveJwks: ActiveJwkConnection;
|
|
425
|
-
/** Consensus round of the authenticator state update. */
|
|
426
|
-
round: Scalars['UInt53']['output'];
|
|
427
|
-
};
|
|
428
|
-
/** System transaction for updating the on-chain state used by zkLogin. */
|
|
429
|
-
export type AuthenticatorStateUpdateTransactionNewActiveJwksArgs = {
|
|
430
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
431
|
-
before?: InputMaybe<Scalars['String']['input']>;
|
|
432
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
433
|
-
last?: InputMaybe<Scalars['Int']['input']>;
|
|
434
|
-
};
|
|
435
356
|
/**
|
|
436
357
|
* Range of checkpoints that the RPC is guaranteed to produce a consistent
|
|
437
358
|
* response for.
|
|
@@ -847,8 +768,6 @@ export type Coin = IMoveObject & IObject & IOwner & {
|
|
|
847
768
|
* contents of a genesis or system package upgrade transaction.
|
|
848
769
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
849
770
|
* represents the most recent or historical state of the object.
|
|
850
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
851
|
-
* information can be loaded.
|
|
852
771
|
*/
|
|
853
772
|
status: ObjectKind;
|
|
854
773
|
/**
|
|
@@ -1069,8 +988,6 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
|
|
|
1069
988
|
* contents of a genesis or system package upgrade transaction.
|
|
1070
989
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
1071
990
|
* represents the most recent or historical state of the object.
|
|
1072
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
1073
|
-
* information can be loaded.
|
|
1074
991
|
*/
|
|
1075
992
|
status: ObjectKind;
|
|
1076
993
|
/**
|
|
@@ -1317,7 +1234,7 @@ export type EndOfEpochTransactionTransactionsArgs = {
|
|
|
1317
1234
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1318
1235
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1319
1236
|
};
|
|
1320
|
-
export type EndOfEpochTransactionKind =
|
|
1237
|
+
export type EndOfEpochTransactionKind = ChangeEpochTransaction | ChangeEpochTransactionV2;
|
|
1321
1238
|
export type EndOfEpochTransactionKindConnection = {
|
|
1322
1239
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
1323
1240
|
/** A list of edges. */
|
|
@@ -1832,8 +1749,6 @@ export type IObject = {
|
|
|
1832
1749
|
* contents of a genesis or system package upgrade transaction.
|
|
1833
1750
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
1834
1751
|
* represents the most recent or historical state of the object.
|
|
1835
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
1836
|
-
* information can be loaded.
|
|
1837
1752
|
*/
|
|
1838
1753
|
status: ObjectKind;
|
|
1839
1754
|
storageRebate?: Maybe<Scalars['BigInt']['output']>;
|
|
@@ -2465,8 +2380,6 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
|
|
|
2465
2380
|
* contents of a genesis or system package upgrade transaction.
|
|
2466
2381
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
2467
2382
|
* represents the most recent or historical state of the object.
|
|
2468
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
2469
|
-
* information can be loaded.
|
|
2470
2383
|
*/
|
|
2471
2384
|
status: ObjectKind;
|
|
2472
2385
|
/**
|
|
@@ -2751,8 +2664,6 @@ export type MovePackage = IObject & IOwner & {
|
|
|
2751
2664
|
* contents of a genesis or system package upgrade transaction.
|
|
2752
2665
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
2753
2666
|
* represents the most recent or historical state of the object.
|
|
2754
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
2755
|
-
* information can be loaded.
|
|
2756
2667
|
*/
|
|
2757
2668
|
status: ObjectKind;
|
|
2758
2669
|
/**
|
|
@@ -3221,8 +3132,6 @@ export type NameRegistration = IMoveObject & IOwner & {
|
|
|
3221
3132
|
* contents of a genesis or system package upgrade transaction.
|
|
3222
3133
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
3223
3134
|
* represents the most recent or historical state of the object.
|
|
3224
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
3225
|
-
* information can be loaded.
|
|
3226
3135
|
*/
|
|
3227
3136
|
status: ObjectKind;
|
|
3228
3137
|
/**
|
|
@@ -3431,8 +3340,6 @@ export type Object = IObject & IOwner & {
|
|
|
3431
3340
|
* contents of a genesis or system package upgrade transaction.
|
|
3432
3341
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
3433
3342
|
* represents the most recent or historical state of the object.
|
|
3434
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
3435
|
-
* information can be loaded.
|
|
3436
3343
|
*/
|
|
3437
3344
|
status: ObjectKind;
|
|
3438
3345
|
/**
|
|
@@ -3655,12 +3562,7 @@ export declare enum ObjectKind {
|
|
|
3655
3562
|
* The object is loaded from serialized data, such as the contents of a
|
|
3656
3563
|
* transaction that hasn't been indexed yet.
|
|
3657
3564
|
*/
|
|
3658
|
-
NotIndexed = "NOT_INDEXED"
|
|
3659
|
-
/**
|
|
3660
|
-
* The object is deleted or wrapped and only partial information can be
|
|
3661
|
-
* loaded from the indexer.
|
|
3662
|
-
*/
|
|
3663
|
-
WrappedOrDeleted = "WRAPPED_OR_DELETED"
|
|
3565
|
+
NotIndexed = "NOT_INDEXED"
|
|
3664
3566
|
}
|
|
3665
3567
|
/** The object's owner type: Immutable, Shared, Parent, or Address. */
|
|
3666
3568
|
export type ObjectOwner = AddressOwner | Immutable | Parent | Shared;
|
|
@@ -4218,23 +4120,6 @@ export type Query = {
|
|
|
4218
4120
|
* layout information. Fails if the type is malformed.
|
|
4219
4121
|
*/
|
|
4220
4122
|
type: MoveType;
|
|
4221
|
-
/**
|
|
4222
|
-
* Verify a zkLogin signature based on the provided transaction or personal
|
|
4223
|
-
* message based on current epoch, chain id, and latest JWKs fetched
|
|
4224
|
-
* on-chain. If the signature is valid, the function returns a
|
|
4225
|
-
* `ZkLoginVerifyResult` with success as true and an empty list of
|
|
4226
|
-
* errors. If the signature is invalid, the function returns
|
|
4227
|
-
* a `ZkLoginVerifyResult` with success as false with a list of errors.
|
|
4228
|
-
*
|
|
4229
|
-
* - `bytes` is either the personal message in raw bytes or transaction
|
|
4230
|
-
* data bytes in BCS-encoded and then Base64-encoded.
|
|
4231
|
-
* - `signature` is a serialized zkLogin signature that is Base64-encoded.
|
|
4232
|
-
* - `intentScope` is an enum that specifies the intent scope to be used to
|
|
4233
|
-
* parse bytes.
|
|
4234
|
-
* - `author` is the address of the signer of the transaction or personal
|
|
4235
|
-
* msg.
|
|
4236
|
-
*/
|
|
4237
|
-
verifyZkloginSignature: ZkLoginVerifyResult;
|
|
4238
4123
|
};
|
|
4239
4124
|
export type QueryAddressArgs = {
|
|
4240
4125
|
address: Scalars['IotaAddress']['input'];
|
|
@@ -4341,12 +4226,6 @@ export type QueryTransactionBlocksByDigestsArgs = {
|
|
|
4341
4226
|
export type QueryTypeArgs = {
|
|
4342
4227
|
type: Scalars['String']['input'];
|
|
4343
4228
|
};
|
|
4344
|
-
export type QueryVerifyZkloginSignatureArgs = {
|
|
4345
|
-
author: Scalars['IotaAddress']['input'];
|
|
4346
|
-
bytes: Scalars['Base64']['input'];
|
|
4347
|
-
intentScope: ZkLoginIntentScope;
|
|
4348
|
-
signature: Scalars['Base64']['input'];
|
|
4349
|
-
};
|
|
4350
4229
|
/** System transaction to update the source of on-chain randomness. */
|
|
4351
4230
|
export type RandomnessStateUpdateTransaction = {
|
|
4352
4231
|
__typename?: 'RandomnessStateUpdateTransaction';
|
|
@@ -4745,8 +4624,6 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
|
|
|
4745
4624
|
* contents of a genesis or system package upgrade transaction.
|
|
4746
4625
|
* - INDEXED: The object is retrieved from the off-chain index and
|
|
4747
4626
|
* represents the most recent or historical state of the object.
|
|
4748
|
-
* - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
|
|
4749
|
-
* information can be loaded.
|
|
4750
4627
|
*/
|
|
4751
4628
|
status: ObjectKind;
|
|
4752
4629
|
/**
|
|
@@ -4864,20 +4741,48 @@ export type Subscription = {
|
|
|
4864
4741
|
* Subscribe to incoming events from the IOTA network.
|
|
4865
4742
|
*
|
|
4866
4743
|
* If no filter is provided, all events will be returned.
|
|
4744
|
+
*
|
|
4745
|
+
* # Stream recovery
|
|
4746
|
+
*
|
|
4747
|
+
* Events are streamed in transaction order, all events from a single
|
|
4748
|
+
* transaction arrive contiguously before any events from the next one.
|
|
4749
|
+
*
|
|
4750
|
+
* When `start_after` is provided with a transaction digest, the stream
|
|
4751
|
+
* resumes from the transaction immediately after it.
|
|
4752
|
+
*
|
|
4753
|
+
* Because a single transaction can emit multiple events, a disconnection
|
|
4754
|
+
* may leave the client with only a partial set of events from the
|
|
4755
|
+
* transaction it was last receiving. A transaction is considered fully
|
|
4756
|
+
* received only once the client has seen an event from the following
|
|
4757
|
+
* transaction (a digest change signals the previous transaction is
|
|
4758
|
+
* complete).
|
|
4759
|
+
*
|
|
4760
|
+
* On reconnect, clients should pass the digest of the last fully
|
|
4761
|
+
* received transaction as `start_after`. The stream resumes from the
|
|
4762
|
+
* next transaction, so no partial transaction is ever observed.
|
|
4867
4763
|
*/
|
|
4868
4764
|
events: EventSubscriptionPayload;
|
|
4869
4765
|
/**
|
|
4870
4766
|
* Subscribe to incoming transactions from the IOTA network.
|
|
4871
4767
|
*
|
|
4872
4768
|
* If no filter is provided, all transactions will be returned.
|
|
4769
|
+
*
|
|
4770
|
+
* # Stream recovery
|
|
4771
|
+
*
|
|
4772
|
+
* When `start_after` is provided with the digest of the last transaction
|
|
4773
|
+
* the client received, the stream resumes from the transaction
|
|
4774
|
+
* immediately after it. The identified transaction itself is not
|
|
4775
|
+
* emitted.
|
|
4873
4776
|
*/
|
|
4874
4777
|
transactions: TransactionBlockSubscriptionPayload;
|
|
4875
4778
|
};
|
|
4876
4779
|
export type SubscriptionEventsArgs = {
|
|
4877
4780
|
filter?: InputMaybe<SubscriptionEventFilter>;
|
|
4781
|
+
startAfter?: InputMaybe<Scalars['String']['input']>;
|
|
4878
4782
|
};
|
|
4879
4783
|
export type SubscriptionTransactionsArgs = {
|
|
4880
4784
|
filter?: InputMaybe<SubscriptionTransactionFilter>;
|
|
4785
|
+
startAfter?: InputMaybe<Scalars['String']['input']>;
|
|
4881
4786
|
};
|
|
4882
4787
|
/** Filter incoming events in a subscription. */
|
|
4883
4788
|
export type SubscriptionEventFilter =
|
|
@@ -5141,16 +5046,6 @@ export type TransactionBlockFilter = {
|
|
|
5141
5046
|
recvAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5142
5047
|
/** Limit to transactions that were sent by the given address. */
|
|
5143
5048
|
sentAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5144
|
-
/**
|
|
5145
|
-
* Limit to transactions that were sent by the given address. NOTE: this
|
|
5146
|
-
* input filter has been deprecated in favor of `sentAddress` which has
|
|
5147
|
-
* clearer semantics. Both filters restrict transactions by their sender,
|
|
5148
|
-
* only, not signers in general.
|
|
5149
|
-
*
|
|
5150
|
-
* This filter will be removed after 6 months with the 1.24.0 release.
|
|
5151
|
-
* @deprecated Misleading semantics. Use `sentAddress` instead. This will be removed with the 1.24.0 release.
|
|
5152
|
-
*/
|
|
5153
|
-
signAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5154
5049
|
/** Select transactions by their digest. */
|
|
5155
5050
|
transactionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5156
5051
|
/** Limit to transactions that wrapped or deleted the given object. */
|
|
@@ -5160,11 +5055,9 @@ export type TransactionBlockFilter = {
|
|
|
5160
5055
|
* The kind of transaction block, either a programmable transaction or a system
|
|
5161
5056
|
* transaction.
|
|
5162
5057
|
*/
|
|
5163
|
-
export type TransactionBlockKind =
|
|
5058
|
+
export type TransactionBlockKind = ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction;
|
|
5164
5059
|
/** An input filter selecting for either system or programmable transactions. */
|
|
5165
5060
|
export declare enum TransactionBlockKindInput {
|
|
5166
|
-
/** The authenticator state update transaction block. */
|
|
5167
|
-
AuthenticatorStateUpdateV1 = "AUTHENTICATOR_STATE_UPDATE_V1",
|
|
5168
5061
|
/** The consensus commit prologue transaction block. */
|
|
5169
5062
|
ConsensusCommitPrologueV1 = "CONSENSUS_COMMIT_PROLOGUE_V1",
|
|
5170
5063
|
/** The end of epoch transaction block. */
|
|
@@ -5483,24 +5376,6 @@ export type ValidatorSetCommitteeMembersArgs = {
|
|
|
5483
5376
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5484
5377
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5485
5378
|
};
|
|
5486
|
-
/**
|
|
5487
|
-
* An enum that specifies the intent scope to be used to parse the bytes for
|
|
5488
|
-
* signature verification.
|
|
5489
|
-
*/
|
|
5490
|
-
export declare enum ZkLoginIntentScope {
|
|
5491
|
-
/** Indicates that the bytes are to be parsed as a personal message. */
|
|
5492
|
-
PersonalMessage = "PERSONAL_MESSAGE",
|
|
5493
|
-
/** Indicates that the bytes are to be parsed as transaction data bytes. */
|
|
5494
|
-
TransactionData = "TRANSACTION_DATA"
|
|
5495
|
-
}
|
|
5496
|
-
/** The result of the zkLogin signature verification. */
|
|
5497
|
-
export type ZkLoginVerifyResult = {
|
|
5498
|
-
__typename?: 'ZkLoginVerifyResult';
|
|
5499
|
-
/** The errors field captures any verification error */
|
|
5500
|
-
errors: Array<Scalars['String']['output']>;
|
|
5501
|
-
/** The boolean result of the verification. If true, errors should be empty. */
|
|
5502
|
-
success: Scalars['Boolean']['output'];
|
|
5503
|
-
};
|
|
5504
5379
|
export type GetCheckpointQueryVariables = Exact<{
|
|
5505
5380
|
id?: InputMaybe<CheckpointId>;
|
|
5506
5381
|
}>;
|
|
@@ -5543,18 +5418,12 @@ export type GetCheckpointQuery = {
|
|
|
5543
5418
|
nodes: Array<{
|
|
5544
5419
|
__typename?: 'TransactionBlock';
|
|
5545
5420
|
kind?: {
|
|
5546
|
-
__typename: 'AuthenticatorStateUpdateTransaction';
|
|
5547
|
-
} | {
|
|
5548
5421
|
__typename: 'ConsensusCommitPrologueTransaction';
|
|
5549
5422
|
} | {
|
|
5550
5423
|
__typename: 'EndOfEpochTransaction';
|
|
5551
5424
|
transactions: {
|
|
5552
5425
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
5553
5426
|
nodes: Array<{
|
|
5554
|
-
__typename: 'AuthenticatorStateCreateTransaction';
|
|
5555
|
-
} | {
|
|
5556
|
-
__typename: 'AuthenticatorStateExpireTransaction';
|
|
5557
|
-
} | {
|
|
5558
5427
|
__typename: 'ChangeEpochTransaction';
|
|
5559
5428
|
} | {
|
|
5560
5429
|
__typename: 'ChangeEpochTransactionV2';
|
|
@@ -5668,18 +5537,12 @@ export type GetCheckpointsQuery = {
|
|
|
5668
5537
|
nodes: Array<{
|
|
5669
5538
|
__typename?: 'TransactionBlock';
|
|
5670
5539
|
kind?: {
|
|
5671
|
-
__typename: 'AuthenticatorStateUpdateTransaction';
|
|
5672
|
-
} | {
|
|
5673
5540
|
__typename: 'ConsensusCommitPrologueTransaction';
|
|
5674
5541
|
} | {
|
|
5675
5542
|
__typename: 'EndOfEpochTransaction';
|
|
5676
5543
|
transactions: {
|
|
5677
5544
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
5678
5545
|
nodes: Array<{
|
|
5679
|
-
__typename: 'AuthenticatorStateCreateTransaction';
|
|
5680
|
-
} | {
|
|
5681
|
-
__typename: 'AuthenticatorStateExpireTransaction';
|
|
5682
|
-
} | {
|
|
5683
5546
|
__typename: 'ChangeEpochTransaction';
|
|
5684
5547
|
} | {
|
|
5685
5548
|
__typename: 'ChangeEpochTransactionV2';
|
|
@@ -5799,18 +5662,12 @@ export type Rpc_Checkpoint_FieldsFragment = {
|
|
|
5799
5662
|
nodes: Array<{
|
|
5800
5663
|
__typename?: 'TransactionBlock';
|
|
5801
5664
|
kind?: {
|
|
5802
|
-
__typename: 'AuthenticatorStateUpdateTransaction';
|
|
5803
|
-
} | {
|
|
5804
5665
|
__typename: 'ConsensusCommitPrologueTransaction';
|
|
5805
5666
|
} | {
|
|
5806
5667
|
__typename: 'EndOfEpochTransaction';
|
|
5807
5668
|
transactions: {
|
|
5808
5669
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
5809
5670
|
nodes: Array<{
|
|
5810
|
-
__typename: 'AuthenticatorStateCreateTransaction';
|
|
5811
|
-
} | {
|
|
5812
|
-
__typename: 'AuthenticatorStateExpireTransaction';
|
|
5813
|
-
} | {
|
|
5814
5671
|
__typename: 'ChangeEpochTransaction';
|
|
5815
5672
|
} | {
|
|
5816
5673
|
__typename: 'ChangeEpochTransactionV2';
|