@iota/graphql-transport 0.19.0 → 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.
@@ -796,10 +796,10 @@ export type Coin = IMoveObject & IObject & IOwner & {
796
796
  /**
797
797
  * The current status of the object as read from the off-chain store. The
798
798
  * possible states are:
799
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
800
- * contents of a genesis or system package upgrade transaction.
801
- * - INDEXED: The object is retrieved from the off-chain index and
802
- * represents the most recent or historical state of the object.
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.
803
803
  */
804
804
  status: ObjectKind;
805
805
  /**
@@ -1021,10 +1021,10 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
1021
1021
  /**
1022
1022
  * The current status of the object as read from the off-chain store. The
1023
1023
  * possible states are:
1024
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
1025
- * contents of a genesis or system package upgrade transaction.
1026
- * - INDEXED: The object is retrieved from the off-chain index and
1027
- * represents the most recent or historical state of the object.
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.
1028
1028
  */
1029
1029
  status: ObjectKind;
1030
1030
  /**
@@ -1180,6 +1180,8 @@ export type DryRunResult = {
1180
1180
  * including contents of mutated references and return values.
1181
1181
  */
1182
1182
  results?: Maybe<Array<DryRunEffect>>;
1183
+ /** If an input object is congested, suggest a gas price to use. */
1184
+ suggestedGasPrice?: Maybe<Scalars['BigInt']['output']>;
1183
1185
  /** The transaction block representing the dry run execution. */
1184
1186
  transaction?: Maybe<TransactionBlock>;
1185
1187
  };
@@ -1193,13 +1195,12 @@ export type DryRunReturn = {
1193
1195
  * runtime, and can have arbitrary user-assigned names. There are two sub-types
1194
1196
  * of dynamic fields:
1195
1197
  *
1196
- * 1) Dynamic Fields can store any value that has the `store` ability, however
1197
- * an object stored in this kind of field will be considered wrapped and
1198
- * will not be accessible directly via its ID by external tools (explorers,
1199
- * wallets, etc) accessing storage.
1200
- * 2) Dynamic Object Fields values must be IOTA objects (have the `key` and
1201
- * `store` abilities, and id: UID as the first field), but will still be
1202
- * 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.
1203
1204
  */
