@fuel-ts/account 0.0.0-rc-2021-20240424121206 → 0.0.0-rc-1976-20240424150847
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.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/README.md +3 -3
- package/dist/account.d.ts +4 -5
- package/dist/account.d.ts.map +1 -1
- package/dist/configs.d.ts.map +1 -1
- package/dist/configs.global.js +1 -1
- package/dist/configs.global.js.map +1 -1
- package/dist/configs.js +1 -1
- package/dist/configs.js.map +1 -1
- package/dist/configs.mjs +1 -1
- package/dist/configs.mjs.map +1 -1
- package/dist/index.global.js +686 -942
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +605 -865
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +448 -707
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +2 -10
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +327 -821
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/coin-quantity.d.ts +3 -3
- package/dist/providers/coin-quantity.d.ts.map +1 -1
- package/dist/providers/coin.d.ts +2 -4
- package/dist/providers/coin.d.ts.map +1 -1
- package/dist/providers/message.d.ts +1 -7
- package/dist/providers/message.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +34 -37
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/transaction-request/create-transaction-request.d.ts +1 -1
- package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/input.d.ts +2 -2
- package/dist/providers/transaction-request/input.d.ts.map +1 -1
- package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +33 -12
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/utils.d.ts +0 -3
- package/dist/providers/transaction-request/utils.d.ts.map +1 -1
- package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +0 -2
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +2 -3
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +2 -8
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/providers/utils/merge-quantities.d.ts +1 -1
- package/dist/providers/utils/merge-quantities.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +1218 -1690
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +604 -846
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +458 -700
- package/dist/test-utils.mjs.map +1 -1
- package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
- package/package.json +17 -17
@@ -32,7 +32,6 @@ export type Scalars = {
|
|
32
32
|
TransactionId: string;
|
33
33
|
TxPointer: any;
|
34
34
|
U8: any;
|
35
|
-
U16: any;
|
36
35
|
U32: any;
|
37
36
|
U64: string;
|
38
37
|
UtxoId: string;
|
@@ -68,7 +67,6 @@ export type GqlBlock = {
|
|
68
67
|
__typename: 'Block';
|
69
68
|
consensus: GqlConsensus;
|
70
69
|
header: GqlHeader;
|
71
|
-
height: Scalars['U32'];
|
72
70
|
id: Scalars['BlockId'];
|
73
71
|
transactions: Array<GqlTransaction>;
|
74
72
|
};
|
@@ -89,7 +87,6 @@ export type GqlBlockEdge = {
|
|
89
87
|
/** The item at the end of the edge */
|
90
88
|
node: GqlBlock;
|
91
89
|
};
|
92
|
-
/** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
|
93
90
|
export type GqlBreakpoint = {
|
94
91
|
contract: Scalars['ContractId'];
|
95
92
|
pc: Scalars['U64'];
|
@@ -114,9 +111,10 @@ export type GqlCoin = {
|
|
114
111
|
assetId: Scalars['AssetId'];
|
115
112
|
/** TxPointer - the height of the block this coin was created in */
|
116
113
|
blockCreated: Scalars['U32'];
|
114
|
+
maturity: Scalars['U32'];
|
117
115
|
owner: Scalars['Address'];
|
118
116
|
/** TxPointer - the index of the transaction that created this coin */
|
119
|
-
txCreatedIdx: Scalars['
|
117
|
+
txCreatedIdx: Scalars['U64'];
|
120
118
|
utxoId: Scalars['UtxoId'];
|
121
119
|
};
|
122
120
|
export type GqlCoinConnection = {
|
@@ -154,18 +152,14 @@ export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
|
|
154
152
|
export type GqlConsensusParameters = {
|
155
153
|
__typename: 'ConsensusParameters';
|
156
154
|
baseAssetId: Scalars['AssetId'];
|
157
|
-
blockGasLimit: Scalars['U64'];
|
158
155
|
chainId: Scalars['U64'];
|
159
156
|
contractParams: GqlContractParameters;
|
160
157
|
feeParams: GqlFeeParameters;
|
161
158
|
gasCosts: GqlGasCosts;
|
162
159
|
predicateParams: GqlPredicateParameters;
|
163
|
-
privilegedAddress: Scalars['Address'];
|
164
160
|
scriptParams: GqlScriptParameters;
|
165
161
|
txParams: GqlTxParameters;
|
166
|
-
version: GqlConsensusParametersVersion;
|
167
162
|
};
|
168
|
-
export type GqlConsensusParametersVersion = GqlVersion;
|
169
163
|
export type GqlContract = {
|
170
164
|
__typename: 'Contract';
|
171
165
|
bytecode: Scalars['HexString'];
|
@@ -201,45 +195,21 @@ export type GqlContractBalanceFilterInput = {
|
|
201
195
|
};
|
202
196
|
export type GqlContractCreated = {
|
203
197
|
__typename: 'ContractCreated';
|
204
|
-
contract:
|
198
|
+
contract: GqlContract;
|
205
199
|
stateRoot: Scalars['Bytes32'];
|
206
200
|
};
|
207
201
|
export type GqlContractOutput = {
|
208
202
|
__typename: 'ContractOutput';
|
209
203
|
balanceRoot: Scalars['Bytes32'];
|
210
|
-
inputIndex: Scalars['
|
204
|
+
inputIndex: Scalars['Int'];
|
211
205
|
stateRoot: Scalars['Bytes32'];
|
212
206
|
};
|
213
207
|
export type GqlContractParameters = {
|
214
208
|
__typename: 'ContractParameters';
|
215
209
|
contractMaxSize: Scalars['U64'];
|
216
210
|
maxStorageSlots: Scalars['U64'];
|
217
|
-
version: GqlContractParametersVersion;
|
218
211
|
};
|
219
|
-
export type GqlContractParametersVersion = GqlVersion;
|
220
212
|
export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
|
221
|
-
export type GqlDryRunFailureStatus = {
|
222
|
-
__typename: 'DryRunFailureStatus';
|
223
|
-
programState?: Maybe<GqlProgramState>;
|
224
|
-
reason: Scalars['String'];
|
225
|
-
receipts: Array<GqlReceipt>;
|
226
|
-
};
|
227
|
-
export type GqlDryRunSuccessStatus = {
|
228
|
-
__typename: 'DryRunSuccessStatus';
|
229
|
-
programState?: Maybe<GqlProgramState>;
|
230
|
-
receipts: Array<GqlReceipt>;
|
231
|
-
};
|
232
|
-
export type GqlDryRunTransactionExecutionStatus = {
|
233
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
234
|
-
id: Scalars['TransactionId'];
|
235
|
-
receipts: Array<GqlReceipt>;
|
236
|
-
status: GqlDryRunTransactionStatus;
|
237
|
-
};
|
238
|
-
export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
|
239
|
-
export type GqlEstimateGasPrice = {
|
240
|
-
__typename: 'EstimateGasPrice';
|
241
|
-
gasPrice: Scalars['U64'];
|
242
|
-
};
|
243
213
|
export type GqlExcludeInput = {
|
244
214
|
/** Messages to exclude from the selection. */
|
245
215
|
messages: Array<Scalars['Nonce']>;
|
@@ -259,9 +229,7 @@ export type GqlFeeParameters = {
|
|
259
229
|
__typename: 'FeeParameters';
|
260
230
|
gasPerByte: Scalars['U64'];
|
261
231
|
gasPriceFactor: Scalars['U64'];
|
262
|
-
version: GqlFeeParametersVersion;
|
263
232
|
};
|
264
|
-
export type GqlFeeParametersVersion = GqlVersion;
|
265
233
|
export type GqlGasCosts = {
|
266
234
|
__typename: 'GasCosts';
|
267
235
|
add: Scalars['U64'];
|
@@ -279,7 +247,7 @@ export type GqlGasCosts = {
|
|
279
247
|
cfei: Scalars['U64'];
|
280
248
|
cfsi: Scalars['U64'];
|
281
249
|
contractRoot: GqlDependentCost;
|
282
|
-
croo:
|
250
|
+
croo: Scalars['U64'];
|
283
251
|
csiz: GqlDependentCost;
|
284
252
|
div: Scalars['U64'];
|
285
253
|
divi: Scalars['U64'];
|
@@ -357,7 +325,6 @@ export type GqlGasCosts = {
|
|
357
325
|
time: Scalars['U64'];
|
358
326
|
tr: Scalars['U64'];
|
359
327
|
tro: Scalars['U64'];
|
360
|
-
version: GqlGasCostsVersion;
|
361
328
|
vmInitialization: GqlDependentCost;
|
362
329
|
wdam: Scalars['U64'];
|
363
330
|
wdcm: Scalars['U64'];
|
@@ -376,7 +343,6 @@ export type GqlGasCosts = {
|
|
376
343
|
xor: Scalars['U64'];
|
377
344
|
xori: Scalars['U64'];
|
378
345
|
};
|
379
|
-
export type GqlGasCostsVersion = GqlVersion;
|
380
346
|
export type GqlGenesis = {
|
381
347
|
__typename: 'Genesis';
|
382
348
|
/**
|
@@ -395,24 +361,18 @@ export type GqlHeader = {
|
|
395
361
|
__typename: 'Header';
|
396
362
|
/** Hash of the application header. */
|
397
363
|
applicationHash: Scalars['Bytes32'];
|
398
|
-
/** The version of the consensus parameters used to create this block. */
|
399
|
-
consensusParametersVersion: Scalars['U32'];
|
400
364
|
/** The layer 1 height of messages and events to include since the last layer 1 block number. */
|
401
365
|
daHeight: Scalars['U64'];
|
402
|
-
/** Merkle root of inbox events in this block. */
|
403
|
-
eventInboxRoot: Scalars['Bytes32'];
|
404
366
|
/** Fuel block height. */
|
405
367
|
height: Scalars['U32'];
|
406
368
|
/** Hash of the header */
|
407
369
|
id: Scalars['BlockId'];
|
408
|
-
/** Merkle root of message receipts in this block. */
|
409
|
-
messageOutboxRoot: Scalars['Bytes32'];
|
410
370
|
/** Number of message receipts in this block. */
|
411
371
|
messageReceiptCount: Scalars['U64'];
|
372
|
+
/** Merkle root of message receipts in this block. */
|
373
|
+
messageReceiptRoot: Scalars['Bytes32'];
|
412
374
|
/** Merkle root of all previous block header hashes. */
|
413
375
|
prevRoot: Scalars['Bytes32'];
|
414
|
-
/** The version of the state transition bytecode used to create this block. */
|
415
|
-
stateTransitionBytecodeVersion: Scalars['U32'];
|
416
376
|
/** The block producer time. */
|
417
377
|
time: Scalars['Tai64Timestamp'];
|
418
378
|
/** Number of transactions in this block. */
|
@@ -430,6 +390,7 @@ export type GqlInputCoin = {
|
|
430
390
|
__typename: 'InputCoin';
|
431
391
|
amount: Scalars['U64'];
|
432
392
|
assetId: Scalars['AssetId'];
|
393
|
+
maturity: Scalars['U32'];
|
433
394
|
owner: Scalars['Address'];
|
434
395
|
predicate: Scalars['HexString'];
|
435
396
|
predicateData: Scalars['HexString'];
|
@@ -441,7 +402,7 @@ export type GqlInputCoin = {
|
|
441
402
|
export type GqlInputContract = {
|
442
403
|
__typename: 'InputContract';
|
443
404
|
balanceRoot: Scalars['Bytes32'];
|
444
|
-
|
405
|
+
contract: GqlContract;
|
445
406
|
stateRoot: Scalars['Bytes32'];
|
446
407
|
txPointer: Scalars['TxPointer'];
|
447
408
|
utxoId: Scalars['UtxoId'];
|
@@ -456,12 +417,7 @@ export type GqlInputMessage = {
|
|
456
417
|
predicateGasUsed: Scalars['U64'];
|
457
418
|
recipient: Scalars['Address'];
|
458
419
|
sender: Scalars['Address'];
|
459
|
-
witnessIndex: Scalars['
|
460
|
-
};
|
461
|
-
export type GqlLatestGasPrice = {
|
462
|
-
__typename: 'LatestGasPrice';
|
463
|
-
blockHeight: Scalars['U32'];
|
464
|
-
gasPrice: Scalars['U64'];
|
420
|
+
witnessIndex: Scalars['Int'];
|
465
421
|
};
|
466
422
|
export type GqlLightOperation = {
|
467
423
|
__typename: 'LightOperation';
|
@@ -531,16 +487,10 @@ export type GqlMessageStatus = {
|
|
531
487
|
};
|
532
488
|
export type GqlMutation = {
|
533
489
|
__typename: 'Mutation';
|
534
|
-
/**
|
535
|
-
* Resume execution of the VM instance after a breakpoint.
|
536
|
-
* Runs until the next breakpoint or until the transaction completes.
|
537
|
-
*/
|
538
490
|
continueTx: GqlRunResult;
|
539
|
-
/** Execute a dry-run of
|
540
|
-
dryRun: Array<
|
541
|
-
/** End debugger session. */
|
491
|
+
/** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
|
492
|
+
dryRun: Array<GqlReceipt>;
|
542
493
|
endSession: Scalars['Boolean'];
|
543
|
-
/** Execute a single fuel-asm instruction. */
|
544
494
|
execute: Scalars['Boolean'];
|
545
495
|
/**
|
546
496
|
* Sequentially produces `blocks_to_produce` blocks. The first block starts with
|
@@ -549,23 +499,10 @@ export type GqlMutation = {
|
|
549
499
|
* them. The `start_timestamp` is the timestamp in seconds.
|
550
500
|
*/
|
551
501
|
produceBlocks: Scalars['U32'];
|
552
|
-
/** Reset the VM instance to the initial state. */
|
553
502
|
reset: Scalars['Boolean'];
|
554
|
-
/** Set a breakpoint for a VM instance. */
|
555
503
|
setBreakpoint: Scalars['Boolean'];
|
556
|
-
/** Set single-stepping mode for the VM instance. */
|
557
504
|
setSingleStepping: Scalars['Boolean'];
|
558
|
-
/**
|
559
|
-
* Initialize a new debugger session, returning its ID.
|
560
|
-
* A new VM instance is spawned for each session.
|
561
|
-
* The session is run in a separate database transaction,
|
562
|
-
* on top of the most recent node state.
|
563
|
-
*/
|
564
505
|
startSession: Scalars['ID'];
|
565
|
-
/**
|
566
|
-
* Run a single transaction in given session until it
|
567
|
-
* hits a breakpoint or completes.
|
568
|
-
*/
|
569
506
|
startTx: GqlRunResult;
|
570
507
|
/**
|
571
508
|
* Submits transaction to the `TxPool`.
|
@@ -578,7 +515,7 @@ export type GqlMutationContinueTxArgs = {
|
|
578
515
|
id: Scalars['ID'];
|
579
516
|
};
|
580
517
|
export type GqlMutationDryRunArgs = {
|
581
|
-
|
518
|
+
tx: Scalars['HexString'];
|
582
519
|
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
583
520
|
};
|
584
521
|
export type GqlMutationEndSessionArgs = {
|
@@ -614,6 +551,7 @@ export type GqlNodeInfo = {
|
|
614
551
|
__typename: 'NodeInfo';
|
615
552
|
maxDepth: Scalars['U64'];
|
616
553
|
maxTx: Scalars['U64'];
|
554
|
+
minGasPrice: Scalars['U64'];
|
617
555
|
nodeVersion: Scalars['String'];
|
618
556
|
peers: Array<GqlPeerInfo>;
|
619
557
|
utxoValidation: Scalars['Boolean'];
|
@@ -663,9 +601,9 @@ export type GqlPoAConsensus = {
|
|
663
601
|
};
|
664
602
|
export type GqlPolicies = {
|
665
603
|
__typename: 'Policies';
|
604
|
+
gasPrice?: Maybe<Scalars['U64']>;
|
666
605
|
maturity?: Maybe<Scalars['U32']>;
|
667
606
|
maxFee?: Maybe<Scalars['U64']>;
|
668
|
-
tip?: Maybe<Scalars['U64']>;
|
669
607
|
witnessLimit?: Maybe<Scalars['U64']>;
|
670
608
|
};
|
671
609
|
export type GqlPredicateParameters = {
|
@@ -674,9 +612,7 @@ export type GqlPredicateParameters = {
|
|
674
612
|
maxMessageDataLength: Scalars['U64'];
|
675
613
|
maxPredicateDataLength: Scalars['U64'];
|
676
614
|
maxPredicateLength: Scalars['U64'];
|
677
|
-
version: GqlPredicateParametersVersion;
|
678
615
|
};
|
679
|
-
export type GqlPredicateParametersVersion = GqlVersion;
|
680
616
|
export type GqlProgramState = {
|
681
617
|
__typename: 'ProgramState';
|
682
618
|
data: Scalars['HexString'];
|
@@ -709,20 +645,15 @@ export type GqlQuery = {
|
|
709
645
|
contract?: Maybe<GqlContract>;
|
710
646
|
contractBalance: GqlContractBalance;
|
711
647
|
contractBalances: GqlContractBalanceConnection;
|
712
|
-
estimateGasPrice: GqlEstimateGasPrice;
|
713
648
|
/** Estimate the predicate gas for the provided transaction */
|
714
649
|
estimatePredicates: GqlTransaction;
|
715
650
|
/** Returns true when the GraphQL API is serving requests. */
|
716
651
|
health: Scalars['Boolean'];
|
717
|
-
latestGasPrice: GqlLatestGasPrice;
|
718
|
-
/** Read read a range of memory bytes. */
|
719
652
|
memory: Scalars['String'];
|
720
|
-
message?: Maybe<GqlMessage>;
|
721
653
|
messageProof?: Maybe<GqlMessageProof>;
|
722
654
|
messageStatus: GqlMessageStatus;
|
723
655
|
messages: GqlMessageConnection;
|
724
656
|
nodeInfo: GqlNodeInfo;
|
725
|
-
/** Read register value by index. */
|
726
657
|
register: Scalars['U64'];
|
727
658
|
transaction?: Maybe<GqlTransaction>;
|
728
659
|
transactions: GqlTransactionConnection;
|
@@ -778,9 +709,6 @@ export type GqlQueryContractBalancesArgs = {
|
|
778
709
|
first?: InputMaybe<Scalars['Int']>;
|
779
710
|
last?: InputMaybe<Scalars['Int']>;
|
780
711
|
};
|
781
|
-
export type GqlQueryEstimateGasPriceArgs = {
|
782
|
-
blockHorizon?: InputMaybe<Scalars['U32']>;
|
783
|
-
};
|
784
712
|
export type GqlQueryEstimatePredicatesArgs = {
|
785
713
|
tx: Scalars['HexString'];
|
786
714
|
};
|
@@ -789,9 +717,6 @@ export type GqlQueryMemoryArgs = {
|
|
789
717
|
size: Scalars['U32'];
|
790
718
|
start: Scalars['U32'];
|
791
719
|
};
|
792
|
-
export type GqlQueryMessageArgs = {
|
793
|
-
nonce: Scalars['Nonce'];
|
794
|
-
};
|
795
720
|
export type GqlQueryMessageProofArgs = {
|
796
721
|
commitBlockHeight?: InputMaybe<Scalars['U32']>;
|
797
722
|
commitBlockId?: InputMaybe<Scalars['BlockId']>;
|
@@ -832,13 +757,12 @@ export type GqlReceipt = {
|
|
832
757
|
__typename: 'Receipt';
|
833
758
|
amount?: Maybe<Scalars['U64']>;
|
834
759
|
assetId?: Maybe<Scalars['AssetId']>;
|
835
|
-
|
760
|
+
contract?: Maybe<GqlContract>;
|
836
761
|
contractId?: Maybe<Scalars['ContractId']>;
|
837
762
|
data?: Maybe<Scalars['HexString']>;
|
838
763
|
digest?: Maybe<Scalars['Bytes32']>;
|
839
764
|
gas?: Maybe<Scalars['U64']>;
|
840
765
|
gasUsed?: Maybe<Scalars['U64']>;
|
841
|
-
id?: Maybe<Scalars['ContractId']>;
|
842
766
|
is?: Maybe<Scalars['U64']>;
|
843
767
|
len?: Maybe<Scalars['U64']>;
|
844
768
|
nonce?: Maybe<Scalars['Nonce']>;
|
@@ -856,7 +780,7 @@ export type GqlReceipt = {
|
|
856
780
|
result?: Maybe<Scalars['U64']>;
|
857
781
|
sender?: Maybe<Scalars['Address']>;
|
858
782
|
subId?: Maybe<Scalars['Bytes32']>;
|
859
|
-
to?: Maybe<
|
783
|
+
to?: Maybe<GqlContract>;
|
860
784
|
toAddress?: Maybe<Scalars['Address']>;
|
861
785
|
val?: Maybe<Scalars['U64']>;
|
862
786
|
};
|
@@ -896,9 +820,7 @@ export type GqlScriptParameters = {
|
|
896
820
|
__typename: 'ScriptParameters';
|
897
821
|
maxScriptDataLength: Scalars['U64'];
|
898
822
|
maxScriptLength: Scalars['U64'];
|
899
|
-
version: GqlScriptParametersVersion;
|
900
823
|
};
|
901
|
-
export type GqlScriptParametersVersion = GqlVersion;
|
902
824
|
export type GqlSpendQueryElementInput = {
|
903
825
|
/** Target amount for the query. */
|
904
826
|
amount: Scalars['U64'];
|
@@ -951,11 +873,13 @@ export type GqlSuccessStatus = {
|
|
951
873
|
};
|
952
874
|
export type GqlTransaction = {
|
953
875
|
__typename: 'Transaction';
|
954
|
-
|
876
|
+
bytecodeLength?: Maybe<Scalars['U64']>;
|
877
|
+
bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
|
878
|
+
gasPrice?: Maybe<Scalars['U64']>;
|
955
879
|
id: Scalars['TransactionId'];
|
956
880
|
inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
|
957
881
|
inputContract?: Maybe<GqlInputContract>;
|
958
|
-
inputContracts?: Maybe<Array<
|
882
|
+
inputContracts?: Maybe<Array<GqlContract>>;
|
959
883
|
inputs?: Maybe<Array<GqlInput>>;
|
960
884
|
isCreate: Scalars['Boolean'];
|
961
885
|
isMint: Scalars['Boolean'];
|
@@ -963,12 +887,12 @@ export type GqlTransaction = {
|
|
963
887
|
maturity?: Maybe<Scalars['U32']>;
|
964
888
|
mintAmount?: Maybe<Scalars['U64']>;
|
965
889
|
mintAssetId?: Maybe<Scalars['AssetId']>;
|
966
|
-
mintGasPrice?: Maybe<Scalars['U64']>;
|
967
890
|
outputContract?: Maybe<GqlContractOutput>;
|
968
891
|
outputs: Array<GqlOutput>;
|
969
892
|
policies?: Maybe<GqlPolicies>;
|
970
893
|
/** Return the transaction bytes using canonical encoding */
|
971
894
|
rawPayload: Scalars['HexString'];
|
895
|
+
receipts?: Maybe<Array<GqlReceipt>>;
|
972
896
|
receiptsRoot?: Maybe<Scalars['Bytes32']>;
|
973
897
|
salt?: Maybe<Scalars['Salt']>;
|
974
898
|
script?: Maybe<Scalars['HexString']>;
|
@@ -1000,23 +924,17 @@ export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | Gql
|
|
1000
924
|
export type GqlTxParameters = {
|
1001
925
|
__typename: 'TxParameters';
|
1002
926
|
maxGasPerTx: Scalars['U64'];
|
1003
|
-
maxInputs: Scalars['
|
1004
|
-
maxOutputs: Scalars['
|
927
|
+
maxInputs: Scalars['U8'];
|
928
|
+
maxOutputs: Scalars['U8'];
|
1005
929
|
maxSize: Scalars['U64'];
|
1006
930
|
maxWitnesses: Scalars['U32'];
|
1007
|
-
version: GqlTxParametersVersion;
|
1008
931
|
};
|
1009
|
-
export type GqlTxParametersVersion = GqlVersion;
|
1010
932
|
export type GqlVariableOutput = {
|
1011
933
|
__typename: 'VariableOutput';
|
1012
934
|
amount: Scalars['U64'];
|
1013
935
|
assetId: Scalars['AssetId'];
|
1014
936
|
to: Scalars['Address'];
|
1015
937
|
};
|
1016
|
-
export type GqlVersion = {
|
1017
|
-
__typename: 'Version';
|
1018
|
-
value: Scalars['U8'];
|
1019
|
-
};
|
1020
938
|
type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
1021
939
|
__typename: 'FailureStatus';
|
1022
940
|
time: string;
|
@@ -1026,37 +944,6 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
|
1026
944
|
__typename: 'Block';
|
1027
945
|
id: string;
|
1028
946
|
};
|
1029
|
-
receipts: Array<{
|
1030
|
-
__typename: 'Receipt';
|
1031
|
-
id?: string | null;
|
1032
|
-
pc?: string | null;
|
1033
|
-
is?: string | null;
|
1034
|
-
to?: string | null;
|
1035
|
-
toAddress?: string | null;
|
1036
|
-
amount?: string | null;
|
1037
|
-
assetId?: string | null;
|
1038
|
-
gas?: string | null;
|
1039
|
-
param1?: string | null;
|
1040
|
-
param2?: string | null;
|
1041
|
-
val?: string | null;
|
1042
|
-
ptr?: string | null;
|
1043
|
-
digest?: string | null;
|
1044
|
-
reason?: string | null;
|
1045
|
-
ra?: string | null;
|
1046
|
-
rb?: string | null;
|
1047
|
-
rc?: string | null;
|
1048
|
-
rd?: string | null;
|
1049
|
-
len?: string | null;
|
1050
|
-
receiptType: GqlReceiptType;
|
1051
|
-
result?: string | null;
|
1052
|
-
gasUsed?: string | null;
|
1053
|
-
data?: string | null;
|
1054
|
-
sender?: string | null;
|
1055
|
-
recipient?: string | null;
|
1056
|
-
nonce?: string | null;
|
1057
|
-
contractId?: string | null;
|
1058
|
-
subId?: string | null;
|
1059
|
-
}>;
|
1060
947
|
};
|
1061
948
|
type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
|
1062
949
|
__typename: 'SqueezedOutStatus';
|
@@ -1076,12 +963,22 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
|
1076
963
|
__typename: 'Block';
|
1077
964
|
id: string;
|
1078
965
|
};
|
1079
|
-
|
966
|
+
programState?: {
|
967
|
+
__typename: 'ProgramState';
|
968
|
+
returnType: GqlReturnType;
|
969
|
+
data: string;
|
970
|
+
} | null;
|
971
|
+
};
|
972
|
+
export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
|
973
|
+
export type GqlTransactionFragmentFragment = {
|
974
|
+
__typename: 'Transaction';
|
975
|
+
id: string;
|
976
|
+
rawPayload: string;
|
977
|
+
gasPrice?: string | null;
|
978
|
+
receipts?: Array<{
|
1080
979
|
__typename: 'Receipt';
|
1081
|
-
id?: string | null;
|
1082
980
|
pc?: string | null;
|
1083
981
|
is?: string | null;
|
1084
|
-
to?: string | null;
|
1085
982
|
toAddress?: string | null;
|
1086
983
|
amount?: string | null;
|
1087
984
|
assetId?: string | null;
|
@@ -1106,53 +1003,15 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
|
1106
1003
|
nonce?: string | null;
|
1107
1004
|
contractId?: string | null;
|
1108
1005
|
subId?: string | null;
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
__typename: 'FailureStatus';
|
1119
|
-
time: string;
|
1120
|
-
reason: string;
|
1121
|
-
type: 'FailureStatus';
|
1122
|
-
block: {
|
1123
|
-
__typename: 'Block';
|
1124
|
-
id: string;
|
1125
|
-
};
|
1126
|
-
};
|
1127
|
-
type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
|
1128
|
-
__typename: 'SqueezedOutStatus';
|
1129
|
-
reason: string;
|
1130
|
-
type: 'SqueezedOutStatus';
|
1131
|
-
};
|
1132
|
-
type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
|
1133
|
-
__typename: 'SubmittedStatus';
|
1134
|
-
time: string;
|
1135
|
-
type: 'SubmittedStatus';
|
1136
|
-
};
|
1137
|
-
type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
|
1138
|
-
__typename: 'SuccessStatus';
|
1139
|
-
time: string;
|
1140
|
-
type: 'SuccessStatus';
|
1141
|
-
block: {
|
1142
|
-
__typename: 'Block';
|
1143
|
-
id: string;
|
1144
|
-
};
|
1145
|
-
programState?: {
|
1146
|
-
__typename: 'ProgramState';
|
1147
|
-
returnType: GqlReturnType;
|
1148
|
-
data: string;
|
1149
|
-
} | null;
|
1150
|
-
};
|
1151
|
-
export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
|
1152
|
-
export type GqlTransactionFragmentFragment = {
|
1153
|
-
__typename: 'Transaction';
|
1154
|
-
id: string;
|
1155
|
-
rawPayload: string;
|
1006
|
+
contract?: {
|
1007
|
+
__typename: 'Contract';
|
1008
|
+
id: string;
|
1009
|
+
} | null;
|
1010
|
+
to?: {
|
1011
|
+
__typename: 'Contract';
|
1012
|
+
id: string;
|
1013
|
+
} | null;
|
1014
|
+
}> | null;
|
1156
1015
|
status?: {
|
1157
1016
|
__typename: 'FailureStatus';
|
1158
1017
|
time: string;
|
@@ -1162,37 +1021,6 @@ export type GqlTransactionFragmentFragment = {
|
|
1162
1021
|
__typename: 'Block';
|
1163
1022
|
id: string;
|
1164
1023
|
};
|
1165
|
-
receipts: Array<{
|
1166
|
-
__typename: 'Receipt';
|
1167
|
-
id?: string | null;
|
1168
|
-
pc?: string | null;
|
1169
|
-
is?: string | null;
|
1170
|
-
to?: string | null;
|
1171
|
-
toAddress?: string | null;
|
1172
|
-
amount?: string | null;
|
1173
|
-
assetId?: string | null;
|
1174
|
-
gas?: string | null;
|
1175
|
-
param1?: string | null;
|
1176
|
-
param2?: string | null;
|
1177
|
-
val?: string | null;
|
1178
|
-
ptr?: string | null;
|
1179
|
-
digest?: string | null;
|
1180
|
-
reason?: string | null;
|
1181
|
-
ra?: string | null;
|
1182
|
-
rb?: string | null;
|
1183
|
-
rc?: string | null;
|
1184
|
-
rd?: string | null;
|
1185
|
-
len?: string | null;
|
1186
|
-
receiptType: GqlReceiptType;
|
1187
|
-
result?: string | null;
|
1188
|
-
gasUsed?: string | null;
|
1189
|
-
data?: string | null;
|
1190
|
-
sender?: string | null;
|
1191
|
-
recipient?: string | null;
|
1192
|
-
nonce?: string | null;
|
1193
|
-
contractId?: string | null;
|
1194
|
-
subId?: string | null;
|
1195
|
-
}>;
|
1196
1024
|
} | {
|
1197
1025
|
__typename: 'SqueezedOutStatus';
|
1198
1026
|
reason: string;
|
@@ -1209,37 +1037,6 @@ export type GqlTransactionFragmentFragment = {
|
|
1209
1037
|
__typename: 'Block';
|
1210
1038
|
id: string;
|
1211
1039
|
};
|
1212
|
-
receipts: Array<{
|
1213
|
-
__typename: 'Receipt';
|
1214
|
-
id?: string | null;
|
1215
|
-
pc?: string | null;
|
1216
|
-
is?: string | null;
|
1217
|
-
to?: string | null;
|
1218
|
-
toAddress?: string | null;
|
1219
|
-
amount?: string | null;
|
1220
|
-
assetId?: string | null;
|
1221
|
-
gas?: string | null;
|
1222
|
-
param1?: string | null;
|
1223
|
-
param2?: string | null;
|
1224
|
-
val?: string | null;
|
1225
|
-
ptr?: string | null;
|
1226
|
-
digest?: string | null;
|
1227
|
-
reason?: string | null;
|
1228
|
-
ra?: string | null;
|
1229
|
-
rb?: string | null;
|
1230
|
-
rc?: string | null;
|
1231
|
-
rd?: string | null;
|
1232
|
-
len?: string | null;
|
1233
|
-
receiptType: GqlReceiptType;
|
1234
|
-
result?: string | null;
|
1235
|
-
gasUsed?: string | null;
|
1236
|
-
data?: string | null;
|
1237
|
-
sender?: string | null;
|
1238
|
-
recipient?: string | null;
|
1239
|
-
nonce?: string | null;
|
1240
|
-
contractId?: string | null;
|
1241
|
-
subId?: string | null;
|
1242
|
-
}>;
|
1243
1040
|
programState?: {
|
1244
1041
|
__typename: 'ProgramState';
|
1245
1042
|
returnType: GqlReturnType;
|
@@ -1271,29 +1068,10 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
|
|
1271
1068
|
predicateGasUsed: string;
|
1272
1069
|
}> | null;
|
1273
1070
|
};
|
1274
|
-
export type GqlDryRunFailureStatusFragmentFragment = {
|
1275
|
-
__typename: 'DryRunFailureStatus';
|
1276
|
-
reason: string;
|
1277
|
-
programState?: {
|
1278
|
-
__typename: 'ProgramState';
|
1279
|
-
returnType: GqlReturnType;
|
1280
|
-
data: string;
|
1281
|
-
} | null;
|
1282
|
-
};
|
1283
|
-
export type GqlDryRunSuccessStatusFragmentFragment = {
|
1284
|
-
__typename: 'DryRunSuccessStatus';
|
1285
|
-
programState?: {
|
1286
|
-
__typename: 'ProgramState';
|
1287
|
-
returnType: GqlReturnType;
|
1288
|
-
data: string;
|
1289
|
-
} | null;
|
1290
|
-
};
|
1291
1071
|
export type GqlReceiptFragmentFragment = {
|
1292
1072
|
__typename: 'Receipt';
|
1293
|
-
id?: string | null;
|
1294
1073
|
pc?: string | null;
|
1295
1074
|
is?: string | null;
|
1296
|
-
to?: string | null;
|
1297
1075
|
toAddress?: string | null;
|
1298
1076
|
amount?: string | null;
|
1299
1077
|
assetId?: string | null;
|
@@ -1318,82 +1096,21 @@ export type GqlReceiptFragmentFragment = {
|
|
1318
1096
|
nonce?: string | null;
|
1319
1097
|
contractId?: string | null;
|
1320
1098
|
subId?: string | null;
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
reason: string;
|
1325
|
-
programState?: {
|
1326
|
-
__typename: 'ProgramState';
|
1327
|
-
returnType: GqlReturnType;
|
1328
|
-
data: string;
|
1099
|
+
contract?: {
|
1100
|
+
__typename: 'Contract';
|
1101
|
+
id: string;
|
1329
1102
|
} | null;
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
programState?: {
|
1334
|
-
__typename: 'ProgramState';
|
1335
|
-
returnType: GqlReturnType;
|
1336
|
-
data: string;
|
1103
|
+
to?: {
|
1104
|
+
__typename: 'Contract';
|
1105
|
+
id: string;
|
1337
1106
|
} | null;
|
1338
1107
|
};
|
1339
|
-
export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
|
1340
|
-
export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
1341
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
1342
|
-
id: string;
|
1343
|
-
status: {
|
1344
|
-
__typename: 'DryRunFailureStatus';
|
1345
|
-
reason: string;
|
1346
|
-
programState?: {
|
1347
|
-
__typename: 'ProgramState';
|
1348
|
-
returnType: GqlReturnType;
|
1349
|
-
data: string;
|
1350
|
-
} | null;
|
1351
|
-
} | {
|
1352
|
-
__typename: 'DryRunSuccessStatus';
|
1353
|
-
programState?: {
|
1354
|
-
__typename: 'ProgramState';
|
1355
|
-
returnType: GqlReturnType;
|
1356
|
-
data: string;
|
1357
|
-
} | null;
|
1358
|
-
};
|
1359
|
-
receipts: Array<{
|
1360
|
-
__typename: 'Receipt';
|
1361
|
-
id?: string | null;
|
1362
|
-
pc?: string | null;
|
1363
|
-
is?: string | null;
|
1364
|
-
to?: string | null;
|
1365
|
-
toAddress?: string | null;
|
1366
|
-
amount?: string | null;
|
1367
|
-
assetId?: string | null;
|
1368
|
-
gas?: string | null;
|
1369
|
-
param1?: string | null;
|
1370
|
-
param2?: string | null;
|
1371
|
-
val?: string | null;
|
1372
|
-
ptr?: string | null;
|
1373
|
-
digest?: string | null;
|
1374
|
-
reason?: string | null;
|
1375
|
-
ra?: string | null;
|
1376
|
-
rb?: string | null;
|
1377
|
-
rc?: string | null;
|
1378
|
-
rd?: string | null;
|
1379
|
-
len?: string | null;
|
1380
|
-
receiptType: GqlReceiptType;
|
1381
|
-
result?: string | null;
|
1382
|
-
gasUsed?: string | null;
|
1383
|
-
data?: string | null;
|
1384
|
-
sender?: string | null;
|
1385
|
-
recipient?: string | null;
|
1386
|
-
nonce?: string | null;
|
1387
|
-
contractId?: string | null;
|
1388
|
-
subId?: string | null;
|
1389
|
-
}>;
|
1390
|
-
};
|
1391
1108
|
export type GqlBlockFragmentFragment = {
|
1392
1109
|
__typename: 'Block';
|
1393
1110
|
id: string;
|
1394
|
-
height: any;
|
1395
1111
|
header: {
|
1396
1112
|
__typename: 'Header';
|
1113
|
+
height: any;
|
1397
1114
|
time: string;
|
1398
1115
|
};
|
1399
1116
|
transactions: Array<{
|
@@ -1407,8 +1124,9 @@ export type GqlCoinFragmentFragment = {
|
|
1407
1124
|
owner: string;
|
1408
1125
|
amount: string;
|
1409
1126
|
assetId: string;
|
1127
|
+
maturity: any;
|
1410
1128
|
blockCreated: any;
|
1411
|
-
txCreatedIdx:
|
1129
|
+
txCreatedIdx: string;
|
1412
1130
|
};
|
1413
1131
|
export type GqlMessageCoinFragmentFragment = {
|
1414
1132
|
__typename: 'MessageCoin';
|
@@ -1449,33 +1167,27 @@ export type GqlMessageProofFragmentFragment = {
|
|
1449
1167
|
__typename: 'Header';
|
1450
1168
|
id: string;
|
1451
1169
|
daHeight: string;
|
1452
|
-
consensusParametersVersion: any;
|
1453
|
-
stateTransitionBytecodeVersion: any;
|
1454
1170
|
transactionsCount: string;
|
1455
|
-
messageReceiptCount: string;
|
1456
1171
|
transactionsRoot: string;
|
1457
|
-
messageOutboxRoot: string;
|
1458
|
-
eventInboxRoot: string;
|
1459
1172
|
height: any;
|
1460
1173
|
prevRoot: string;
|
1461
1174
|
time: string;
|
1462
1175
|
applicationHash: string;
|
1176
|
+
messageReceiptRoot: string;
|
1177
|
+
messageReceiptCount: string;
|
1463
1178
|
};
|
1464
1179
|
commitBlockHeader: {
|
1465
1180
|
__typename: 'Header';
|
1466
1181
|
id: string;
|
1467
1182
|
daHeight: string;
|
1468
|
-
consensusParametersVersion: any;
|
1469
|
-
stateTransitionBytecodeVersion: any;
|
1470
1183
|
transactionsCount: string;
|
1471
|
-
messageReceiptCount: string;
|
1472
1184
|
transactionsRoot: string;
|
1473
|
-
messageOutboxRoot: string;
|
1474
|
-
eventInboxRoot: string;
|
1475
1185
|
height: any;
|
1476
1186
|
prevRoot: string;
|
1477
1187
|
time: string;
|
1478
1188
|
applicationHash: string;
|
1189
|
+
messageReceiptRoot: string;
|
1190
|
+
messageReceiptCount: string;
|
1479
1191
|
};
|
1480
1192
|
};
|
1481
1193
|
export type GqlBalanceFragmentFragment = {
|
@@ -1539,6 +1251,7 @@ export type GqlGasCostsFragmentFragment = {
|
|
1539
1251
|
cb: string;
|
1540
1252
|
cfei: string;
|
1541
1253
|
cfsi: string;
|
1254
|
+
croo: string;
|
1542
1255
|
div: string;
|
1543
1256
|
divi: string;
|
1544
1257
|
ecr1: string;
|
@@ -1616,10 +1329,6 @@ export type GqlGasCostsFragmentFragment = {
|
|
1616
1329
|
xor: string;
|
1617
1330
|
xori: string;
|
1618
1331
|
newStoragePerByte: string;
|
1619
|
-
version: {
|
1620
|
-
__typename: 'Version';
|
1621
|
-
value: any;
|
1622
|
-
};
|
1623
1332
|
call: {
|
1624
1333
|
__typename: 'HeavyOperation';
|
1625
1334
|
base: string;
|
@@ -1638,7 +1347,7 @@ export type GqlGasCostsFragmentFragment = {
|
|
1638
1347
|
base: string;
|
1639
1348
|
unitsPerGas: string;
|
1640
1349
|
};
|
1641
|
-
|
1350
|
+
csiz: {
|
1642
1351
|
__typename: 'HeavyOperation';
|
1643
1352
|
base: string;
|
1644
1353
|
gasPerUnit: string;
|
@@ -1647,7 +1356,7 @@ export type GqlGasCostsFragmentFragment = {
|
|
1647
1356
|
base: string;
|
1648
1357
|
unitsPerGas: string;
|
1649
1358
|
};
|
1650
|
-
|
1359
|
+
k256: {
|
1651
1360
|
__typename: 'HeavyOperation';
|
1652
1361
|
base: string;
|
1653
1362
|
gasPerUnit: string;
|
@@ -1656,16 +1365,7 @@ export type GqlGasCostsFragmentFragment = {
|
|
1656
1365
|
base: string;
|
1657
1366
|
unitsPerGas: string;
|
1658
1367
|
};
|
1659
|
-
|
1660
|
-
__typename: 'HeavyOperation';
|
1661
|
-
base: string;
|
1662
|
-
gasPerUnit: string;
|
1663
|
-
} | {
|
1664
|
-
__typename: 'LightOperation';
|
1665
|
-
base: string;
|
1666
|
-
unitsPerGas: string;
|
1667
|
-
};
|
1668
|
-
ldc: {
|
1368
|
+
ldc: {
|
1669
1369
|
__typename: 'HeavyOperation';
|
1670
1370
|
base: string;
|
1671
1371
|
gasPerUnit: string;
|
@@ -1814,10 +1514,6 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1814
1514
|
__typename: 'ConsensusParameters';
|
1815
1515
|
baseAssetId: string;
|
1816
1516
|
chainId: string;
|
1817
|
-
version: {
|
1818
|
-
__typename: 'Version';
|
1819
|
-
value: any;
|
1820
|
-
};
|
1821
1517
|
txParams: {
|
1822
1518
|
__typename: 'TxParameters';
|
1823
1519
|
maxInputs: any;
|
@@ -1862,6 +1558,7 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1862
1558
|
cb: string;
|
1863
1559
|
cfei: string;
|
1864
1560
|
cfsi: string;
|
1561
|
+
croo: string;
|
1865
1562
|
div: string;
|
1866
1563
|
divi: string;
|
1867
1564
|
ecr1: string;
|
@@ -1939,10 +1636,6 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1939
1636
|
xor: string;
|
1940
1637
|
xori: string;
|
1941
1638
|
newStoragePerByte: string;
|
1942
|
-
version: {
|
1943
|
-
__typename: 'Version';
|
1944
|
-
value: any;
|
1945
|
-
};
|
1946
1639
|
call: {
|
1947
1640
|
__typename: 'HeavyOperation';
|
1948
1641
|
base: string;
|
@@ -1961,15 +1654,6 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1961
1654
|
base: string;
|
1962
1655
|
unitsPerGas: string;
|
1963
1656
|
};
|
1964
|
-
croo: {
|
1965
|
-
__typename: 'HeavyOperation';
|
1966
|
-
base: string;
|
1967
|
-
gasPerUnit: string;
|
1968
|
-
} | {
|
1969
|
-
__typename: 'LightOperation';
|
1970
|
-
base: string;
|
1971
|
-
unitsPerGas: string;
|
1972
|
-
};
|
1973
1657
|
csiz: {
|
1974
1658
|
__typename: 'HeavyOperation';
|
1975
1659
|
base: string;
|
@@ -2141,9 +1825,9 @@ export type GqlChainInfoFragmentFragment = {
|
|
2141
1825
|
latestBlock: {
|
2142
1826
|
__typename: 'Block';
|
2143
1827
|
id: string;
|
2144
|
-
height: any;
|
2145
1828
|
header: {
|
2146
1829
|
__typename: 'Header';
|
1830
|
+
height: any;
|
2147
1831
|
time: string;
|
2148
1832
|
};
|
2149
1833
|
transactions: Array<{
|
@@ -2155,10 +1839,6 @@ export type GqlChainInfoFragmentFragment = {
|
|
2155
1839
|
__typename: 'ConsensusParameters';
|
2156
1840
|
baseAssetId: string;
|
2157
1841
|
chainId: string;
|
2158
|
-
version: {
|
2159
|
-
__typename: 'Version';
|
2160
|
-
value: any;
|
2161
|
-
};
|
2162
1842
|
txParams: {
|
2163
1843
|
__typename: 'TxParameters';
|
2164
1844
|
maxInputs: any;
|
@@ -2203,6 +1883,7 @@ export type GqlChainInfoFragmentFragment = {
|
|
2203
1883
|
cb: string;
|
2204
1884
|
cfei: string;
|
2205
1885
|
cfsi: string;
|
1886
|
+
croo: string;
|
2206
1887
|
div: string;
|
2207
1888
|
divi: string;
|
2208
1889
|
ecr1: string;
|
@@ -2280,10 +1961,6 @@ export type GqlChainInfoFragmentFragment = {
|
|
2280
1961
|
xor: string;
|
2281
1962
|
xori: string;
|
2282
1963
|
newStoragePerByte: string;
|
2283
|
-
version: {
|
2284
|
-
__typename: 'Version';
|
2285
|
-
value: any;
|
2286
|
-
};
|
2287
1964
|
call: {
|
2288
1965
|
__typename: 'HeavyOperation';
|
2289
1966
|
base: string;
|
@@ -2302,15 +1979,6 @@ export type GqlChainInfoFragmentFragment = {
|
|
2302
1979
|
base: string;
|
2303
1980
|
unitsPerGas: string;
|
2304
1981
|
};
|
2305
|
-
croo: {
|
2306
|
-
__typename: 'HeavyOperation';
|
2307
|
-
base: string;
|
2308
|
-
gasPerUnit: string;
|
2309
|
-
} | {
|
2310
|
-
__typename: 'LightOperation';
|
2311
|
-
base: string;
|
2312
|
-
unitsPerGas: string;
|
2313
|
-
};
|
2314
1982
|
csiz: {
|
2315
1983
|
__typename: 'HeavyOperation';
|
2316
1984
|
base: string;
|
@@ -2503,9 +2171,19 @@ export type GqlNodeInfoFragmentFragment = {
|
|
2503
2171
|
__typename: 'NodeInfo';
|
2504
2172
|
utxoValidation: boolean;
|
2505
2173
|
vmBacktrace: boolean;
|
2174
|
+
minGasPrice: string;
|
2506
2175
|
maxTx: string;
|
2507
2176
|
maxDepth: string;
|
2508
2177
|
nodeVersion: string;
|
2178
|
+
peers: Array<{
|
2179
|
+
__typename: 'PeerInfo';
|
2180
|
+
id: string;
|
2181
|
+
addresses: Array<string>;
|
2182
|
+
clientVersion?: string | null;
|
2183
|
+
blockHeight?: any | null;
|
2184
|
+
lastHeartbeatMs: string;
|
2185
|
+
appScore: number;
|
2186
|
+
}>;
|
2509
2187
|
};
|
2510
2188
|
export type GqlGetNodeInfoQueryVariables = Exact<{
|
2511
2189
|
[key: string]: never;
|
@@ -2516,9 +2194,19 @@ export type GqlGetNodeInfoQuery = {
|
|
2516
2194
|
__typename: 'NodeInfo';
|
2517
2195
|
utxoValidation: boolean;
|
2518
2196
|
vmBacktrace: boolean;
|
2197
|
+
minGasPrice: string;
|
2519
2198
|
maxTx: string;
|
2520
2199
|
maxDepth: string;
|
2521
2200
|
nodeVersion: string;
|
2201
|
+
peers: Array<{
|
2202
|
+
__typename: 'PeerInfo';
|
2203
|
+
id: string;
|
2204
|
+
addresses: Array<string>;
|
2205
|
+
clientVersion?: string | null;
|
2206
|
+
blockHeight?: any | null;
|
2207
|
+
lastHeartbeatMs: string;
|
2208
|
+
appScore: number;
|
2209
|
+
}>;
|
2522
2210
|
};
|
2523
2211
|
};
|
2524
2212
|
export type GqlGetChainQueryVariables = Exact<{
|
@@ -2533,9 +2221,9 @@ export type GqlGetChainQuery = {
|
|
2533
2221
|
latestBlock: {
|
2534
2222
|
__typename: 'Block';
|
2535
2223
|
id: string;
|
2536
|
-
height: any;
|
2537
2224
|
header: {
|
2538
2225
|
__typename: 'Header';
|
2226
|
+
height: any;
|
2539
2227
|
time: string;
|
2540
2228
|
};
|
2541
2229
|
transactions: Array<{
|
@@ -2547,10 +2235,6 @@ export type GqlGetChainQuery = {
|
|
2547
2235
|
__typename: 'ConsensusParameters';
|
2548
2236
|
baseAssetId: string;
|
2549
2237
|
chainId: string;
|
2550
|
-
version: {
|
2551
|
-
__typename: 'Version';
|
2552
|
-
value: any;
|
2553
|
-
};
|
2554
2238
|
txParams: {
|
2555
2239
|
__typename: 'TxParameters';
|
2556
2240
|
maxInputs: any;
|
@@ -2595,6 +2279,7 @@ export type GqlGetChainQuery = {
|
|
2595
2279
|
cb: string;
|
2596
2280
|
cfei: string;
|
2597
2281
|
cfsi: string;
|
2282
|
+
croo: string;
|
2598
2283
|
div: string;
|
2599
2284
|
divi: string;
|
2600
2285
|
ecr1: string;
|
@@ -2672,10 +2357,6 @@ export type GqlGetChainQuery = {
|
|
2672
2357
|
xor: string;
|
2673
2358
|
xori: string;
|
2674
2359
|
newStoragePerByte: string;
|
2675
|
-
version: {
|
2676
|
-
__typename: 'Version';
|
2677
|
-
value: any;
|
2678
|
-
};
|
2679
2360
|
call: {
|
2680
2361
|
__typename: 'HeavyOperation';
|
2681
2362
|
base: string;
|
@@ -2694,15 +2375,6 @@ export type GqlGetChainQuery = {
|
|
2694
2375
|
base: string;
|
2695
2376
|
unitsPerGas: string;
|
2696
2377
|
};
|
2697
|
-
croo: {
|
2698
|
-
__typename: 'HeavyOperation';
|
2699
|
-
base: string;
|
2700
|
-
gasPerUnit: string;
|
2701
|
-
} | {
|
2702
|
-
__typename: 'LightOperation';
|
2703
|
-
base: string;
|
2704
|
-
unitsPerGas: string;
|
2705
|
-
};
|
2706
2378
|
csiz: {
|
2707
2379
|
__typename: 'HeavyOperation';
|
2708
2380
|
base: string;
|
@@ -2878,6 +2550,44 @@ export type GqlGetTransactionQuery = {
|
|
2878
2550
|
__typename: 'Transaction';
|
2879
2551
|
id: string;
|
2880
2552
|
rawPayload: string;
|
2553
|
+
gasPrice?: string | null;
|
2554
|
+
receipts?: Array<{
|
2555
|
+
__typename: 'Receipt';
|
2556
|
+
pc?: string | null;
|
2557
|
+
is?: string | null;
|
2558
|
+
toAddress?: string | null;
|
2559
|
+
amount?: string | null;
|
2560
|
+
assetId?: string | null;
|
2561
|
+
gas?: string | null;
|
2562
|
+
param1?: string | null;
|
2563
|
+
param2?: string | null;
|
2564
|
+
val?: string | null;
|
2565
|
+
ptr?: string | null;
|
2566
|
+
digest?: string | null;
|
2567
|
+
reason?: string | null;
|
2568
|
+
ra?: string | null;
|
2569
|
+
rb?: string | null;
|
2570
|
+
rc?: string | null;
|
2571
|
+
rd?: string | null;
|
2572
|
+
len?: string | null;
|
2573
|
+
receiptType: GqlReceiptType;
|
2574
|
+
result?: string | null;
|
2575
|
+
gasUsed?: string | null;
|
2576
|
+
data?: string | null;
|
2577
|
+
sender?: string | null;
|
2578
|
+
recipient?: string | null;
|
2579
|
+
nonce?: string | null;
|
2580
|
+
contractId?: string | null;
|
2581
|
+
subId?: string | null;
|
2582
|
+
contract?: {
|
2583
|
+
__typename: 'Contract';
|
2584
|
+
id: string;
|
2585
|
+
} | null;
|
2586
|
+
to?: {
|
2587
|
+
__typename: 'Contract';
|
2588
|
+
id: string;
|
2589
|
+
} | null;
|
2590
|
+
}> | null;
|
2881
2591
|
status?: {
|
2882
2592
|
__typename: 'FailureStatus';
|
2883
2593
|
time: string;
|
@@ -2887,37 +2597,6 @@ export type GqlGetTransactionQuery = {
|
|
2887
2597
|
__typename: 'Block';
|
2888
2598
|
id: string;
|
2889
2599
|
};
|
2890
|
-
receipts: Array<{
|
2891
|
-
__typename: 'Receipt';
|
2892
|
-
id?: string | null;
|
2893
|
-
pc?: string | null;
|
2894
|
-
is?: string | null;
|
2895
|
-
to?: string | null;
|
2896
|
-
toAddress?: string | null;
|
2897
|
-
amount?: string | null;
|
2898
|
-
assetId?: string | null;
|
2899
|
-
gas?: string | null;
|
2900
|
-
param1?: string | null;
|
2901
|
-
param2?: string | null;
|
2902
|
-
val?: string | null;
|
2903
|
-
ptr?: string | null;
|
2904
|
-
digest?: string | null;
|
2905
|
-
reason?: string | null;
|
2906
|
-
ra?: string | null;
|
2907
|
-
rb?: string | null;
|
2908
|
-
rc?: string | null;
|
2909
|
-
rd?: string | null;
|
2910
|
-
len?: string | null;
|
2911
|
-
receiptType: GqlReceiptType;
|
2912
|
-
result?: string | null;
|
2913
|
-
gasUsed?: string | null;
|
2914
|
-
data?: string | null;
|
2915
|
-
sender?: string | null;
|
2916
|
-
recipient?: string | null;
|
2917
|
-
nonce?: string | null;
|
2918
|
-
contractId?: string | null;
|
2919
|
-
subId?: string | null;
|
2920
|
-
}>;
|
2921
2600
|
} | {
|
2922
2601
|
__typename: 'SqueezedOutStatus';
|
2923
2602
|
reason: string;
|
@@ -2934,37 +2613,6 @@ export type GqlGetTransactionQuery = {
|
|
2934
2613
|
__typename: 'Block';
|
2935
2614
|
id: string;
|
2936
2615
|
};
|
2937
|
-
receipts: Array<{
|
2938
|
-
__typename: 'Receipt';
|
2939
|
-
id?: string | null;
|
2940
|
-
pc?: string | null;
|
2941
|
-
is?: string | null;
|
2942
|
-
to?: string | null;
|
2943
|
-
toAddress?: string | null;
|
2944
|
-
amount?: string | null;
|
2945
|
-
assetId?: string | null;
|
2946
|
-
gas?: string | null;
|
2947
|
-
param1?: string | null;
|
2948
|
-
param2?: string | null;
|
2949
|
-
val?: string | null;
|
2950
|
-
ptr?: string | null;
|
2951
|
-
digest?: string | null;
|
2952
|
-
reason?: string | null;
|
2953
|
-
ra?: string | null;
|
2954
|
-
rb?: string | null;
|
2955
|
-
rc?: string | null;
|
2956
|
-
rd?: string | null;
|
2957
|
-
len?: string | null;
|
2958
|
-
receiptType: GqlReceiptType;
|
2959
|
-
result?: string | null;
|
2960
|
-
gasUsed?: string | null;
|
2961
|
-
data?: string | null;
|
2962
|
-
sender?: string | null;
|
2963
|
-
recipient?: string | null;
|
2964
|
-
nonce?: string | null;
|
2965
|
-
contractId?: string | null;
|
2966
|
-
subId?: string | null;
|
2967
|
-
}>;
|
2968
2616
|
programState?: {
|
2969
2617
|
__typename: 'ProgramState';
|
2970
2618
|
returnType: GqlReturnType;
|
@@ -2982,6 +2630,44 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
2982
2630
|
__typename: 'Transaction';
|
2983
2631
|
id: string;
|
2984
2632
|
rawPayload: string;
|
2633
|
+
gasPrice?: string | null;
|
2634
|
+
receipts?: Array<{
|
2635
|
+
__typename: 'Receipt';
|
2636
|
+
pc?: string | null;
|
2637
|
+
is?: string | null;
|
2638
|
+
toAddress?: string | null;
|
2639
|
+
amount?: string | null;
|
2640
|
+
assetId?: string | null;
|
2641
|
+
gas?: string | null;
|
2642
|
+
param1?: string | null;
|
2643
|
+
param2?: string | null;
|
2644
|
+
val?: string | null;
|
2645
|
+
ptr?: string | null;
|
2646
|
+
digest?: string | null;
|
2647
|
+
reason?: string | null;
|
2648
|
+
ra?: string | null;
|
2649
|
+
rb?: string | null;
|
2650
|
+
rc?: string | null;
|
2651
|
+
rd?: string | null;
|
2652
|
+
len?: string | null;
|
2653
|
+
receiptType: GqlReceiptType;
|
2654
|
+
result?: string | null;
|
2655
|
+
gasUsed?: string | null;
|
2656
|
+
data?: string | null;
|
2657
|
+
sender?: string | null;
|
2658
|
+
recipient?: string | null;
|
2659
|
+
nonce?: string | null;
|
2660
|
+
contractId?: string | null;
|
2661
|
+
subId?: string | null;
|
2662
|
+
contract?: {
|
2663
|
+
__typename: 'Contract';
|
2664
|
+
id: string;
|
2665
|
+
} | null;
|
2666
|
+
to?: {
|
2667
|
+
__typename: 'Contract';
|
2668
|
+
id: string;
|
2669
|
+
} | null;
|
2670
|
+
}> | null;
|
2985
2671
|
status?: {
|
2986
2672
|
__typename: 'FailureStatus';
|
2987
2673
|
time: string;
|
@@ -2991,37 +2677,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
2991
2677
|
__typename: 'Block';
|
2992
2678
|
id: string;
|
2993
2679
|
};
|
2994
|
-
receipts: Array<{
|
2995
|
-
__typename: 'Receipt';
|
2996
|
-
id?: string | null;
|
2997
|
-
pc?: string | null;
|
2998
|
-
is?: string | null;
|
2999
|
-
to?: string | null;
|
3000
|
-
toAddress?: string | null;
|
3001
|
-
amount?: string | null;
|
3002
|
-
assetId?: string | null;
|
3003
|
-
gas?: string | null;
|
3004
|
-
param1?: string | null;
|
3005
|
-
param2?: string | null;
|
3006
|
-
val?: string | null;
|
3007
|
-
ptr?: string | null;
|
3008
|
-
digest?: string | null;
|
3009
|
-
reason?: string | null;
|
3010
|
-
ra?: string | null;
|
3011
|
-
rb?: string | null;
|
3012
|
-
rc?: string | null;
|
3013
|
-
rd?: string | null;
|
3014
|
-
len?: string | null;
|
3015
|
-
receiptType: GqlReceiptType;
|
3016
|
-
result?: string | null;
|
3017
|
-
gasUsed?: string | null;
|
3018
|
-
data?: string | null;
|
3019
|
-
sender?: string | null;
|
3020
|
-
recipient?: string | null;
|
3021
|
-
nonce?: string | null;
|
3022
|
-
contractId?: string | null;
|
3023
|
-
subId?: string | null;
|
3024
|
-
}>;
|
3025
2680
|
} | {
|
3026
2681
|
__typename: 'SqueezedOutStatus';
|
3027
2682
|
reason: string;
|
@@ -3038,37 +2693,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3038
2693
|
__typename: 'Block';
|
3039
2694
|
id: string;
|
3040
2695
|
};
|
3041
|
-
receipts: Array<{
|
3042
|
-
__typename: 'Receipt';
|
3043
|
-
id?: string | null;
|
3044
|
-
pc?: string | null;
|
3045
|
-
is?: string | null;
|
3046
|
-
to?: string | null;
|
3047
|
-
toAddress?: string | null;
|
3048
|
-
amount?: string | null;
|
3049
|
-
assetId?: string | null;
|
3050
|
-
gas?: string | null;
|
3051
|
-
param1?: string | null;
|
3052
|
-
param2?: string | null;
|
3053
|
-
val?: string | null;
|
3054
|
-
ptr?: string | null;
|
3055
|
-
digest?: string | null;
|
3056
|
-
reason?: string | null;
|
3057
|
-
ra?: string | null;
|
3058
|
-
rb?: string | null;
|
3059
|
-
rc?: string | null;
|
3060
|
-
rd?: string | null;
|
3061
|
-
len?: string | null;
|
3062
|
-
receiptType: GqlReceiptType;
|
3063
|
-
result?: string | null;
|
3064
|
-
gasUsed?: string | null;
|
3065
|
-
data?: string | null;
|
3066
|
-
sender?: string | null;
|
3067
|
-
recipient?: string | null;
|
3068
|
-
nonce?: string | null;
|
3069
|
-
contractId?: string | null;
|
3070
|
-
subId?: string | null;
|
3071
|
-
}>;
|
3072
2696
|
programState?: {
|
3073
2697
|
__typename: 'ProgramState';
|
3074
2698
|
returnType: GqlReturnType;
|
@@ -3093,6 +2717,44 @@ export type GqlGetTransactionsQuery = {
|
|
3093
2717
|
__typename: 'Transaction';
|
3094
2718
|
id: string;
|
3095
2719
|
rawPayload: string;
|
2720
|
+
gasPrice?: string | null;
|
2721
|
+
receipts?: Array<{
|
2722
|
+
__typename: 'Receipt';
|
2723
|
+
pc?: string | null;
|
2724
|
+
is?: string | null;
|
2725
|
+
toAddress?: string | null;
|
2726
|
+
amount?: string | null;
|
2727
|
+
assetId?: string | null;
|
2728
|
+
gas?: string | null;
|
2729
|
+
param1?: string | null;
|
2730
|
+
param2?: string | null;
|
2731
|
+
val?: string | null;
|
2732
|
+
ptr?: string | null;
|
2733
|
+
digest?: string | null;
|
2734
|
+
reason?: string | null;
|
2735
|
+
ra?: string | null;
|
2736
|
+
rb?: string | null;
|
2737
|
+
rc?: string | null;
|
2738
|
+
rd?: string | null;
|
2739
|
+
len?: string | null;
|
2740
|
+
receiptType: GqlReceiptType;
|
2741
|
+
result?: string | null;
|
2742
|
+
gasUsed?: string | null;
|
2743
|
+
data?: string | null;
|
2744
|
+
sender?: string | null;
|
2745
|
+
recipient?: string | null;
|
2746
|
+
nonce?: string | null;
|
2747
|
+
contractId?: string | null;
|
2748
|
+
subId?: string | null;
|
2749
|
+
contract?: {
|
2750
|
+
__typename: 'Contract';
|
2751
|
+
id: string;
|
2752
|
+
} | null;
|
2753
|
+
to?: {
|
2754
|
+
__typename: 'Contract';
|
2755
|
+
id: string;
|
2756
|
+
} | null;
|
2757
|
+
}> | null;
|
3096
2758
|
status?: {
|
3097
2759
|
__typename: 'FailureStatus';
|
3098
2760
|
time: string;
|
@@ -3102,37 +2764,6 @@ export type GqlGetTransactionsQuery = {
|
|
3102
2764
|
__typename: 'Block';
|
3103
2765
|
id: string;
|
3104
2766
|
};
|
3105
|
-
receipts: Array<{
|
3106
|
-
__typename: 'Receipt';
|
3107
|
-
id?: string | null;
|
3108
|
-
pc?: string | null;
|
3109
|
-
is?: string | null;
|
3110
|
-
to?: string | null;
|
3111
|
-
toAddress?: string | null;
|
3112
|
-
amount?: string | null;
|
3113
|
-
assetId?: string | null;
|
3114
|
-
gas?: string | null;
|
3115
|
-
param1?: string | null;
|
3116
|
-
param2?: string | null;
|
3117
|
-
val?: string | null;
|
3118
|
-
ptr?: string | null;
|
3119
|
-
digest?: string | null;
|
3120
|
-
reason?: string | null;
|
3121
|
-
ra?: string | null;
|
3122
|
-
rb?: string | null;
|
3123
|
-
rc?: string | null;
|
3124
|
-
rd?: string | null;
|
3125
|
-
len?: string | null;
|
3126
|
-
receiptType: GqlReceiptType;
|
3127
|
-
result?: string | null;
|
3128
|
-
gasUsed?: string | null;
|
3129
|
-
data?: string | null;
|
3130
|
-
sender?: string | null;
|
3131
|
-
recipient?: string | null;
|
3132
|
-
nonce?: string | null;
|
3133
|
-
contractId?: string | null;
|
3134
|
-
subId?: string | null;
|
3135
|
-
}>;
|
3136
2767
|
} | {
|
3137
2768
|
__typename: 'SqueezedOutStatus';
|
3138
2769
|
reason: string;
|
@@ -3149,37 +2780,6 @@ export type GqlGetTransactionsQuery = {
|
|
3149
2780
|
__typename: 'Block';
|
3150
2781
|
id: string;
|
3151
2782
|
};
|
3152
|
-
receipts: Array<{
|
3153
|
-
__typename: 'Receipt';
|
3154
|
-
id?: string | null;
|
3155
|
-
pc?: string | null;
|
3156
|
-
is?: string | null;
|
3157
|
-
to?: string | null;
|
3158
|
-
toAddress?: string | null;
|
3159
|
-
amount?: string | null;
|
3160
|
-
assetId?: string | null;
|
3161
|
-
gas?: string | null;
|
3162
|
-
param1?: string | null;
|
3163
|
-
param2?: string | null;
|
3164
|
-
val?: string | null;
|
3165
|
-
ptr?: string | null;
|
3166
|
-
digest?: string | null;
|
3167
|
-
reason?: string | null;
|
3168
|
-
ra?: string | null;
|
3169
|
-
rb?: string | null;
|
3170
|
-
rc?: string | null;
|
3171
|
-
rd?: string | null;
|
3172
|
-
len?: string | null;
|
3173
|
-
receiptType: GqlReceiptType;
|
3174
|
-
result?: string | null;
|
3175
|
-
gasUsed?: string | null;
|
3176
|
-
data?: string | null;
|
3177
|
-
sender?: string | null;
|
3178
|
-
recipient?: string | null;
|
3179
|
-
nonce?: string | null;
|
3180
|
-
contractId?: string | null;
|
3181
|
-
subId?: string | null;
|
3182
|
-
}>;
|
3183
2783
|
programState?: {
|
3184
2784
|
__typename: 'ProgramState';
|
3185
2785
|
returnType: GqlReturnType;
|
@@ -3214,6 +2814,44 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3214
2814
|
__typename: 'Transaction';
|
3215
2815
|
id: string;
|
3216
2816
|
rawPayload: string;
|
2817
|
+
gasPrice?: string | null;
|
2818
|
+
receipts?: Array<{
|
2819
|
+
__typename: 'Receipt';
|
2820
|
+
pc?: string | null;
|
2821
|
+
is?: string | null;
|
2822
|
+
toAddress?: string | null;
|
2823
|
+
amount?: string | null;
|
2824
|
+
assetId?: string | null;
|
2825
|
+
gas?: string | null;
|
2826
|
+
param1?: string | null;
|
2827
|
+
param2?: string | null;
|
2828
|
+
val?: string | null;
|
2829
|
+
ptr?: string | null;
|
2830
|
+
digest?: string | null;
|
2831
|
+
reason?: string | null;
|
2832
|
+
ra?: string | null;
|
2833
|
+
rb?: string | null;
|
2834
|
+
rc?: string | null;
|
2835
|
+
rd?: string | null;
|
2836
|
+
len?: string | null;
|
2837
|
+
receiptType: GqlReceiptType;
|
2838
|
+
result?: string | null;
|
2839
|
+
gasUsed?: string | null;
|
2840
|
+
data?: string | null;
|
2841
|
+
sender?: string | null;
|
2842
|
+
recipient?: string | null;
|
2843
|
+
nonce?: string | null;
|
2844
|
+
contractId?: string | null;
|
2845
|
+
subId?: string | null;
|
2846
|
+
contract?: {
|
2847
|
+
__typename: 'Contract';
|
2848
|
+
id: string;
|
2849
|
+
} | null;
|
2850
|
+
to?: {
|
2851
|
+
__typename: 'Contract';
|
2852
|
+
id: string;
|
2853
|
+
} | null;
|
2854
|
+
}> | null;
|
3217
2855
|
status?: {
|
3218
2856
|
__typename: 'FailureStatus';
|
3219
2857
|
time: string;
|
@@ -3223,37 +2861,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3223
2861
|
__typename: 'Block';
|
3224
2862
|
id: string;
|
3225
2863
|
};
|
3226
|
-
receipts: Array<{
|
3227
|
-
__typename: 'Receipt';
|
3228
|
-
id?: string | null;
|
3229
|
-
pc?: string | null;
|
3230
|
-
is?: string | null;
|
3231
|
-
to?: string | null;
|
3232
|
-
toAddress?: string | null;
|
3233
|
-
amount?: string | null;
|
3234
|
-
assetId?: string | null;
|
3235
|
-
gas?: string | null;
|
3236
|
-
param1?: string | null;
|
3237
|
-
param2?: string | null;
|
3238
|
-
val?: string | null;
|
3239
|
-
ptr?: string | null;
|
3240
|
-
digest?: string | null;
|
3241
|
-
reason?: string | null;
|
3242
|
-
ra?: string | null;
|
3243
|
-
rb?: string | null;
|
3244
|
-
rc?: string | null;
|
3245
|
-
rd?: string | null;
|
3246
|
-
len?: string | null;
|
3247
|
-
receiptType: GqlReceiptType;
|
3248
|
-
result?: string | null;
|
3249
|
-
gasUsed?: string | null;
|
3250
|
-
data?: string | null;
|
3251
|
-
sender?: string | null;
|
3252
|
-
recipient?: string | null;
|
3253
|
-
nonce?: string | null;
|
3254
|
-
contractId?: string | null;
|
3255
|
-
subId?: string | null;
|
3256
|
-
}>;
|
3257
2864
|
} | {
|
3258
2865
|
__typename: 'SqueezedOutStatus';
|
3259
2866
|
reason: string;
|
@@ -3270,37 +2877,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3270
2877
|
__typename: 'Block';
|
3271
2878
|
id: string;
|
3272
2879
|
};
|
3273
|
-
receipts: Array<{
|
3274
|
-
__typename: 'Receipt';
|
3275
|
-
id?: string | null;
|
3276
|
-
pc?: string | null;
|
3277
|
-
is?: string | null;
|
3278
|
-
to?: string | null;
|
3279
|
-
toAddress?: string | null;
|
3280
|
-
amount?: string | null;
|
3281
|
-
assetId?: string | null;
|
3282
|
-
gas?: string | null;
|
3283
|
-
param1?: string | null;
|
3284
|
-
param2?: string | null;
|
3285
|
-
val?: string | null;
|
3286
|
-
ptr?: string | null;
|
3287
|
-
digest?: string | null;
|
3288
|
-
reason?: string | null;
|
3289
|
-
ra?: string | null;
|
3290
|
-
rb?: string | null;
|
3291
|
-
rc?: string | null;
|
3292
|
-
rd?: string | null;
|
3293
|
-
len?: string | null;
|
3294
|
-
receiptType: GqlReceiptType;
|
3295
|
-
result?: string | null;
|
3296
|
-
gasUsed?: string | null;
|
3297
|
-
data?: string | null;
|
3298
|
-
sender?: string | null;
|
3299
|
-
recipient?: string | null;
|
3300
|
-
nonce?: string | null;
|
3301
|
-
contractId?: string | null;
|
3302
|
-
subId?: string | null;
|
3303
|
-
}>;
|
3304
2880
|
programState?: {
|
3305
2881
|
__typename: 'ProgramState';
|
3306
2882
|
returnType: GqlReturnType;
|
@@ -3338,9 +2914,9 @@ export type GqlGetBlockQuery = {
|
|
3338
2914
|
block?: {
|
3339
2915
|
__typename: 'Block';
|
3340
2916
|
id: string;
|
3341
|
-
height: any;
|
3342
2917
|
header: {
|
3343
2918
|
__typename: 'Header';
|
2919
|
+
height: any;
|
3344
2920
|
time: string;
|
3345
2921
|
};
|
3346
2922
|
transactions: Array<{
|
@@ -3358,11 +2934,48 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3358
2934
|
block?: {
|
3359
2935
|
__typename: 'Block';
|
3360
2936
|
id: string;
|
3361
|
-
height: any;
|
3362
2937
|
transactions: Array<{
|
3363
2938
|
__typename: 'Transaction';
|
3364
2939
|
id: string;
|
3365
2940
|
rawPayload: string;
|
2941
|
+
gasPrice?: string | null;
|
2942
|
+
receipts?: Array<{
|
2943
|
+
__typename: 'Receipt';
|
2944
|
+
pc?: string | null;
|
2945
|
+
is?: string | null;
|
2946
|
+
toAddress?: string | null;
|
2947
|
+
amount?: string | null;
|
2948
|
+
assetId?: string | null;
|
2949
|
+
gas?: string | null;
|
2950
|
+
param1?: string | null;
|
2951
|
+
param2?: string | null;
|
2952
|
+
val?: string | null;
|
2953
|
+
ptr?: string | null;
|
2954
|
+
digest?: string | null;
|
2955
|
+
reason?: string | null;
|
2956
|
+
ra?: string | null;
|
2957
|
+
rb?: string | null;
|
2958
|
+
rc?: string | null;
|
2959
|
+
rd?: string | null;
|
2960
|
+
len?: string | null;
|
2961
|
+
receiptType: GqlReceiptType;
|
2962
|
+
result?: string | null;
|
2963
|
+
gasUsed?: string | null;
|
2964
|
+
data?: string | null;
|
2965
|
+
sender?: string | null;
|
2966
|
+
recipient?: string | null;
|
2967
|
+
nonce?: string | null;
|
2968
|
+
contractId?: string | null;
|
2969
|
+
subId?: string | null;
|
2970
|
+
contract?: {
|
2971
|
+
__typename: 'Contract';
|
2972
|
+
id: string;
|
2973
|
+
} | null;
|
2974
|
+
to?: {
|
2975
|
+
__typename: 'Contract';
|
2976
|
+
id: string;
|
2977
|
+
} | null;
|
2978
|
+
}> | null;
|
3366
2979
|
status?: {
|
3367
2980
|
__typename: 'FailureStatus';
|
3368
2981
|
time: string;
|
@@ -3372,37 +2985,6 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3372
2985
|
__typename: 'Block';
|
3373
2986
|
id: string;
|
3374
2987
|
};
|
3375
|
-
receipts: Array<{
|
3376
|
-
__typename: 'Receipt';
|
3377
|
-
id?: string | null;
|
3378
|
-
pc?: string | null;
|
3379
|
-
is?: string | null;
|
3380
|
-
to?: string | null;
|
3381
|
-
toAddress?: string | null;
|
3382
|
-
amount?: string | null;
|
3383
|
-
assetId?: string | null;
|
3384
|
-
gas?: string | null;
|
3385
|
-
param1?: string | null;
|
3386
|
-
param2?: string | null;
|
3387
|
-
val?: string | null;
|
3388
|
-
ptr?: string | null;
|
3389
|
-
digest?: string | null;
|
3390
|
-
reason?: string | null;
|
3391
|
-
ra?: string | null;
|
3392
|
-
rb?: string | null;
|
3393
|
-
rc?: string | null;
|
3394
|
-
rd?: string | null;
|
3395
|
-
len?: string | null;
|
3396
|
-
receiptType: GqlReceiptType;
|
3397
|
-
result?: string | null;
|
3398
|
-
gasUsed?: string | null;
|
3399
|
-
data?: string | null;
|
3400
|
-
sender?: string | null;
|
3401
|
-
recipient?: string | null;
|
3402
|
-
nonce?: string | null;
|
3403
|
-
contractId?: string | null;
|
3404
|
-
subId?: string | null;
|
3405
|
-
}>;
|
3406
2988
|
} | {
|
3407
2989
|
__typename: 'SqueezedOutStatus';
|
3408
2990
|
reason: string;
|
@@ -3419,37 +3001,6 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3419
3001
|
__typename: 'Block';
|
3420
3002
|
id: string;
|
3421
3003
|
};
|
3422
|
-
receipts: Array<{
|
3423
|
-
__typename: 'Receipt';
|
3424
|
-
id?: string | null;
|
3425
|
-
pc?: string | null;
|
3426
|
-
is?: string | null;
|
3427
|
-
to?: string | null;
|
3428
|
-
toAddress?: string | null;
|
3429
|
-
amount?: string | null;
|
3430
|
-
assetId?: string | null;
|
3431
|
-
gas?: string | null;
|
3432
|
-
param1?: string | null;
|
3433
|
-
param2?: string | null;
|
3434
|
-
val?: string | null;
|
3435
|
-
ptr?: string | null;
|
3436
|
-
digest?: string | null;
|
3437
|
-
reason?: string | null;
|
3438
|
-
ra?: string | null;
|
3439
|
-
rb?: string | null;
|
3440
|
-
rc?: string | null;
|
3441
|
-
rd?: string | null;
|
3442
|
-
len?: string | null;
|
3443
|
-
receiptType: GqlReceiptType;
|
3444
|
-
result?: string | null;
|
3445
|
-
gasUsed?: string | null;
|
3446
|
-
data?: string | null;
|
3447
|
-
sender?: string | null;
|
3448
|
-
recipient?: string | null;
|
3449
|
-
nonce?: string | null;
|
3450
|
-
contractId?: string | null;
|
3451
|
-
subId?: string | null;
|
3452
|
-
}>;
|
3453
3004
|
programState?: {
|
3454
3005
|
__typename: 'ProgramState';
|
3455
3006
|
returnType: GqlReturnType;
|
@@ -3459,6 +3010,7 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3459
3010
|
}>;
|
3460
3011
|
header: {
|
3461
3012
|
__typename: 'Header';
|
3013
|
+
height: any;
|
3462
3014
|
time: string;
|
3463
3015
|
};
|
3464
3016
|
} | null;
|
@@ -3478,9 +3030,9 @@ export type GqlGetBlocksQuery = {
|
|
3478
3030
|
node: {
|
3479
3031
|
__typename: 'Block';
|
3480
3032
|
id: string;
|
3481
|
-
height: any;
|
3482
3033
|
header: {
|
3483
3034
|
__typename: 'Header';
|
3035
|
+
height: any;
|
3484
3036
|
time: string;
|
3485
3037
|
};
|
3486
3038
|
transactions: Array<{
|
@@ -3502,8 +3054,9 @@ export type GqlGetCoinQuery = {
|
|
3502
3054
|
owner: string;
|
3503
3055
|
amount: string;
|
3504
3056
|
assetId: string;
|
3057
|
+
maturity: any;
|
3505
3058
|
blockCreated: any;
|
3506
|
-
txCreatedIdx:
|
3059
|
+
txCreatedIdx: string;
|
3507
3060
|
} | null;
|
3508
3061
|
};
|
3509
3062
|
export type GqlGetCoinsQueryVariables = Exact<{
|
@@ -3525,8 +3078,9 @@ export type GqlGetCoinsQuery = {
|
|
3525
3078
|
owner: string;
|
3526
3079
|
amount: string;
|
3527
3080
|
assetId: string;
|
3081
|
+
maturity: any;
|
3528
3082
|
blockCreated: any;
|
3529
|
-
txCreatedIdx:
|
3083
|
+
txCreatedIdx: string;
|
3530
3084
|
};
|
3531
3085
|
}>;
|
3532
3086
|
};
|
@@ -3544,8 +3098,9 @@ export type GqlGetCoinsToSpendQuery = {
|
|
3544
3098
|
owner: string;
|
3545
3099
|
amount: string;
|
3546
3100
|
assetId: string;
|
3101
|
+
maturity: any;
|
3547
3102
|
blockCreated: any;
|
3548
|
-
txCreatedIdx:
|
3103
|
+
txCreatedIdx: string;
|
3549
3104
|
} | {
|
3550
3105
|
__typename: 'MessageCoin';
|
3551
3106
|
sender: string;
|
@@ -3593,26 +3148,6 @@ export type GqlGetBalanceQuery = {
|
|
3593
3148
|
assetId: string;
|
3594
3149
|
};
|
3595
3150
|
};
|
3596
|
-
export type GqlGetLatestGasPriceQueryVariables = Exact<{
|
3597
|
-
[key: string]: never;
|
3598
|
-
}>;
|
3599
|
-
export type GqlGetLatestGasPriceQuery = {
|
3600
|
-
__typename: 'Query';
|
3601
|
-
latestGasPrice: {
|
3602
|
-
__typename: 'LatestGasPrice';
|
3603
|
-
gasPrice: string;
|
3604
|
-
};
|
3605
|
-
};
|
3606
|
-
export type GqlEstimateGasPriceQueryVariables = Exact<{
|
3607
|
-
blockHorizon: Scalars['U32'];
|
3608
|
-
}>;
|
3609
|
-
export type GqlEstimateGasPriceQuery = {
|
3610
|
-
__typename: 'Query';
|
3611
|
-
estimateGasPrice: {
|
3612
|
-
__typename: 'EstimateGasPrice';
|
3613
|
-
gasPrice: string;
|
3614
|
-
};
|
3615
|
-
};
|
3616
3151
|
export type GqlGetBalancesQueryVariables = Exact<{
|
3617
3152
|
filter: GqlBalanceFilterInput;
|
3618
3153
|
after?: InputMaybe<Scalars['String']>;
|
@@ -3689,33 +3224,27 @@ export type GqlGetMessageProofQuery = {
|
|
3689
3224
|
__typename: 'Header';
|
3690
3225
|
id: string;
|
3691
3226
|
daHeight: string;
|
3692
|
-
consensusParametersVersion: any;
|
3693
|
-
stateTransitionBytecodeVersion: any;
|
3694
3227
|
transactionsCount: string;
|
3695
|
-
messageReceiptCount: string;
|
3696
3228
|
transactionsRoot: string;
|
3697
|
-
messageOutboxRoot: string;
|
3698
|
-
eventInboxRoot: string;
|
3699
3229
|
height: any;
|
3700
3230
|
prevRoot: string;
|
3701
3231
|
time: string;
|
3702
3232
|
applicationHash: string;
|
3233
|
+
messageReceiptRoot: string;
|
3234
|
+
messageReceiptCount: string;
|
3703
3235
|
};
|
3704
3236
|
commitBlockHeader: {
|
3705
3237
|
__typename: 'Header';
|
3706
3238
|
id: string;
|
3707
3239
|
daHeight: string;
|
3708
|
-
consensusParametersVersion: any;
|
3709
|
-
stateTransitionBytecodeVersion: any;
|
3710
3240
|
transactionsCount: string;
|
3711
|
-
messageReceiptCount: string;
|
3712
3241
|
transactionsRoot: string;
|
3713
|
-
messageOutboxRoot: string;
|
3714
|
-
eventInboxRoot: string;
|
3715
3242
|
height: any;
|
3716
3243
|
prevRoot: string;
|
3717
3244
|
time: string;
|
3718
3245
|
applicationHash: string;
|
3246
|
+
messageReceiptRoot: string;
|
3247
|
+
messageReceiptCount: string;
|
3719
3248
|
};
|
3720
3249
|
} | null;
|
3721
3250
|
};
|
@@ -3730,61 +3259,47 @@ export type GqlGetMessageStatusQuery = {
|
|
3730
3259
|
};
|
3731
3260
|
};
|
3732
3261
|
export type GqlDryRunMutationVariables = Exact<{
|
3733
|
-
|
3262
|
+
encodedTransaction: Scalars['HexString'];
|
3734
3263
|
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
3735
3264
|
}>;
|
3736
3265
|
export type GqlDryRunMutation = {
|
3737
3266
|
__typename: 'Mutation';
|
3738
3267
|
dryRun: Array<{
|
3739
|
-
__typename: '
|
3740
|
-
|
3741
|
-
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
|
3751
|
-
|
3752
|
-
|
3753
|
-
|
3754
|
-
|
3755
|
-
|
3756
|
-
|
3757
|
-
|
3758
|
-
|
3759
|
-
|
3760
|
-
|
3761
|
-
|
3762
|
-
|
3763
|
-
|
3764
|
-
|
3765
|
-
|
3766
|
-
|
3767
|
-
|
3768
|
-
|
3769
|
-
|
3770
|
-
|
3771
|
-
|
3772
|
-
|
3773
|
-
|
3774
|
-
rb?: string | null;
|
3775
|
-
rc?: string | null;
|
3776
|
-
rd?: string | null;
|
3777
|
-
len?: string | null;
|
3778
|
-
receiptType: GqlReceiptType;
|
3779
|
-
result?: string | null;
|
3780
|
-
gasUsed?: string | null;
|
3781
|
-
data?: string | null;
|
3782
|
-
sender?: string | null;
|
3783
|
-
recipient?: string | null;
|
3784
|
-
nonce?: string | null;
|
3785
|
-
contractId?: string | null;
|
3786
|
-
subId?: string | null;
|
3787
|
-
}>;
|
3268
|
+
__typename: 'Receipt';
|
3269
|
+
pc?: string | null;
|
3270
|
+
is?: string | null;
|
3271
|
+
toAddress?: string | null;
|
3272
|
+
amount?: string | null;
|
3273
|
+
assetId?: string | null;
|
3274
|
+
gas?: string | null;
|
3275
|
+
param1?: string | null;
|
3276
|
+
param2?: string | null;
|
3277
|
+
val?: string | null;
|
3278
|
+
ptr?: string | null;
|
3279
|
+
digest?: string | null;
|
3280
|
+
reason?: string | null;
|
3281
|
+
ra?: string | null;
|
3282
|
+
rb?: string | null;
|
3283
|
+
rc?: string | null;
|
3284
|
+
rd?: string | null;
|
3285
|
+
len?: string | null;
|
3286
|
+
receiptType: GqlReceiptType;
|
3287
|
+
result?: string | null;
|
3288
|
+
gasUsed?: string | null;
|
3289
|
+
data?: string | null;
|
3290
|
+
sender?: string | null;
|
3291
|
+
recipient?: string | null;
|
3292
|
+
nonce?: string | null;
|
3293
|
+
contractId?: string | null;
|
3294
|
+
subId?: string | null;
|
3295
|
+
contract?: {
|
3296
|
+
__typename: 'Contract';
|
3297
|
+
id: string;
|
3298
|
+
} | null;
|
3299
|
+
to?: {
|
3300
|
+
__typename: 'Contract';
|
3301
|
+
id: string;
|
3302
|
+
} | null;
|
3788
3303
|
}>;
|
3789
3304
|
};
|
3790
3305
|
export type GqlSubmitMutationVariables = Exact<{
|
@@ -3879,16 +3394,11 @@ export type GqlStatusChangeSubscription = {
|
|
3879
3394
|
} | null;
|
3880
3395
|
};
|
3881
3396
|
};
|
3882
|
-
export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
|
3883
3397
|
export declare const ReceiptFragmentFragmentDoc: DocumentNode;
|
3884
3398
|
export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
|
3885
3399
|
export declare const TransactionFragmentFragmentDoc: DocumentNode;
|
3886
3400
|
export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
|
3887
3401
|
export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
|
3888
|
-
export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
|
3889
|
-
export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
|
3890
|
-
export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
|
3891
|
-
export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
|
3892
3402
|
export declare const CoinFragmentFragmentDoc: DocumentNode;
|
3893
3403
|
export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
|
3894
3404
|
export declare const MessageFragmentFragmentDoc: DocumentNode;
|
@@ -3924,8 +3434,6 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
|
|
3924
3434
|
export declare const GetContractDocument: DocumentNode;
|
3925
3435
|
export declare const GetContractBalanceDocument: DocumentNode;
|
3926
3436
|
export declare const GetBalanceDocument: DocumentNode;
|
3927
|
-
export declare const GetLatestGasPriceDocument: DocumentNode;
|
3928
|
-
export declare const EstimateGasPriceDocument: DocumentNode;
|
3929
3437
|
export declare const GetBalancesDocument: DocumentNode;
|
3930
3438
|
export declare const GetMessagesDocument: DocumentNode;
|
3931
3439
|
export declare const GetMessageProofDocument: DocumentNode;
|
@@ -3954,8 +3462,6 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
3954
3462
|
getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
|
3955
3463
|
getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
|
3956
3464
|
getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
|
3957
|
-
getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
|
3958
|
-
estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
|
3959
3465
|
getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
|
3960
3466
|
getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
|
3961
3467
|
getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;
|