@iota/graphql-transport 0.18.1 → 0.19.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.
- package/CHANGELOG.md +48 -0
- package/dist/cjs/generated/queries.d.ts +336 -112
- package/dist/cjs/generated/queries.d.ts.map +1 -1
- package/dist/cjs/generated/queries.js +50 -0
- package/dist/cjs/generated/queries.js.map +2 -2
- package/dist/cjs/graphql-websocket-client.d.ts +84 -0
- package/dist/cjs/graphql-websocket-client.d.ts.map +1 -0
- package/dist/cjs/graphql-websocket-client.js +324 -0
- package/dist/cjs/graphql-websocket-client.js.map +7 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/mappers/bcs.d.ts.map +1 -1
- package/dist/cjs/mappers/bcs.js +11 -3
- package/dist/cjs/mappers/bcs.js.map +2 -2
- package/dist/cjs/mappers/subscription.d.ts +33 -0
- package/dist/cjs/mappers/subscription.d.ts.map +1 -0
- package/dist/cjs/mappers/subscription.js +95 -0
- package/dist/cjs/mappers/subscription.js.map +7 -0
- package/dist/cjs/mappers/util.d.ts +3 -0
- package/dist/cjs/mappers/util.d.ts.map +1 -1
- package/dist/cjs/mappers/util.js +14 -0
- package/dist/cjs/mappers/util.js.map +2 -2
- package/dist/cjs/methods.d.ts.map +1 -1
- package/dist/cjs/methods.js +1 -23
- package/dist/cjs/methods.js.map +2 -2
- package/dist/cjs/transport.d.ts +5 -0
- package/dist/cjs/transport.d.ts.map +1 -1
- package/dist/cjs/transport.js +99 -1
- package/dist/cjs/transport.js.map +2 -2
- package/dist/esm/generated/queries.d.ts +336 -112
- package/dist/esm/generated/queries.d.ts.map +1 -1
- package/dist/esm/generated/queries.js +50 -0
- package/dist/esm/generated/queries.js.map +2 -2
- package/dist/esm/graphql-websocket-client.d.ts +84 -0
- package/dist/esm/graphql-websocket-client.d.ts.map +1 -0
- package/dist/esm/graphql-websocket-client.js +304 -0
- package/dist/esm/graphql-websocket-client.js.map +7 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/mappers/bcs.d.ts.map +1 -1
- package/dist/esm/mappers/bcs.js +11 -3
- package/dist/esm/mappers/bcs.js.map +2 -2
- package/dist/esm/mappers/subscription.d.ts +33 -0
- package/dist/esm/mappers/subscription.d.ts.map +1 -0
- package/dist/esm/mappers/subscription.js +75 -0
- package/dist/esm/mappers/subscription.js.map +7 -0
- package/dist/esm/mappers/util.d.ts +3 -0
- package/dist/esm/mappers/util.d.ts.map +1 -1
- package/dist/esm/mappers/util.js +14 -0
- package/dist/esm/mappers/util.js.map +2 -2
- package/dist/esm/methods.d.ts.map +1 -1
- package/dist/esm/methods.js +2 -25
- package/dist/esm/methods.js.map +2 -2
- package/dist/esm/transport.d.ts +5 -0
- package/dist/esm/transport.d.ts.map +1 -1
- package/dist/esm/transport.js +112 -2
- package/dist/esm/transport.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -9
|
@@ -215,10 +215,11 @@ export type Address = IOwner & {
|
|
|
215
215
|
* defaults to `SENT`.
|
|
216
216
|
*
|
|
217
217
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
218
|
-
* gathering a page of results. It is required for queries that apply
|
|
219
|
-
* more
|
|
220
|
-
*
|
|
221
|
-
* `serviceConfig.maxScanLimit`.
|
|
218
|
+
* gathering a page of results. It is required for queries that apply two
|
|
219
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
220
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
221
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
222
|
+
* combined with any of them.
|
|
222
223
|
*
|
|
223
224
|
* When the scan limit is reached the page will be returned even if it has
|
|
224
225
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -237,6 +238,10 @@ export type Address = IOwner & {
|
|
|
237
238
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
238
239
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
239
240
|
* `atCheckpoint` filters.
|
|
241
|
+
*
|
|
242
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
243
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
244
|
+
* will thus become obsolete and will be removed as well.
|
|
240
245
|
*/
|
|
241
246
|
transactionBlocks: TransactionBlockConnection;
|
|
242
247
|
};
|
|
@@ -346,8 +351,16 @@ export type AddressOwner = {
|
|
|
346
351
|
__typename?: 'AddressOwner';
|
|
347
352
|
owner?: Maybe<Owner>;
|
|
348
353
|
};
|
|
349
|
-
/**
|
|
354
|
+
/**
|
|
355
|
+
* The possible relationship types for a transaction block: sent, received,
|
|
356
|
+
* or affected.
|
|
357
|
+
*/
|
|
350
358
|
export declare enum AddressTransactionBlockRelationship {
|
|
359
|
+
/**
|
|
360
|
+
* Transactions that affected this address (the address is the sender,
|
|
361
|
+
* a recipient, or the owner of the gas payment).
|
|
362
|
+
*/
|
|
363
|
+
Affected = "AFFECTED",
|
|
351
364
|
/** Transactions that sent objects to this address. */
|
|
352
365
|
Recv = "RECV",
|
|
353
366
|
/** Transactions this address has sent. */
|
|
@@ -546,6 +559,15 @@ export type ChangeEpochTransactionV2SystemPackagesArgs = {
|
|
|
546
559
|
*/
|
|
547
560
|
export type Checkpoint = {
|
|
548
561
|
__typename?: 'Checkpoint';
|
|
562
|
+
/**
|
|
563
|
+
* The Base64-encoded BCS serialization of this checkpoint's
|
|
564
|
+
* `CheckpointSummary`.
|
|
565
|
+
*
|
|
566
|
+
* # Note
|
|
567
|
+
* For older checkpoints, where this data was not recorded, `null` is
|
|
568
|
+
* returned.
|
|
569
|
+
*/
|
|
570
|
+
bcs?: Maybe<Scalars['Base64']['output']>;
|
|
549
571
|
/**
|
|
550
572
|
* A 32-byte hash that uniquely identifies the checkpoint contents, encoded
|
|
551
573
|
* in Base58. This hash can be used to verify checkpoint contents by
|
|
@@ -584,10 +606,11 @@ export type Checkpoint = {
|
|
|
584
606
|
* Transactions in this checkpoint.
|
|
585
607
|
*
|
|
586
608
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
587
|
-
* gathering a page of results. It is required for queries that apply
|
|
588
|
-
* more
|
|
589
|
-
*
|
|
590
|
-
* `serviceConfig.maxScanLimit`.
|
|
609
|
+
* gathering a page of results. It is required for queries that apply two
|
|
610
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
611
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
612
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
613
|
+
* combined with any of them.
|
|
591
614
|
*
|
|
592
615
|
* When the scan limit is reached the page will be returned even if it has
|
|
593
616
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -604,6 +627,10 @@ export type Checkpoint = {
|
|
|
604
627
|
*
|
|
605
628
|
* By default, the scanning range consists of all transactions in this
|
|
606
629
|
* checkpoint.
|
|
630
|
+
*
|
|
631
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
632
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
633
|
+
* will thus become obsolete and will be removed as well.
|
|
607
634
|
*/
|
|
608
635
|
transactionBlocks: TransactionBlockConnection;
|
|
609
636
|
/**
|
|
@@ -735,10 +762,11 @@ export type Coin = IMoveObject & IObject & IOwner & {
|
|
|
735
762
|
* The transaction blocks that sent objects to this object.
|
|
736
763
|
*
|
|
737
764
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
738
|
-
* gathering a page of results. It is required for queries that apply
|
|
739
|
-
* more
|
|
740
|
-
*
|
|
741
|
-
* `serviceConfig.maxScanLimit`.
|
|
765
|
+
* gathering a page of results. It is required for queries that apply two
|
|
766
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
767
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
768
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
769
|
+
* combined with any of them.
|
|
742
770
|
*
|
|
743
771
|
* When the scan limit is reached the page will be returned even if it has
|
|
744
772
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -757,6 +785,10 @@ export type Coin = IMoveObject & IObject & IOwner & {
|
|
|
757
785
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
758
786
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
759
787
|
* `atCheckpoint` filters.
|
|
788
|
+
*
|
|
789
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
790
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
791
|
+
* will thus become obsolete and will be removed as well.
|
|
760
792
|
*/
|
|
761
793
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
762
794
|
/** The `0x3::staking_pool::StakedIota` objects owned by this object. */
|
|
@@ -764,10 +796,10 @@ export type Coin = IMoveObject & IObject & IOwner & {
|
|
|
764
796
|
/**
|
|
765
797
|
* The current status of the object as read from the off-chain store. The
|
|
766
798
|
* possible states are:
|
|
767
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
768
|
-
*
|
|
769
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
770
|
-
*
|
|
799
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
800
|
+
* or system package upgrade transaction.
|
|
801
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
802
|
+
* or historical state of the object.
|
|
771
803
|
*/
|
|
772
804
|
status: ObjectKind;
|
|
773
805
|
/**
|
|
@@ -955,10 +987,11 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
|
|
|
955
987
|
* The transaction blocks that sent objects to this object.
|
|
956
988
|
*
|
|
957
989
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
958
|
-
* gathering a page of results. It is required for queries that apply
|
|
959
|
-
* more
|
|
960
|
-
*
|
|
961
|
-
* `serviceConfig.maxScanLimit`.
|
|
990
|
+
* gathering a page of results. It is required for queries that apply two
|
|
991
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
992
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
993
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
994
|
+
* combined with any of them.
|
|
962
995
|
*
|
|
963
996
|
* When the scan limit is reached the page will be returned even if it has
|
|
964
997
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -977,6 +1010,10 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
|
|
|
977
1010
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
978
1011
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
979
1012
|
* `atCheckpoint` filters.
|
|
1013
|
+
*
|
|
1014
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
1015
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
1016
|
+
* will thus become obsolete and will be removed as well.
|
|
980
1017
|
*/
|
|
981
1018
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
982
1019
|
/** The `0x3::staking_pool::StakedIota` objects owned by this object. */
|
|
@@ -984,10 +1021,10 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
|
|
|
984
1021
|
/**
|
|
985
1022
|
* The current status of the object as read from the off-chain store. The
|
|
986
1023
|
* possible states are:
|
|
987
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
988
|
-
*
|
|
989
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
990
|
-
*
|
|
1024
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
1025
|
+
* or system package upgrade transaction.
|
|
1026
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
1027
|
+
* or historical state of the object.
|
|
991
1028
|
*/
|
|
992
1029
|
status: ObjectKind;
|
|
993
1030
|
/**
|
|
@@ -1143,6 +1180,8 @@ export type DryRunResult = {
|
|
|
1143
1180
|
* including contents of mutated references and return values.
|
|
1144
1181
|
*/
|
|
1145
1182
|
results?: Maybe<Array<DryRunEffect>>;
|
|
1183
|
+
/** If an input object is congested, suggest a gas price to use. */
|
|
1184
|
+
suggestedGasPrice?: Maybe<Scalars['BigInt']['output']>;
|
|
1146
1185
|
/** The transaction block representing the dry run execution. */
|
|
1147
1186
|
transaction?: Maybe<TransactionBlock>;
|
|
1148
1187
|
};
|
|
@@ -1156,13 +1195,12 @@ export type DryRunReturn = {
|
|
|
1156
1195
|
* runtime, and can have arbitrary user-assigned names. There are two sub-types
|
|
1157
1196
|
* of dynamic fields:
|
|
1158
1197
|
*
|
|
1159
|
-
* 1) Dynamic Fields can store any value that has the `store` ability, however
|
|
1160
|
-
*
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1163
|
-
*
|
|
1164
|
-
*
|
|
1165
|
-
* directly accessible off-chain via their object ID after being attached.
|
|
1198
|
+
* 1) Dynamic Fields can store any value that has the `store` ability, however an object stored in
|
|
1199
|
+
* this kind of field will be considered wrapped and will not be accessible directly via its ID
|
|
1200
|
+
* by external tools (explorers, wallets, etc) accessing storage.
|
|
1201
|
+
* 2) Dynamic Object Fields values must be IOTA objects (have the `key` and `store` abilities, and
|
|
1202
|
+
* id: UID as the first field), but will still be directly accessible off-chain via their object
|
|
1203
|
+
* ID after being attached.
|
|
1166
1204
|
*/
|
|
1167
1205
|
export type DynamicField = {
|
|
1168
1206
|
__typename?: 'DynamicField';
|
|
@@ -1234,7 +1272,7 @@ export type EndOfEpochTransactionTransactionsArgs = {
|
|
|
1234
1272
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1235
1273
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1236
1274
|
};
|
|
1237
|
-
export type EndOfEpochTransactionKind = ChangeEpochTransaction | ChangeEpochTransactionV2;
|
|
1275
|
+
export type EndOfEpochTransactionKind = ChangeEpochTransaction | ChangeEpochTransactionV2 | TransactionDenyRulesCreateTransaction;
|
|
1238
1276
|
export type EndOfEpochTransactionKindConnection = {
|
|
1239
1277
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
1240
1278
|
/** A list of edges. */
|
|
@@ -1343,10 +1381,11 @@ export type Epoch = {
|
|
|
1343
1381
|
* The epoch's corresponding transaction blocks.
|
|
1344
1382
|
*
|
|
1345
1383
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
1346
|
-
* gathering a page of results. It is required for queries that apply
|
|
1347
|
-
* more
|
|
1348
|
-
*
|
|
1349
|
-
* `serviceConfig.maxScanLimit`.
|
|
1384
|
+
* gathering a page of results. It is required for queries that apply two
|
|
1385
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
1386
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
1387
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
1388
|
+
* combined with any of them.
|
|
1350
1389
|
*
|
|
1351
1390
|
* When the scan limit is reached the page will be returned even if it has
|
|
1352
1391
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -1363,6 +1402,10 @@ export type Epoch = {
|
|
|
1363
1402
|
*
|
|
1364
1403
|
* By default, the scanning range consists of all transactions in this
|
|
1365
1404
|
* epoch.
|
|
1405
|
+
*
|
|
1406
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
1407
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
1408
|
+
* will thus become obsolete and will be removed as well.
|
|
1366
1409
|
*/
|
|
1367
1410
|
transactionBlocks: TransactionBlockConnection;
|
|
1368
1411
|
/**
|
|
@@ -1414,8 +1457,7 @@ export type Event = {
|
|
|
1414
1457
|
/**
|
|
1415
1458
|
* Representation of a Move value in JSON, where:
|
|
1416
1459
|
*
|
|
1417
|
-
* - Addresses, IDs, and UIDs are represented in canonical form, as JSON
|
|
1418
|
-
* strings.
|
|
1460
|
+
* - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
|
|
1419
1461
|
* - Bools are represented by JSON boolean literals.
|
|
1420
1462
|
* - u8, u16, and u32 are represented as JSON numbers.
|
|
1421
1463
|
* - u64, u128, and u256 are represented as JSON strings.
|
|
@@ -1505,8 +1547,8 @@ export type EventFilter = {
|
|
|
1505
1547
|
*
|
|
1506
1548
|
* It could be one of the following:
|
|
1507
1549
|
* - A successful payload from the subscription stream.
|
|
1508
|
-
* - A notice that the subscription has been lagged behind the network with the
|
|
1509
|
-
*
|
|
1550
|
+
* - A notice that the subscription has been lagged behind the network with the number of lost
|
|
1551
|
+
* payloads.
|
|
1510
1552
|
*/
|
|
1511
1553
|
export type EventSubscriptionPayload = Event | Lagged;
|
|
1512
1554
|
/**
|
|
@@ -2347,10 +2389,11 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
|
|
|
2347
2389
|
* The transaction blocks that sent objects to this object.
|
|
2348
2390
|
*
|
|
2349
2391
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
2350
|
-
* gathering a page of results. It is required for queries that apply
|
|
2351
|
-
* more
|
|
2352
|
-
*
|
|
2353
|
-
* `serviceConfig.maxScanLimit`.
|
|
2392
|
+
* gathering a page of results. It is required for queries that apply two
|
|
2393
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
2394
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
2395
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
2396
|
+
* combined with any of them.
|
|
2354
2397
|
*
|
|
2355
2398
|
* When the scan limit is reached the page will be returned even if it has
|
|
2356
2399
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -2369,6 +2412,10 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
|
|
|
2369
2412
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
2370
2413
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
2371
2414
|
* `atCheckpoint` filters.
|
|
2415
|
+
*
|
|
2416
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
2417
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
2418
|
+
* will thus become obsolete and will be removed as well.
|
|
2372
2419
|
*/
|
|
2373
2420
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
2374
2421
|
/** The `0x3::staking_pool::StakedIota` objects owned by this object. */
|
|
@@ -2376,10 +2423,10 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
|
|
|
2376
2423
|
/**
|
|
2377
2424
|
* The current status of the object as read from the off-chain store. The
|
|
2378
2425
|
* possible states are:
|
|
2379
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
2380
|
-
*
|
|
2381
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
2382
|
-
*
|
|
2426
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
2427
|
+
* or system package upgrade transaction.
|
|
2428
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
2429
|
+
* or historical state of the object.
|
|
2383
2430
|
*/
|
|
2384
2431
|
status: ObjectKind;
|
|
2385
2432
|
/**
|
|
@@ -2626,10 +2673,11 @@ export type MovePackage = IObject & IOwner & {
|
|
|
2626
2673
|
* Note that objects that have been sent to a package become inaccessible.
|
|
2627
2674
|
*
|
|
2628
2675
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
2629
|
-
* gathering a page of results. It is required for queries that apply
|
|
2630
|
-
* more
|
|
2631
|
-
*
|
|
2632
|
-
* `serviceConfig.maxScanLimit`.
|
|
2676
|
+
* gathering a page of results. It is required for queries that apply two
|
|
2677
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
2678
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
2679
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
2680
|
+
* combined with any of them.
|
|
2633
2681
|
*
|
|
2634
2682
|
* When the scan limit is reached the page will be returned even if it has
|
|
2635
2683
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -2648,6 +2696,10 @@ export type MovePackage = IObject & IOwner & {
|
|
|
2648
2696
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
2649
2697
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
2650
2698
|
* `atCheckpoint` filters.
|
|
2699
|
+
*
|
|
2700
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
2701
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
2702
|
+
* will thus become obsolete and will be removed as well.
|
|
2651
2703
|
*/
|
|
2652
2704
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
2653
2705
|
/**
|
|
@@ -2660,10 +2712,10 @@ export type MovePackage = IObject & IOwner & {
|
|
|
2660
2712
|
/**
|
|
2661
2713
|
* The current status of the object as read from the off-chain store. The
|
|
2662
2714
|
* possible states are:
|
|
2663
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
2664
|
-
*
|
|
2665
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
2666
|
-
*
|
|
2715
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
2716
|
+
* or system package upgrade transaction.
|
|
2717
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
2718
|
+
* or historical state of the object.
|
|
2667
2719
|
*/
|
|
2668
2720
|
status: ObjectKind;
|
|
2669
2721
|
/**
|
|
@@ -2766,7 +2818,7 @@ export type MovePackageObjectsArgs = {
|
|
|
2766
2818
|
* definitions, functions, and dependencies.
|
|
2767
2819
|
*/
|
|
2768
2820
|
export type MovePackagePackageAtVersionArgs = {
|
|
2769
|
-
version: Scalars['
|
|
2821
|
+
version: Scalars['UInt53']['input'];
|
|
2770
2822
|
};
|
|
2771
2823
|
/**
|
|
2772
2824
|
* A MovePackage is a kind of Move object that represents code that has been
|
|
@@ -2899,15 +2951,9 @@ export type MoveStructTypeParameter = {
|
|
|
2899
2951
|
/** Represents concrete types (no type parameters, no references). */
|
|
2900
2952
|
export type MoveType = {
|
|
2901
2953
|
__typename?: 'MoveType';
|
|
2902
|
-
/**
|
|
2903
|
-
* The abilities this concrete type has. Returns no abilities if the type
|
|
2904
|
-
* is invalid.
|
|
2905
|
-
*/
|
|
2954
|
+
/** The abilities this concrete type has. */
|
|
2906
2955
|
abilities: Array<MoveAbility>;
|
|
2907
|
-
/**
|
|
2908
|
-
* Structured representation of the "shape" of values that match this type.
|
|
2909
|
-
* May return MoveTypeLayout::InvalidType for malformed types.
|
|
2910
|
-
*/
|
|
2956
|
+
/** Structured representation of the "shape" of values that match this type. */
|
|
2911
2957
|
layout: Scalars['MoveTypeLayout']['output'];
|
|
2912
2958
|
/** Flat representation of the type signature, as a displayable string. */
|
|
2913
2959
|
repr: Scalars['String']['output'];
|
|
@@ -2923,8 +2969,7 @@ export type MoveValue = {
|
|
|
2923
2969
|
/**
|
|
2924
2970
|
* Representation of a Move value in JSON, where:
|
|
2925
2971
|
*
|
|
2926
|
-
* - Addresses, IDs, and UIDs are represented in canonical form, as JSON
|
|
2927
|
-
* strings.
|
|
2972
|
+
* - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
|
|
2928
2973
|
* - Bools are represented by JSON boolean literals.
|
|
2929
2974
|
* - u8, u16, and u32 are represented as JSON numbers.
|
|
2930
2975
|
* - u64, u128, and u256 are represented as JSON strings.
|
|
@@ -2978,10 +3023,8 @@ export type Mutation = {
|
|
|
2978
3023
|
/**
|
|
2979
3024
|
* Execute a transaction, committing its effects on chain.
|
|
2980
3025
|
*
|
|
2981
|
-
* - `txBytes` is a `
|
|
2982
|
-
*
|
|
2983
|
-
* - `signatures` are a list of `flag || signature || pubkey` bytes,
|
|
2984
|
-
* Base64-encoded.
|
|
3026
|
+
* - `txBytes` is a `Transaction` struct that has been BCS-encoded and then Base64-encoded.
|
|
3027
|
+
* - `signatures` are a list of `flag || signature || pubkey` bytes, Base64-encoded.
|
|
2985
3028
|
*
|
|
2986
3029
|
* Waits until the transaction has reached finality on chain to return its
|
|
2987
3030
|
* transaction digest, or returns the error that prevented finality if
|
|
@@ -3099,10 +3142,11 @@ export type NameRegistration = IMoveObject & IOwner & {
|
|
|
3099
3142
|
* The transaction blocks that sent objects to this object.
|
|
3100
3143
|
*
|
|
3101
3144
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
3102
|
-
* gathering a page of results. It is required for queries that apply
|
|
3103
|
-
* more
|
|
3104
|
-
*
|
|
3105
|
-
* `serviceConfig.maxScanLimit`.
|
|
3145
|
+
* gathering a page of results. It is required for queries that apply two
|
|
3146
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
3147
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
3148
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
3149
|
+
* combined with any of them.
|
|
3106
3150
|
*
|
|
3107
3151
|
* When the scan limit is reached the page will be returned even if it has
|
|
3108
3152
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -3121,6 +3165,10 @@ export type NameRegistration = IMoveObject & IOwner & {
|
|
|
3121
3165
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
3122
3166
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
3123
3167
|
* `atCheckpoint` filters.
|
|
3168
|
+
*
|
|
3169
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
3170
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
3171
|
+
* will thus become obsolete and will be removed as well.
|
|
3124
3172
|
*/
|
|
3125
3173
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
3126
3174
|
/** The `0x3::staking_pool::StakedIota` objects owned by this object. */
|
|
@@ -3128,10 +3176,10 @@ export type NameRegistration = IMoveObject & IOwner & {
|
|
|
3128
3176
|
/**
|
|
3129
3177
|
* The current status of the object as read from the off-chain store. The
|
|
3130
3178
|
* possible states are:
|
|
3131
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
3132
|
-
*
|
|
3133
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
3134
|
-
*
|
|
3179
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
3180
|
+
* or system package upgrade transaction.
|
|
3181
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
3182
|
+
* or historical state of the object.
|
|
3135
3183
|
*/
|
|
3136
3184
|
status: ObjectKind;
|
|
3137
3185
|
/**
|
|
@@ -3307,10 +3355,11 @@ export type Object = IObject & IOwner & {
|
|
|
3307
3355
|
* The transaction blocks that sent objects to this object.
|
|
3308
3356
|
*
|
|
3309
3357
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
3310
|
-
* gathering a page of results. It is required for queries that apply
|
|
3311
|
-
* more
|
|
3312
|
-
*
|
|
3313
|
-
* `serviceConfig.maxScanLimit`.
|
|
3358
|
+
* gathering a page of results. It is required for queries that apply two
|
|
3359
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
3360
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
3361
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
3362
|
+
* combined with any of them.
|
|
3314
3363
|
*
|
|
3315
3364
|
* When the scan limit is reached the page will be returned even if it has
|
|
3316
3365
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -3329,6 +3378,10 @@ export type Object = IObject & IOwner & {
|
|
|
3329
3378
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
3330
3379
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
3331
3380
|
* `atCheckpoint` filters.
|
|
3381
|
+
*
|
|
3382
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
3383
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
3384
|
+
* will thus become obsolete and will be removed as well.
|
|
3332
3385
|
*/
|
|
3333
3386
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
3334
3387
|
/** The `0x3::staking_pool::StakedIota` objects owned by this object. */
|
|
@@ -3336,10 +3389,10 @@ export type Object = IObject & IOwner & {
|
|
|
3336
3389
|
/**
|
|
3337
3390
|
* The current status of the object as read from the off-chain store. The
|
|
3338
3391
|
* possible states are:
|
|
3339
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
3340
|
-
*
|
|
3341
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
3342
|
-
*
|
|
3392
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
3393
|
+
* or system package upgrade transaction.
|
|
3394
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
3395
|
+
* or historical state of the object.
|
|
3343
3396
|
*/
|
|
3344
3397
|
status: ObjectKind;
|
|
3345
3398
|
/**
|
|
@@ -3528,8 +3581,7 @@ export type ObjectEdge = {
|
|
|
3528
3581
|
*
|
|
3529
3582
|
* - Type matches the `type` filter,
|
|
3530
3583
|
* - AND, whose owner matches the `owner` filter,
|
|
3531
|
-
* - AND, whose ID is in `objectIds` OR whose ID and version is in
|
|
3532
|
-
* `objectKeys`.
|
|
3584
|
+
* - AND, whose ID is in `objectIds` OR whose ID and version is in `objectKeys`.
|
|
3533
3585
|
*/
|
|
3534
3586
|
export type ObjectFilter = {
|
|
3535
3587
|
/** Filter for live objects by their IDs. */
|
|
@@ -3970,14 +4022,14 @@ export type Query = {
|
|
|
3970
4022
|
* Simulate running a transaction to inspect its effects without
|
|
3971
4023
|
* committing to them on-chain.
|
|
3972
4024
|
*
|
|
3973
|
-
* `txBytes` either a `
|
|
4025
|
+
* `txBytes` either a `Transaction` struct or a `TransactionKind`
|
|
3974
4026
|
* struct, BCS-encoded and then Base64-encoded. The expected
|
|
3975
4027
|
* type is controlled by the presence or absence of `txMeta`: If
|
|
3976
4028
|
* present, `txBytes` is assumed to be a `TransactionKind`, if
|
|
3977
|
-
* absent, then `
|
|
4029
|
+
* absent, then `Transaction`.
|
|
3978
4030
|
*
|
|
3979
4031
|
* `txMeta` the data that is missing from a `TransactionKind` to make
|
|
3980
|
-
* a `
|
|
4032
|
+
* a `Transaction` (sender address and gas information). All
|
|
3981
4033
|
* its fields are nullable.
|
|
3982
4034
|
*
|
|
3983
4035
|
* `skipChecks` optional flag to disable the usual verification
|
|
@@ -4085,10 +4137,11 @@ export type Query = {
|
|
|
4085
4137
|
* The transaction blocks that exist in the network.
|
|
4086
4138
|
*
|
|
4087
4139
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
4088
|
-
* gathering a page of results. It is required for queries that apply
|
|
4089
|
-
* more
|
|
4090
|
-
*
|
|
4091
|
-
* `serviceConfig.maxScanLimit`.
|
|
4140
|
+
* gathering a page of results. It is required for queries that apply two
|
|
4141
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
4142
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
4143
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
4144
|
+
* combined with any of them.
|
|
4092
4145
|
*
|
|
4093
4146
|
* When the scan limit is reached the page will be returned even if it has
|
|
4094
4147
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -4108,13 +4161,30 @@ export type Query = {
|
|
|
4108
4161
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
4109
4162
|
* `atCheckpoint` filters. Transactions that don't have a checkpoint yet
|
|
4110
4163
|
* are always omitted.
|
|
4164
|
+
*
|
|
4165
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
4166
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
4167
|
+
* will thus become obsolete and will be removed as well.
|
|
4111
4168
|
*/
|
|
4112
4169
|
transactionBlocks: TransactionBlockConnection;
|
|
4113
4170
|
/**
|
|
4114
4171
|
* Fetch multiple transaction blocks by their digests.
|
|
4115
4172
|
* This includes all transactions, even if they are not checkpointed yet.
|
|
4173
|
+
* @deprecated Use `transactionsByDigests` instead. Will be removed in v1.38.
|
|
4116
4174
|
*/
|
|
4117
4175
|
transactionBlocksByDigests: Array<Maybe<TransactionBlock>>;
|
|
4176
|
+
/**
|
|
4177
|
+
* Fetch multiple transaction blocks by their digests.
|
|
4178
|
+
*
|
|
4179
|
+
* Unlike `transactionBlocks(filter: { transactionIds })`, this includes
|
|
4180
|
+
* all transactions, even if they are not checkpointed yet.
|
|
4181
|
+
*
|
|
4182
|
+
* Pages keep the order of the `digests` argument and hold one node per
|
|
4183
|
+
* digest, null when the transaction was not found. Only forward
|
|
4184
|
+
* pagination is supported: `limit` caps the page size and `cursor`
|
|
4185
|
+
* resumes after an entry of a previous page.
|
|
4186
|
+
*/
|
|
4187
|
+
transactionsByDigests: TransactionsByDigestsPage;
|
|
4118
4188
|
/**
|
|
4119
4189
|
* Fetch a structured representation of a concrete type, including its
|
|
4120
4190
|
* layout information. Fails if the type is malformed.
|
|
@@ -4223,6 +4293,11 @@ export type QueryTransactionBlocksArgs = {
|
|
|
4223
4293
|
export type QueryTransactionBlocksByDigestsArgs = {
|
|
4224
4294
|
digests: Array<Scalars['String']['input']>;
|
|
4225
4295
|
};
|
|
4296
|
+
export type QueryTransactionsByDigestsArgs = {
|
|
4297
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
4298
|
+
digests: Array<Scalars['String']['input']>;
|
|
4299
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
4300
|
+
};
|
|
4226
4301
|
export type QueryTypeArgs = {
|
|
4227
4302
|
type: Scalars['String']['input'];
|
|
4228
4303
|
};
|
|
@@ -4556,8 +4631,7 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
|
|
|
4556
4631
|
*
|
|
4557
4632
|
* Or 0, if this value is negative, where:
|
|
4558
4633
|
*
|
|
4559
|
-
* - `initial_stake_rate` is the stake rate at the epoch this stake was
|
|
4560
|
-
* activated at.
|
|
4634
|
+
* - `initial_stake_rate` is the stake rate at the epoch this stake was activated at.
|
|
4561
4635
|
* - `current_stake_rate` is the stake rate in the current epoch.
|
|
4562
4636
|
*
|
|
4563
4637
|
* This value is only available if the stake is active.
|
|
@@ -4587,10 +4661,11 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
|
|
|
4587
4661
|
* The transaction blocks that sent objects to this object.
|
|
4588
4662
|
*
|
|
4589
4663
|
* `scanLimit` restricts the number of candidate transactions scanned when
|
|
4590
|
-
* gathering a page of results. It is required for queries that apply
|
|
4591
|
-
* more
|
|
4592
|
-
*
|
|
4593
|
-
* `serviceConfig.maxScanLimit`.
|
|
4664
|
+
* gathering a page of results. It is required for queries that apply two
|
|
4665
|
+
* or more complex filters (on function, affected address, recipient, input
|
|
4666
|
+
* object, changed object, or wrapped or deleted object), and can be at
|
|
4667
|
+
* most `serviceConfig.maxScanLimit`. A `kind` filter cannot be
|
|
4668
|
+
* combined with any of them.
|
|
4594
4669
|
*
|
|
4595
4670
|
* When the scan limit is reached the page will be returned even if it has
|
|
4596
4671
|
* fewer than `first` results when paginating forward (`last` when
|
|
@@ -4609,6 +4684,10 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
|
|
|
4609
4684
|
* GraphQL, but it can be restricted by the `after` and `before`
|
|
4610
4685
|
* cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
|
|
4611
4686
|
* `atCheckpoint` filters.
|
|
4687
|
+
*
|
|
4688
|
+
* DEPRECATION NOTICE: Support for the combination of two or more complex
|
|
4689
|
+
* filters as discussed above will stop with the v1.38 release. `scanLimit`
|
|
4690
|
+
* will thus become obsolete and will be removed as well.
|
|
4612
4691
|
*/
|
|
4613
4692
|
receivedTransactionBlocks: TransactionBlockConnection;
|
|
4614
4693
|
/** The epoch at which this object was requested to join a stake pool. */
|
|
@@ -4620,10 +4699,10 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
|
|
|
4620
4699
|
/**
|
|
4621
4700
|
* The current status of the object as read from the off-chain store. The
|
|
4622
4701
|
* possible states are:
|
|
4623
|
-
* - NOT_INDEXED: The object is loaded from serialized data, such as the
|
|
4624
|
-
*
|
|
4625
|
-
* - INDEXED: The object is retrieved from the off-chain index and
|
|
4626
|
-
*
|
|
4702
|
+
* - NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis
|
|
4703
|
+
* or system package upgrade transaction.
|
|
4704
|
+
* - INDEXED: The object is retrieved from the off-chain index and represents the most recent
|
|
4705
|
+
* or historical state of the object.
|
|
4627
4706
|
*/
|
|
4628
4707
|
status: ObjectKind;
|
|
4629
4708
|
/**
|
|
@@ -4851,10 +4930,20 @@ export type TransactionArgument = GasCoin | Input | Result;
|
|
|
4851
4930
|
export type TransactionBlock = {
|
|
4852
4931
|
__typename?: 'TransactionBlock';
|
|
4853
4932
|
/**
|
|
4854
|
-
*
|
|
4855
|
-
*
|
|
4933
|
+
* This transaction's `SenderSignedTransaction`, BCS serialized and Base64
|
|
4934
|
+
* encoded.
|
|
4935
|
+
*
|
|
4936
|
+
* `null` for simulated transactions, which have no signatures. use
|
|
4937
|
+
* `bcsUnsigned` for them instead.
|
|
4856
4938
|
*/
|
|
4857
4939
|
bcs?: Maybe<Scalars['Base64']['output']>;
|
|
4940
|
+
/**
|
|
4941
|
+
* This transaction's `TransactionData` (the transaction without its
|
|
4942
|
+
* signatures), BCS serialized and Base64 encoded.
|
|
4943
|
+
*
|
|
4944
|
+
* Available for every transaction, including simulated ones.
|
|
4945
|
+
*/
|
|
4946
|
+
bcsUnsigned?: Maybe<Scalars['Base64']['output']>;
|
|
4858
4947
|
/**
|
|
4859
4948
|
* A 32-byte hash that uniquely identifies the transaction block contents,
|
|
4860
4949
|
* encoded in Base58. This serves as a unique id for the block on
|
|
@@ -4933,6 +5022,11 @@ export type TransactionBlockEdge = {
|
|
|
4933
5022
|
/** The effects representing the result of executing a transaction block. */
|
|
4934
5023
|
export type TransactionBlockEffects = {
|
|
4935
5024
|
__typename?: 'TransactionBlockEffects';
|
|
5025
|
+
/**
|
|
5026
|
+
* The error code of the Move abort, populated if this transaction failed
|
|
5027
|
+
* with a Move abort.
|
|
5028
|
+
*/
|
|
5029
|
+
abortCode?: Maybe<Scalars['BigInt']['output']>;
|
|
4936
5030
|
/**
|
|
4937
5031
|
* The effect this transaction had on the balances (sum of coin values per
|
|
4938
5032
|
* coin type) of addresses and objects.
|
|
@@ -5020,6 +5114,11 @@ export type TransactionBlockEffectsUnchangedSharedObjectsArgs = {
|
|
|
5020
5114
|
};
|
|
5021
5115
|
/** Represents optional available filters for transaction blocks. */
|
|
5022
5116
|
export type TransactionBlockFilter = {
|
|
5117
|
+
/**
|
|
5118
|
+
* Limit to transactions that affected the given address (the address is
|
|
5119
|
+
* the sender, a recipient, or the owner of the gas payment).
|
|
5120
|
+
*/
|
|
5121
|
+
affectedAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5023
5122
|
/** Limit to transactions that occurred strictly after the given checkpoint. */
|
|
5024
5123
|
afterCheckpoint?: InputMaybe<Scalars['UInt53']['input']>;
|
|
5025
5124
|
/** Limit to transactions in the given checkpoint. */
|
|
@@ -5055,7 +5154,7 @@ export type TransactionBlockFilter = {
|
|
|
5055
5154
|
* The kind of transaction block, either a programmable transaction or a system
|
|
5056
5155
|
* transaction.
|
|
5057
5156
|
*/
|
|
5058
|
-
export type TransactionBlockKind = ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction;
|
|
5157
|
+
export type TransactionBlockKind = ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction | TransactionDenyRulesUpdateTransaction;
|
|
5059
5158
|
/** An input filter selecting for either system or programmable transactions. */
|
|
5060
5159
|
export declare enum TransactionBlockKindInput {
|
|
5061
5160
|
/** The consensus commit prologue transaction block. */
|
|
@@ -5079,10 +5178,52 @@ export declare enum TransactionBlockKindInput {
|
|
|
5079
5178
|
*
|
|
5080
5179
|
* It could be one of the following:
|
|
5081
5180
|
* - A successful payload from the subscription stream.
|
|
5082
|
-
* - A notice that the subscription has been lagged behind the network with the
|
|
5083
|
-
*
|
|
5181
|
+
* - A notice that the subscription has been lagged behind the network with the number of lost
|
|
5182
|
+
* payloads.
|
|
5084
5183
|
*/
|
|
5085
5184
|
export type TransactionBlockSubscriptionPayload = Lagged | TransactionBlock;
|
|
5185
|
+
export type TransactionDenyRulesCreateTransaction = {
|
|
5186
|
+
__typename?: 'TransactionDenyRulesCreateTransaction';
|
|
5187
|
+
/** A workaround to define an empty variant of a GraphQL union. */
|
|
5188
|
+
dummy?: Maybe<Scalars['Boolean']['output']>;
|
|
5189
|
+
};
|
|
5190
|
+
/**
|
|
5191
|
+
* System transaction that applies an add/remove delta to the on-chain
|
|
5192
|
+
* transaction deny rules; the switch states are absolute.
|
|
5193
|
+
*/
|
|
5194
|
+
export type TransactionDenyRulesUpdateTransaction = {
|
|
5195
|
+
__typename?: 'TransactionDenyRulesUpdateTransaction';
|
|
5196
|
+
/** Addresses added to the sender-or-sponsor deny list. */
|
|
5197
|
+
addedAddresses: Array<Scalars['IotaAddress']['output']>;
|
|
5198
|
+
/** Objects added to the input-or-receiving deny list. */
|
|
5199
|
+
addedObjects: Array<Scalars['IotaAddress']['output']>;
|
|
5200
|
+
/** Packages added to the dependency deny list. */
|
|
5201
|
+
addedPackages: Array<Scalars['IotaAddress']['output']>;
|
|
5202
|
+
/** The initial version the deny rules object was shared at. */
|
|
5203
|
+
denyRulesObjInitialSharedVersion: Scalars['UInt53']['output'];
|
|
5204
|
+
/** Epoch of the deny rules update transaction. */
|
|
5205
|
+
epoch?: Maybe<Epoch>;
|
|
5206
|
+
/** Whether transactions signed with a Move authenticator are denied. */
|
|
5207
|
+
moveAuthenticatorDisabled: Scalars['Boolean']['output'];
|
|
5208
|
+
/** Whether all package publishing is denied. */
|
|
5209
|
+
packagePublishDisabled: Scalars['Boolean']['output'];
|
|
5210
|
+
/** Whether all package upgrades are denied. */
|
|
5211
|
+
packageUpgradeDisabled: Scalars['Boolean']['output'];
|
|
5212
|
+
/** Whether transactions that contain receiving objects are denied. */
|
|
5213
|
+
receivingObjectsDisabled: Scalars['Boolean']['output'];
|
|
5214
|
+
/** Addresses removed from the sender-or-sponsor deny list. */
|
|
5215
|
+
removedAddresses: Array<Scalars['IotaAddress']['output']>;
|
|
5216
|
+
/** Objects removed from the input-or-receiving deny list. */
|
|
5217
|
+
removedObjects: Array<Scalars['IotaAddress']['output']>;
|
|
5218
|
+
/** Packages removed from the dependency deny list. */
|
|
5219
|
+
removedPackages: Array<Scalars['IotaAddress']['output']>;
|
|
5220
|
+
/** Consensus round of the update. */
|
|
5221
|
+
round: Scalars['UInt53']['output'];
|
|
5222
|
+
/** Whether transactions that use shared objects as inputs are denied. */
|
|
5223
|
+
sharedObjectDisabled: Scalars['Boolean']['output'];
|
|
5224
|
+
/** Whether all user transactions are denied. */
|
|
5225
|
+
userTransactionDisabled: Scalars['Boolean']['output'];
|
|
5226
|
+
};
|
|
5086
5227
|
export type TransactionInput = OwnedOrImmutable | Pure | Receiving | SharedInput;
|
|
5087
5228
|
export type TransactionInputConnection = {
|
|
5088
5229
|
__typename?: 'TransactionInputConnection';
|
|
@@ -5115,6 +5256,22 @@ export type TransactionMetadata = {
|
|
|
5115
5256
|
gasSponsor?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5116
5257
|
sender?: InputMaybe<Scalars['IotaAddress']['input']>;
|
|
5117
5258
|
};
|
|
5259
|
+
/** A page of the `transactionsByDigests` query. */
|
|
5260
|
+
export type TransactionsByDigestsPage = {
|
|
5261
|
+
__typename?: 'TransactionsByDigestsPage';
|
|
5262
|
+
/**
|
|
5263
|
+
* Cursor of the last entry of this page; pass it as `cursor` to get the
|
|
5264
|
+
* next page.
|
|
5265
|
+
*/
|
|
5266
|
+
endCursor?: Maybe<Scalars['String']['output']>;
|
|
5267
|
+
/** Whether there are more entries after this page. */
|
|
5268
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
5269
|
+
/**
|
|
5270
|
+
* One entry per digest of the page, in the order of the `digests`
|
|
5271
|
+
* argument, null when the transaction was not found.
|
|
5272
|
+
*/
|
|
5273
|
+
nodes: Array<Maybe<TransactionBlock>>;
|
|
5274
|
+
};
|
|
5118
5275
|
/**
|
|
5119
5276
|
* Transfers `inputs` to `address`. All inputs must have the `store` ability
|
|
5120
5277
|
* (allows public transfer) and must not be previously immutable or shared.
|
|
@@ -5470,6 +5627,8 @@ export type GetCheckpointQuery = {
|
|
|
5470
5627
|
protocolVersion: any;
|
|
5471
5628
|
};
|
|
5472
5629
|
} | null;
|
|
5630
|
+
} | {
|
|
5631
|
+
__typename: 'TransactionDenyRulesCreateTransaction';
|
|
5473
5632
|
}>;
|
|
5474
5633
|
};
|
|
5475
5634
|
} | {
|
|
@@ -5478,6 +5637,8 @@ export type GetCheckpointQuery = {
|
|
|
5478
5637
|
__typename: 'ProgrammableTransactionBlock';
|
|
5479
5638
|
} | {
|
|
5480
5639
|
__typename: 'RandomnessStateUpdateTransaction';
|
|
5640
|
+
} | {
|
|
5641
|
+
__typename: 'TransactionDenyRulesUpdateTransaction';
|
|
5481
5642
|
} | null;
|
|
5482
5643
|
}>;
|
|
5483
5644
|
};
|
|
@@ -5589,6 +5750,8 @@ export type GetCheckpointsQuery = {
|
|
|
5589
5750
|
protocolVersion: any;
|
|
5590
5751
|
};
|
|
5591
5752
|
} | null;
|
|
5753
|
+
} | {
|
|
5754
|
+
__typename: 'TransactionDenyRulesCreateTransaction';
|
|
5592
5755
|
}>;
|
|
5593
5756
|
};
|
|
5594
5757
|
} | {
|
|
@@ -5597,6 +5760,8 @@ export type GetCheckpointsQuery = {
|
|
|
5597
5760
|
__typename: 'ProgrammableTransactionBlock';
|
|
5598
5761
|
} | {
|
|
5599
5762
|
__typename: 'RandomnessStateUpdateTransaction';
|
|
5763
|
+
} | {
|
|
5764
|
+
__typename: 'TransactionDenyRulesUpdateTransaction';
|
|
5600
5765
|
} | null;
|
|
5601
5766
|
}>;
|
|
5602
5767
|
};
|
|
@@ -5714,6 +5879,8 @@ export type Rpc_Checkpoint_FieldsFragment = {
|
|
|
5714
5879
|
protocolVersion: any;
|
|
5715
5880
|
};
|
|
5716
5881
|
} | null;
|
|
5882
|
+
} | {
|
|
5883
|
+
__typename: 'TransactionDenyRulesCreateTransaction';
|
|
5717
5884
|
}>;
|
|
5718
5885
|
};
|
|
5719
5886
|
} | {
|
|
@@ -5722,6 +5889,8 @@ export type Rpc_Checkpoint_FieldsFragment = {
|
|
|
5722
5889
|
__typename: 'ProgrammableTransactionBlock';
|
|
5723
5890
|
} | {
|
|
5724
5891
|
__typename: 'RandomnessStateUpdateTransaction';
|
|
5892
|
+
} | {
|
|
5893
|
+
__typename: 'TransactionDenyRulesUpdateTransaction';
|
|
5725
5894
|
} | null;
|
|
5726
5895
|
}>;
|
|
5727
5896
|
};
|
|
@@ -8383,6 +8552,59 @@ export type Rpc_Stake_FieldsFragment = {
|
|
|
8383
8552
|
json: any;
|
|
8384
8553
|
} | null;
|
|
8385
8554
|
};
|
|
8555
|
+
export type SubscribeEventsSubscriptionVariables = Exact<{
|
|
8556
|
+
filter?: InputMaybe<SubscriptionEventFilter>;
|
|
8557
|
+
startAfter?: InputMaybe<Scalars['String']['input']>;
|
|
8558
|
+
}>;
|
|
8559
|
+
export type SubscribeEventsSubscription = {
|
|
8560
|
+
__typename?: 'Subscription';
|
|
8561
|
+
events: {
|
|
8562
|
+
__typename: 'Event';
|
|
8563
|
+
json: any;
|
|
8564
|
+
bcs: any;
|
|
8565
|
+
timestamp?: any | null;
|
|
8566
|
+
transactionBlock?: {
|
|
8567
|
+
__typename?: 'TransactionBlock';
|
|
8568
|
+
digest?: string | null;
|
|
8569
|
+
} | null;
|
|
8570
|
+
sendingModule?: {
|
|
8571
|
+
__typename?: 'MoveModule';
|
|
8572
|
+
name: string;
|
|
8573
|
+
package: {
|
|
8574
|
+
__typename?: 'MovePackage';
|
|
8575
|
+
address: any;
|
|
8576
|
+
};
|
|
8577
|
+
} | null;
|
|
8578
|
+
sender?: {
|
|
8579
|
+
__typename?: 'Address';
|
|
8580
|
+
address: any;
|
|
8581
|
+
} | null;
|
|
8582
|
+
type: {
|
|
8583
|
+
__typename?: 'MoveType';
|
|
8584
|
+
repr: string;
|
|
8585
|
+
};
|
|
8586
|
+
} | {
|
|
8587
|
+
__typename: 'Lagged';
|
|
8588
|
+
count: number;
|
|
8589
|
+
};
|
|
8590
|
+
};
|
|
8591
|
+
export type SubscribeTransactionsSubscriptionVariables = Exact<{
|
|
8592
|
+
filter?: InputMaybe<SubscriptionTransactionFilter>;
|
|
8593
|
+
startAfter?: InputMaybe<Scalars['String']['input']>;
|
|
8594
|
+
}>;
|
|
8595
|
+
export type SubscribeTransactionsSubscription = {
|
|
8596
|
+
__typename?: 'Subscription';
|
|
8597
|
+
transactions: {
|
|
8598
|
+
__typename: 'Lagged';
|
|
8599
|
+
count: number;
|
|
8600
|
+
} | {
|
|
8601
|
+
__typename: 'TransactionBlock';
|
|
8602
|
+
effects?: {
|
|
8603
|
+
__typename?: 'TransactionBlockEffects';
|
|
8604
|
+
bcs: any;
|
|
8605
|
+
} | null;
|
|
8606
|
+
};
|
|
8607
|
+
};
|
|
8386
8608
|
export type TransactionBlocksByDigestsQueryVariables = Exact<{
|
|
8387
8609
|
digests: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
8388
8610
|
}>;
|
|
@@ -9268,6 +9490,8 @@ export declare const MultiGetObjectsDocument: TypedDocumentString<MultiGetObject
|
|
|
9268
9490
|
export declare const QueryEventsDocument: TypedDocumentString<QueryEventsQuery, QueryEventsQueryVariables>;
|
|
9269
9491
|
export declare const GetStakesDocument: TypedDocumentString<GetStakesQuery, GetStakesQueryVariables>;
|
|
9270
9492
|
export declare const GetStakesByIdsDocument: TypedDocumentString<GetStakesByIdsQuery, GetStakesByIdsQueryVariables>;
|
|
9493
|
+
export declare const SubscribeEventsDocument: TypedDocumentString<SubscribeEventsSubscription, SubscribeEventsSubscriptionVariables>;
|
|
9494
|
+
export declare const SubscribeTransactionsDocument: TypedDocumentString<SubscribeTransactionsSubscription, SubscribeTransactionsSubscriptionVariables>;
|
|
9271
9495
|
export declare const TransactionBlocksByDigestsDocument: TypedDocumentString<TransactionBlocksByDigestsQuery, TransactionBlocksByDigestsQueryVariables>;
|
|
9272
9496
|
export declare const QueryTransactionBlocksDocument: TypedDocumentString<QueryTransactionBlocksQuery, QueryTransactionBlocksQueryVariables>;
|
|
9273
9497
|
export declare const GetTransactionBlockDocument: TypedDocumentString<GetTransactionBlockQuery, GetTransactionBlockQueryVariables>;
|