1204
1205
  export type DynamicField = {
1205
1206
  __typename?: 'DynamicField';
@@ -1456,8 +1457,7 @@ export type Event = {
1456
1457
  /**
1457
1458
  * Representation of a Move value in JSON, where:
1458
1459
  *
1459
- * - Addresses, IDs, and UIDs are represented in canonical form, as JSON
1460
- * strings.
1460
+ * - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
1461
1461
  * - Bools are represented by JSON boolean literals.
1462
1462
  * - u8, u16, and u32 are represented as JSON numbers.
1463
1463
  * - u64, u128, and u256 are represented as JSON strings.
@@ -1547,8 +1547,8 @@ export type EventFilter = {
1547
1547
  *
1548
1548
  * It could be one of the following:
1549
1549
  * - A successful payload from the subscription stream.
1550
- * - A notice that the subscription has been lagged behind the network with the
1551
- * number of lost payloads.
1550
+ * - A notice that the subscription has been lagged behind the network with the number of lost
1551
+ * payloads.
1552
1552
  */
1553
1553
  export type EventSubscriptionPayload = Event | Lagged;
1554
1554
  /**
@@ -2423,10 +2423,10 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2423
2423
  /**
2424
2424
  * The current status of the object as read from the off-chain store. The
2425
2425
  * possible states are:
2426
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
2427
- * contents of a genesis or system package upgrade transaction.
2428
- * - INDEXED: The object is retrieved from the off-chain index and
2429
- * represents the most recent or historical state of the object.
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.
2430
2430
  */
2431
2431
  status: ObjectKind;
2432
2432
  /**
@@ -2712,10 +2712,10 @@ export type MovePackage = IObject & IOwner & {
2712
2712
  /**
2713
2713
  * The current status of the object as read from the off-chain store. The
2714
2714
  * possible states are:
2715
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
2716
- * contents of a genesis or system package upgrade transaction.
2717
- * - INDEXED: The object is retrieved from the off-chain index and
2718
- * represents the most recent or historical state of the object.
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.
2719
2719
  */
2720
2720
  status: ObjectKind;
2721
2721
  /**
@@ -2969,8 +2969,7 @@ export type MoveValue = {
2969
2969
  /**
2970
2970
  * Representation of a Move value in JSON, where:
2971
2971
  *
2972
- * - Addresses, IDs, and UIDs are represented in canonical form, as JSON
2973
- * strings.
2972
+ * - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
2974
2973
  * - Bools are represented by JSON boolean literals.
2975
2974
  * - u8, u16, and u32 are represented as JSON numbers.
2976
2975
  * - u64, u128, and u256 are represented as JSON strings.
@@ -3024,10 +3023,8 @@ export type Mutation = {
3024
3023
  /**
3025
3024
  * Execute a transaction, committing its effects on chain.
3026
3025
  *
3027
- * - `txBytes` is a `Transaction` struct that has been BCS-encoded and then
3028
- * Base64-encoded.
3029
- * - `signatures` are a list of `flag || signature || pubkey` bytes,
3030
- * 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.
3031
3028
  *
3032
3029
  * Waits until the transaction has reached finality on chain to return its
3033
3030
  * transaction digest, or returns the error that prevented finality if
@@ -3179,10 +3176,10 @@ export type NameRegistration = IMoveObject & IOwner & {
3179
3176
  /**
3180
3177
  * The current status of the object as read from the off-chain store. The
3181
3178
  * possible states are:
3182
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
3183
- * contents of a genesis or system package upgrade transaction.
3184
- * - INDEXED: The object is retrieved from the off-chain index and
3185
- * represents the most recent or historical state of the object.
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.
3186
3183
  */
3187
3184
  status: ObjectKind;
3188
3185
  /**
@@ -3392,10 +3389,10 @@ export type Object = IObject & IOwner & {
3392
3389
  /**
3393
3390
  * The current status of the object as read from the off-chain store. The
3394
3391
  * possible states are:
3395
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
3396
- * contents of a genesis or system package upgrade transaction.
3397
- * - INDEXED: The object is retrieved from the off-chain index and
3398
- * represents the most recent or historical state of the object.
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.
3399
3396
  */
3400
3397
  status: ObjectKind;
3401
3398
  /**
@@ -3584,8 +3581,7 @@ export type ObjectEdge = {
3584
3581
  *
3585
3582
  * - Type matches the `type` filter,
3586
3583
  * - AND, whose owner matches the `owner` filter,
3587
- * - AND, whose ID is in `objectIds` OR whose ID and version is in
3588
- * `objectKeys`.
3584
+ * - AND, whose ID is in `objectIds` OR whose ID and version is in `objectKeys`.
3589
3585
  */
3590
3586
  export type ObjectFilter = {
3591
3587
  /** Filter for live objects by their IDs. */
@@ -4635,8 +4631,7 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4635
4631
  *
4636
4632
  * Or 0, if this value is negative, where:
4637
4633
  *
4638
- * - `initial_stake_rate` is the stake rate at the epoch this stake was
4639
- * activated at.
4634
+ * - `initial_stake_rate` is the stake rate at the epoch this stake was activated at.
4640
4635
  * - `current_stake_rate` is the stake rate in the current epoch.
4641
4636
  *
4642
4637
  * This value is only available if the stake is active.
@@ -4704,10 +4699,10 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4704
4699
  /**
4705
4700
  * The current status of the object as read from the off-chain store. The
4706
4701
  * possible states are:
4707
- * - NOT_INDEXED: The object is loaded from serialized data, such as the
4708
- * contents of a genesis or system package upgrade transaction.
4709
- * - INDEXED: The object is retrieved from the off-chain index and
4710
- * represents the most recent or historical state of the object.
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.
4711
4706
  */
4712
4707
  status: ObjectKind;
4713
4708
  /**
@@ -4935,10 +4930,20 @@ export type TransactionArgument = GasCoin | Input | Result;
4935
4930
  export type TransactionBlock = {
4936
4931
  __typename?: 'TransactionBlock';
4937
4932
  /**
4938
- * Serialized form of this transaction's `SenderSignedTransaction`, BCS
4939
- * serialized and Base64 encoded.
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.
4940
4938
  */
4941
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']>;
4942
4947
  /**
4943
4948
  * A 32-byte hash that uniquely identifies the transaction block contents,
4944
4949
  * encoded in Base58. This serves as a unique id for the block on
@@ -5173,8 +5178,8 @@ export declare enum TransactionBlockKindInput {
5173
5178
  *
5174
5179
  * It could be one of the following:
5175
5180
  * - A successful payload from the subscription stream.
5176
- * - A notice that the subscription has been lagged behind the network with the
5177
- * number of lost payloads.
5181
+ * - A notice that the subscription has been lagged behind the network with the number of lost
5182
+ * payloads.
5178
5183
  */
5179
5184
  export type TransactionBlockSubscriptionPayload = Lagged | TransactionBlock;
5180
5185
  export type TransactionDenyRulesCreateTransaction = {