@fuel-ts/account 0.94.4 → 0.94.5

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.
@@ -4519,6 +4519,173 @@ export type GqlSubmitAndAwaitSubscription = {
4519
4519
  }>;
4520
4520
  };
4521
4521
  };
4522
+ export type GqlSubmitAndAwaitStatusSubscriptionVariables = Exact<{
4523
+ encodedTransaction: Scalars['HexString']['input'];
4524
+ }>;
4525
+ export type GqlSubmitAndAwaitStatusSubscription = {
4526
+ submitAndAwaitStatus: {
4527
+ totalGas: string;
4528
+ totalFee: string;
4529
+ time: string;
4530
+ reason: string;
4531
+ type: 'FailureStatus';
4532
+ transaction: {
4533
+ receiptsRoot?: string | null;
4534
+ inputs?: Array<{
4535
+ txPointer: string;
4536
+ type: 'InputCoin';
4537
+ } | {
4538
+ txPointer: string;
4539
+ type: 'InputContract';
4540
+ } | {
4541
+ type: 'InputMessage';
4542
+ }> | null;
4543
+ outputs: Array<{
4544
+ to: string;
4545
+ amount: string;
4546
+ assetId: string;
4547
+ type: 'ChangeOutput';
4548
+ } | {
4549
+ to: string;
4550
+ amount: string;
4551
+ assetId: string;
4552
+ type: 'CoinOutput';
4553
+ } | {
4554
+ contract: string;
4555
+ stateRoot: string;
4556
+ type: 'ContractCreated';
4557
+ } | {
4558
+ inputIndex: string;
4559
+ balanceRoot: string;
4560
+ stateRoot: string;
4561
+ type: 'ContractOutput';
4562
+ } | {
4563
+ to: string;
4564
+ amount: string;
4565
+ assetId: string;
4566
+ type: 'VariableOutput';
4567
+ }>;
4568
+ };
4569
+ block: {
4570
+ id: string;
4571
+ };
4572
+ receipts: Array<{
4573
+ id?: string | null;
4574
+ pc?: string | null;
4575
+ is?: string | null;
4576
+ to?: string | null;
4577
+ toAddress?: string | null;
4578
+ amount?: string | null;
4579
+ assetId?: string | null;
4580
+ gas?: string | null;
4581
+ param1?: string | null;
4582
+ param2?: string | null;
4583
+ val?: string | null;
4584
+ ptr?: string | null;
4585
+ digest?: string | null;
4586
+ reason?: string | null;
4587
+ ra?: string | null;
4588
+ rb?: string | null;
4589
+ rc?: string | null;
4590
+ rd?: string | null;
4591
+ len?: string | null;
4592
+ receiptType: GqlReceiptType;
4593
+ result?: string | null;
4594
+ gasUsed?: string | null;
4595
+ data?: string | null;
4596
+ sender?: string | null;
4597
+ recipient?: string | null;
4598
+ nonce?: string | null;
4599
+ contractId?: string | null;
4600
+ subId?: string | null;
4601
+ }>;
4602
+ } | {
4603
+ reason: string;
4604
+ type: 'SqueezedOutStatus';
4605
+ } | {
4606
+ time: string;
4607
+ type: 'SubmittedStatus';
4608
+ } | {
4609
+ time: string;
4610
+ totalGas: string;
4611
+ totalFee: string;
4612
+ type: 'SuccessStatus';
4613
+ transaction: {
4614
+ receiptsRoot?: string | null;
4615
+ inputs?: Array<{
4616
+ txPointer: string;
4617
+ type: 'InputCoin';
4618
+ } | {
4619
+ txPointer: string;
4620
+ type: 'InputContract';
4621
+ } | {
4622
+ type: 'InputMessage';
4623
+ }> | null;
4624
+ outputs: Array<{
4625
+ to: string;
4626
+ amount: string;
4627
+ assetId: string;
4628
+ type: 'ChangeOutput';
4629
+ } | {
4630
+ to: string;
4631
+ amount: string;
4632
+ assetId: string;
4633
+ type: 'CoinOutput';
4634
+ } | {
4635
+ contract: string;
4636
+ stateRoot: string;
4637
+ type: 'ContractCreated';
4638
+ } | {
4639
+ inputIndex: string;
4640
+ balanceRoot: string;
4641
+ stateRoot: string;
4642
+ type: 'ContractOutput';
4643
+ } | {
4644
+ to: string;
4645
+ amount: string;
4646
+ assetId: string;
4647
+ type: 'VariableOutput';
4648
+ }>;
4649
+ };
4650
+ block: {
4651
+ id: string;
4652
+ };
4653
+ programState?: {
4654
+ returnType: GqlReturnType;
4655
+ data: string;
4656
+ } | null;
4657
+ receipts: Array<{
4658
+ id?: string | null;
4659
+ pc?: string | null;
4660
+ is?: string | null;
4661
+ to?: string | null;
4662
+ toAddress?: string | null;
4663
+ amount?: string | null;
4664
+ assetId?: string | null;
4665
+ gas?: string | null;
4666
+ param1?: string | null;
4667
+ param2?: string | null;
4668
+ val?: string | null;
4669
+ ptr?: string | null;
4670
+ digest?: string | null;
4671
+ reason?: string | null;
4672
+ ra?: string | null;
4673
+ rb?: string | null;
4674
+ rc?: string | null;
4675
+ rd?: string | null;
4676
+ len?: string | null;
4677
+ receiptType: GqlReceiptType;
4678
+ result?: string | null;
4679
+ gasUsed?: string | null;
4680
+ data?: string | null;
4681
+ sender?: string | null;
4682
+ recipient?: string | null;
4683
+ nonce?: string | null;
4684
+ contractId?: string | null;
4685
+ subId?: string | null;
4686
+ }>;
4687
+ };
4688
+ };
4522
4689
  export type GqlStatusChangeSubscriptionVariables = Exact<{
4523
4690
  transactionId: Scalars['TransactionId']['input'];
4524
4691
  }>;
@@ -4749,6 +4916,7 @@ export declare const SubmitDocument: DocumentNode;
4749
4916
  export declare const ProduceBlocksDocument: DocumentNode;
4750
4917
  export declare const GetMessageByNonceDocument: DocumentNode;
4751
4918
  export declare const SubmitAndAwaitDocument: DocumentNode;
4919
+ export declare const SubmitAndAwaitStatusDocument: DocumentNode;
4752
4920
  export declare const StatusChangeDocument: DocumentNode;
4753
4921
  export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
4754
4922
  export declare function getSdk<C>(requester: Requester<C>): {
@@ -4781,6 +4949,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
4781
4949
  produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
4782
4950
  getMessageByNonce(variables: GqlGetMessageByNonceQueryVariables, options?: C): Promise<GqlGetMessageByNonceQuery>;
4783
4951
  submitAndAwait(variables: GqlSubmitAndAwaitSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitSubscription>;
4952
+ submitAndAwaitStatus(variables: GqlSubmitAndAwaitStatusSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitStatusSubscription>;
4784
4953
  statusChange(variables: GqlStatusChangeSubscriptionVariables, options?: C): AsyncIterable<GqlStatusChangeSubscription>;
4785
4954
  };
4786
4955
  export type Sdk = ReturnType<typeof getSdk>;