@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.29

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.
@@ -348,9 +348,8 @@ declare class AlgorandClientTransactionCreator {
348
348
  * @returns The application create transaction
349
349
  */
350
350
  appCreate: (params: {
351
- args?: Uint8Array[] | undefined;
352
- sender: SendingAddress;
353
351
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
+ sender: SendingAddress;
354
353
  rekeyTo?: ReadableAddress | undefined;
355
354
  note?: string | Uint8Array | undefined;
356
355
  lease?: string | Uint8Array | undefined;
@@ -361,6 +360,7 @@ declare class AlgorandClientTransactionCreator {
361
360
  firstValidRound?: bigint | undefined;
362
361
  lastValidRound?: bigint | undefined;
363
362
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
363
+ args?: Uint8Array[] | undefined;
364
364
  accountReferences?: ReadableAddress[] | undefined;
365
365
  appReferences?: bigint[] | undefined;
366
366
  assetReferences?: bigint[] | undefined;
@@ -568,9 +568,8 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
- appId?: 0 | undefined;
572
- sender: SendingAddress;
573
571
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
572
+ sender: SendingAddress;
574
573
  rekeyTo?: ReadableAddress | undefined;
575
574
  note?: string | Uint8Array | undefined;
576
575
  lease?: string | Uint8Array | undefined;
@@ -580,6 +579,7 @@ declare class AlgorandClientTransactionCreator {
580
579
  validityWindow?: number | bigint | undefined;
581
580
  firstValidRound?: bigint | undefined;
582
581
  lastValidRound?: bigint | undefined;
582
+ appId?: 0 | undefined;
583
583
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
584
584
  accountReferences?: ReadableAddress[] | undefined;
585
585
  appReferences?: bigint[] | undefined;
@@ -587,8 +587,6 @@ declare class AlgorandClientTransactionCreator {
587
587
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
588
588
  accessReferences?: ResourceReference[] | undefined;
589
589
  rejectVersion?: number | undefined;
590
- approvalProgram: string | Uint8Array;
591
- clearStateProgram: string | Uint8Array;
592
590
  schema?: {
593
591
  globalInts: number;
594
592
  globalByteSlices: number;
@@ -596,11 +594,12 @@ declare class AlgorandClientTransactionCreator {
596
594
  localByteSlices: number;
597
595
  } | undefined;
598
596
  extraProgramPages?: number | undefined;
597
+ approvalProgram: string | Uint8Array;
598
+ clearStateProgram: string | Uint8Array;
599
599
  method: ABIMethod;
600
600
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
601
- args?: Uint8Array[] | undefined;
602
- sender: SendingAddress;
603
601
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
602
+ sender: SendingAddress;
604
603
  rekeyTo?: ReadableAddress | undefined;
605
604
  note?: string | Uint8Array | undefined;
606
605
  lease?: string | Uint8Array | undefined;
@@ -611,6 +610,7 @@ declare class AlgorandClientTransactionCreator {
611
610
  firstValidRound?: bigint | undefined;
612
611
  lastValidRound?: bigint | undefined;
613
612
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
613
+ args?: Uint8Array[] | undefined;
614
614
  accountReferences?: ReadableAddress[] | undefined;
615
615
  appReferences?: bigint[] | undefined;
616
616
  assetReferences?: bigint[] | undefined;
@@ -627,7 +627,7 @@ declare class AlgorandClientTransactionCreator {
627
627
  localByteSlices: number;
628
628
  } | undefined;
629
629
  extraProgramPages?: number | undefined;
630
- }> | AppMethodCall<{
630
+ }> | Promise<Transaction> | AppMethodCall<{
631
631
  sender: SendingAddress;
632
632
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
633
633
  rekeyTo?: ReadableAddress | undefined;
@@ -650,7 +650,7 @@ declare class AlgorandClientTransactionCreator {
650
650
  rejectVersion?: number | undefined;
651
651
  approvalProgram: string | Uint8Array;
652
652
  clearStateProgram: string | Uint8Array;
653
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
653
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
654
654
  }) => Promise<Expand<BuiltTransactions>>;
655
655
  /** Create an application update call with ABI method call transaction.
656
656
  *
@@ -702,9 +702,8 @@ declare class AlgorandClientTransactionCreator {
702
702
  * @returns The application ABI method update transaction
703
703
  */
704
704
  appUpdateMethodCall: (params: {
705
- appId: bigint;
706
- sender: SendingAddress;
707
705
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
706
+ sender: SendingAddress;
708
707
  rekeyTo?: ReadableAddress | undefined;
709
708
  note?: string | Uint8Array | undefined;
710
709
  lease?: string | Uint8Array | undefined;
@@ -714,6 +713,7 @@ declare class AlgorandClientTransactionCreator {
714
713
  validityWindow?: number | bigint | undefined;
715
714
  firstValidRound?: bigint | undefined;
716
715
  lastValidRound?: bigint | undefined;
716
+ appId: bigint;
717
717
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
718
718
  accountReferences?: ReadableAddress[] | undefined;
719
719
  appReferences?: bigint[] | undefined;
@@ -725,9 +725,8 @@ declare class AlgorandClientTransactionCreator {
725
725
  clearStateProgram: string | Uint8Array;
726
726
  method: ABIMethod;
727
727
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
728
- args?: Uint8Array[] | undefined;
729
- sender: SendingAddress;
730
728
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
729
+ sender: SendingAddress;
731
730
  rekeyTo?: ReadableAddress | undefined;
732
731
  note?: string | Uint8Array | undefined;
733
732
  lease?: string | Uint8Array | undefined;
@@ -738,6 +737,7 @@ declare class AlgorandClientTransactionCreator {
738
737
  firstValidRound?: bigint | undefined;
739
738
  lastValidRound?: bigint | undefined;
740
739
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
740
+ args?: Uint8Array[] | undefined;
741
741
  accountReferences?: ReadableAddress[] | undefined;
742
742
  appReferences?: bigint[] | undefined;
743
743
  assetReferences?: bigint[] | undefined;
@@ -754,7 +754,7 @@ declare class AlgorandClientTransactionCreator {
754
754
  localByteSlices: number;
755
755
  } | undefined;
756
756
  extraProgramPages?: number | undefined;
757
- }> | AppMethodCall<{
757
+ }> | Promise<Transaction> | AppMethodCall<{
758
758
  sender: SendingAddress;
759
759
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
760
760
  rekeyTo?: ReadableAddress | undefined;
@@ -777,7 +777,7 @@ declare class AlgorandClientTransactionCreator {
777
777
  rejectVersion?: number | undefined;
778
778
  approvalProgram: string | Uint8Array;
779
779
  clearStateProgram: string | Uint8Array;
780
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
780
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
781
781
  }) => Promise<Expand<BuiltTransactions>>;
782
782
  /** Create an application delete call with ABI method call transaction.
783
783
  *
@@ -827,9 +827,8 @@ declare class AlgorandClientTransactionCreator {
827
827
  * @returns The application ABI method delete transaction
828
828
  */
829
829
  appDeleteMethodCall: (params: {
830
- appId: bigint;
831
- sender: SendingAddress;
832
830
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
831
+ sender: SendingAddress;
833
832
  rekeyTo?: ReadableAddress | undefined;
834
833
  note?: string | Uint8Array | undefined;
835
834
  lease?: string | Uint8Array | undefined;
@@ -839,6 +838,7 @@ declare class AlgorandClientTransactionCreator {
839
838
  validityWindow?: number | bigint | undefined;
840
839
  firstValidRound?: bigint | undefined;
841
840
  lastValidRound?: bigint | undefined;
841
+ appId: bigint;
842
842
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
843
843
  accountReferences?: ReadableAddress[] | undefined;
844
844
  appReferences?: bigint[] | undefined;
@@ -848,9 +848,8 @@ declare class AlgorandClientTransactionCreator {
848
848
  rejectVersion?: number | undefined;
849
849
  method: ABIMethod;
850
850
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
851
- args?: Uint8Array[] | undefined;
852
- sender: SendingAddress;
853
851
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
852
+ sender: SendingAddress;
854
853
  rekeyTo?: ReadableAddress | undefined;
855
854
  note?: string | Uint8Array | undefined;
856
855
  lease?: string | Uint8Array | undefined;
@@ -861,6 +860,7 @@ declare class AlgorandClientTransactionCreator {
861
860
  firstValidRound?: bigint | undefined;
862
861
  lastValidRound?: bigint | undefined;
863
862
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
863
+ args?: Uint8Array[] | undefined;
864
864
  accountReferences?: ReadableAddress[] | undefined;
865
865
  appReferences?: bigint[] | undefined;
866
866
  assetReferences?: bigint[] | undefined;
@@ -877,7 +877,7 @@ declare class AlgorandClientTransactionCreator {
877
877
  localByteSlices: number;
878
878
  } | undefined;
879
879
  extraProgramPages?: number | undefined;
880
- }> | AppMethodCall<{
880
+ }> | Promise<Transaction> | AppMethodCall<{
881
881
  sender: SendingAddress;
882
882
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
883
883
  rekeyTo?: ReadableAddress | undefined;
@@ -900,7 +900,7 @@ declare class AlgorandClientTransactionCreator {
900
900
  rejectVersion?: number | undefined;
901
901
  approvalProgram: string | Uint8Array;
902
902
  clearStateProgram: string | Uint8Array;
903
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
903
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
904
904
  }) => Promise<Expand<BuiltTransactions>>;
905
905
  /** Create an application call with ABI method call transaction.
906
906
  *
@@ -950,9 +950,8 @@ declare class AlgorandClientTransactionCreator {
950
950
  * @returns The application ABI method call transaction
951
951
  */
952
952
  appCallMethodCall: (params: {
953
- appId: bigint;
954
- sender: SendingAddress;
955
953
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
954
+ sender: SendingAddress;
956
955
  rekeyTo?: ReadableAddress | undefined;
957
956
  note?: string | Uint8Array | undefined;
958
957
  lease?: string | Uint8Array | undefined;
@@ -962,6 +961,7 @@ declare class AlgorandClientTransactionCreator {
962
961
  validityWindow?: number | bigint | undefined;
963
962
  firstValidRound?: bigint | undefined;
964
963
  lastValidRound?: bigint | undefined;
964
+ appId: bigint;
965
965
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
966
966
  accountReferences?: ReadableAddress[] | undefined;
967
967
  appReferences?: bigint[] | undefined;
@@ -971,9 +971,8 @@ declare class AlgorandClientTransactionCreator {
971
971
  rejectVersion?: number | undefined;
972
972
  method: ABIMethod;
973
973
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
974
- args?: Uint8Array[] | undefined;
975
- sender: SendingAddress;
976
974
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
975
+ sender: SendingAddress;
977
976
  rekeyTo?: ReadableAddress | undefined;
978
977
  note?: string | Uint8Array | undefined;
979
978
  lease?: string | Uint8Array | undefined;
@@ -984,6 +983,7 @@ declare class AlgorandClientTransactionCreator {
984
983
  firstValidRound?: bigint | undefined;
985
984
  lastValidRound?: bigint | undefined;
986
985
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
986
+ args?: Uint8Array[] | undefined;
987
987
  accountReferences?: ReadableAddress[] | undefined;
988
988
  appReferences?: bigint[] | undefined;
989
989
  assetReferences?: bigint[] | undefined;
@@ -1000,7 +1000,7 @@ declare class AlgorandClientTransactionCreator {
1000
1000
  localByteSlices: number;
1001
1001
  } | undefined;
1002
1002
  extraProgramPages?: number | undefined;
1003
- }> | AppMethodCall<{
1003
+ }> | Promise<Transaction> | AppMethodCall<{
1004
1004
  sender: SendingAddress;
1005
1005
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1006
1006
  rekeyTo?: ReadableAddress | undefined;
@@ -1023,7 +1023,7 @@ declare class AlgorandClientTransactionCreator {
1023
1023
  rejectVersion?: number | undefined;
1024
1024
  approvalProgram: string | Uint8Array;
1025
1025
  clearStateProgram: string | Uint8Array;
1026
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1026
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1027
1027
  }) => Promise<Expand<BuiltTransactions>>;
1028
1028
  /**
1029
1029
  * Create an online key registration transaction.
@@ -479,9 +479,8 @@ declare class AlgorandClientTransactionSender {
479
479
  * @returns The result of the app create transaction and the transaction that was sent
480
480
  */
481
481
  appCreate: (params: {
482
- args?: Uint8Array[] | undefined;
483
- sender: SendingAddress;
484
482
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
483
+ sender: SendingAddress;
485
484
  rekeyTo?: ReadableAddress | undefined;
486
485
  note?: string | Uint8Array | undefined;
487
486
  lease?: string | Uint8Array | undefined;
@@ -492,6 +491,7 @@ declare class AlgorandClientTransactionSender {
492
491
  firstValidRound?: bigint | undefined;
493
492
  lastValidRound?: bigint | undefined;
494
493
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
494
+ args?: Uint8Array[] | undefined;
495
495
  accountReferences?: ReadableAddress[] | undefined;
496
496
  appReferences?: bigint[] | undefined;
497
497
  assetReferences?: bigint[] | undefined;
@@ -752,9 +752,8 @@ declare class AlgorandClientTransactionSender {
752
752
  * @returns The result of the application ABI method create transaction and the transaction that was sent
753
753
  */
754
754
  appCreateMethodCall: (params: {
755
- appId?: 0 | undefined;
756
- sender: SendingAddress;
757
755
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
756
+ sender: SendingAddress;
758
757
  rekeyTo?: ReadableAddress | undefined;
759
758
  note?: string | Uint8Array | undefined;
760
759
  lease?: string | Uint8Array | undefined;
@@ -764,6 +763,7 @@ declare class AlgorandClientTransactionSender {
764
763
  validityWindow?: number | bigint | undefined;
765
764
  firstValidRound?: bigint | undefined;
766
765
  lastValidRound?: bigint | undefined;
766
+ appId?: 0 | undefined;
767
767
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
768
768
  accountReferences?: ReadableAddress[] | undefined;
769
769
  appReferences?: bigint[] | undefined;
@@ -771,8 +771,6 @@ declare class AlgorandClientTransactionSender {
771
771
  boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
772
772
  accessReferences?: ResourceReference[] | undefined;
773
773
  rejectVersion?: number | undefined;
774
- approvalProgram: string | Uint8Array;
775
- clearStateProgram: string | Uint8Array;
776
774
  schema?: {
777
775
  globalInts: number;
778
776
  globalByteSlices: number;
@@ -780,11 +778,12 @@ declare class AlgorandClientTransactionSender {
780
778
  localByteSlices: number;
781
779
  } | undefined;
782
780
  extraProgramPages?: number | undefined;
781
+ approvalProgram: string | Uint8Array;
782
+ clearStateProgram: string | Uint8Array;
783
783
  method: ABIMethod;
784
784
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
785
- args?: Uint8Array[] | undefined;
786
- sender: SendingAddress;
787
785
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
786
+ sender: SendingAddress;
788
787
  rekeyTo?: ReadableAddress | undefined;
789
788
  note?: string | Uint8Array | undefined;
790
789
  lease?: string | Uint8Array | undefined;
@@ -795,6 +794,7 @@ declare class AlgorandClientTransactionSender {
795
794
  firstValidRound?: bigint | undefined;
796
795
  lastValidRound?: bigint | undefined;
797
796
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
797
+ args?: Uint8Array[] | undefined;
798
798
  accountReferences?: ReadableAddress[] | undefined;
799
799
  appReferences?: bigint[] | undefined;
800
800
  assetReferences?: bigint[] | undefined;
@@ -811,7 +811,7 @@ declare class AlgorandClientTransactionSender {
811
811
  localByteSlices: number;
812
812
  } | undefined;
813
813
  extraProgramPages?: number | undefined;
814
- }> | AppMethodCall<{
814
+ }> | Promise<Transaction> | AppMethodCall<{
815
815
  sender: SendingAddress;
816
816
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
817
817
  rekeyTo?: ReadableAddress | undefined;
@@ -834,7 +834,7 @@ declare class AlgorandClientTransactionSender {
834
834
  rejectVersion?: number | undefined;
835
835
  approvalProgram: string | Uint8Array;
836
836
  clearStateProgram: string | Uint8Array;
837
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
837
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
838
838
  } & SendParams) => Promise<SendAppCreateTransactionResult>;
839
839
  /**
840
840
  * Update a smart contract via an ABI method.
@@ -893,9 +893,8 @@ declare class AlgorandClientTransactionSender {
893
893
  * @returns The result of the application ABI method update transaction and the transaction that was sent
894
894
  */
895
895
  appUpdateMethodCall: (params: {
896
- appId: bigint;
897
- sender: SendingAddress;
898
896
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
897
+ sender: SendingAddress;
899
898
  rekeyTo?: ReadableAddress | undefined;
900
899
  note?: string | Uint8Array | undefined;
901
900
  lease?: string | Uint8Array | undefined;
@@ -905,6 +904,7 @@ declare class AlgorandClientTransactionSender {
905
904
  validityWindow?: number | bigint | undefined;
906
905
  firstValidRound?: bigint | undefined;
907
906
  lastValidRound?: bigint | undefined;
907
+ appId: bigint;
908
908
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
909
909
  accountReferences?: ReadableAddress[] | undefined;
910
910
  appReferences?: bigint[] | undefined;
@@ -916,9 +916,8 @@ declare class AlgorandClientTransactionSender {
916
916
  clearStateProgram: string | Uint8Array;
917
917
  method: ABIMethod;
918
918
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
919
- args?: Uint8Array[] | undefined;
920
- sender: SendingAddress;
921
919
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
920
+ sender: SendingAddress;
922
921
  rekeyTo?: ReadableAddress | undefined;
923
922
  note?: string | Uint8Array | undefined;
924
923
  lease?: string | Uint8Array | undefined;
@@ -929,6 +928,7 @@ declare class AlgorandClientTransactionSender {
929
928
  firstValidRound?: bigint | undefined;
930
929
  lastValidRound?: bigint | undefined;
931
930
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
931
+ args?: Uint8Array[] | undefined;
932
932
  accountReferences?: ReadableAddress[] | undefined;
933
933
  appReferences?: bigint[] | undefined;
934
934
  assetReferences?: bigint[] | undefined;
@@ -945,7 +945,7 @@ declare class AlgorandClientTransactionSender {
945
945
  localByteSlices: number;
946
946
  } | undefined;
947
947
  extraProgramPages?: number | undefined;
948
- }> | AppMethodCall<{
948
+ }> | Promise<Transaction> | AppMethodCall<{
949
949
  sender: SendingAddress;
950
950
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
951
951
  rekeyTo?: ReadableAddress | undefined;
@@ -968,7 +968,7 @@ declare class AlgorandClientTransactionSender {
968
968
  rejectVersion?: number | undefined;
969
969
  approvalProgram: string | Uint8Array;
970
970
  clearStateProgram: string | Uint8Array;
971
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
971
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
972
972
  } & SendParams) => Promise<SendAppUpdateTransactionResult>;
973
973
  /**
974
974
  * Delete a smart contract via an ABI method.
@@ -1025,9 +1025,8 @@ declare class AlgorandClientTransactionSender {
1025
1025
  * @returns The result of the application ABI method delete transaction and the transaction that was sent
1026
1026
  */
1027
1027
  appDeleteMethodCall: (params: {
1028
- appId: bigint;
1029
- sender: SendingAddress;
1030
1028
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1029
+ sender: SendingAddress;
1031
1030
  rekeyTo?: ReadableAddress | undefined;
1032
1031
  note?: string | Uint8Array | undefined;
1033
1032
  lease?: string | Uint8Array | undefined;
@@ -1037,6 +1036,7 @@ declare class AlgorandClientTransactionSender {
1037
1036
  validityWindow?: number | bigint | undefined;
1038
1037
  firstValidRound?: bigint | undefined;
1039
1038
  lastValidRound?: bigint | undefined;
1039
+ appId: bigint;
1040
1040
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1041
1041
  accountReferences?: ReadableAddress[] | undefined;
1042
1042
  appReferences?: bigint[] | undefined;
@@ -1046,9 +1046,8 @@ declare class AlgorandClientTransactionSender {
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
1048
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1049
- args?: Uint8Array[] | undefined;
1050
- sender: SendingAddress;
1051
1049
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1050
+ sender: SendingAddress;
1052
1051
  rekeyTo?: ReadableAddress | undefined;
1053
1052
  note?: string | Uint8Array | undefined;
1054
1053
  lease?: string | Uint8Array | undefined;
@@ -1059,6 +1058,7 @@ declare class AlgorandClientTransactionSender {
1059
1058
  firstValidRound?: bigint | undefined;
1060
1059
  lastValidRound?: bigint | undefined;
1061
1060
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1061
+ args?: Uint8Array[] | undefined;
1062
1062
  accountReferences?: ReadableAddress[] | undefined;
1063
1063
  appReferences?: bigint[] | undefined;
1064
1064
  assetReferences?: bigint[] | undefined;
@@ -1075,7 +1075,7 @@ declare class AlgorandClientTransactionSender {
1075
1075
  localByteSlices: number;
1076
1076
  } | undefined;
1077
1077
  extraProgramPages?: number | undefined;
1078
- }> | AppMethodCall<{
1078
+ }> | Promise<Transaction> | AppMethodCall<{
1079
1079
  sender: SendingAddress;
1080
1080
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1081
1081
  rekeyTo?: ReadableAddress | undefined;
@@ -1098,7 +1098,7 @@ declare class AlgorandClientTransactionSender {
1098
1098
  rejectVersion?: number | undefined;
1099
1099
  approvalProgram: string | Uint8Array;
1100
1100
  clearStateProgram: string | Uint8Array;
1101
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1101
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1102
1102
  } & SendParams) => Promise<SendAppTransactionResult>;
1103
1103
  /**
1104
1104
  * Call a smart contract via an ABI method.
@@ -1155,9 +1155,8 @@ declare class AlgorandClientTransactionSender {
1155
1155
  * @returns The result of the application ABI method call transaction and the transaction that was sent
1156
1156
  */
1157
1157
  appCallMethodCall: (params: {
1158
- appId: bigint;
1159
- sender: SendingAddress;
1160
1158
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1159
+ sender: SendingAddress;
1161
1160
  rekeyTo?: ReadableAddress | undefined;
1162
1161
  note?: string | Uint8Array | undefined;
1163
1162
  lease?: string | Uint8Array | undefined;
@@ -1167,6 +1166,7 @@ declare class AlgorandClientTransactionSender {
1167
1166
  validityWindow?: number | bigint | undefined;
1168
1167
  firstValidRound?: bigint | undefined;
1169
1168
  lastValidRound?: bigint | undefined;
1169
+ appId: bigint;
1170
1170
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1171
1171
  accountReferences?: ReadableAddress[] | undefined;
1172
1172
  appReferences?: bigint[] | undefined;
@@ -1176,9 +1176,8 @@ declare class AlgorandClientTransactionSender {
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
1178
  args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1179
- args?: Uint8Array[] | undefined;
1180
- sender: SendingAddress;
1181
1179
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1180
+ sender: SendingAddress;
1182
1181
  rekeyTo?: ReadableAddress | undefined;
1183
1182
  note?: string | Uint8Array | undefined;
1184
1183
  lease?: string | Uint8Array | undefined;
@@ -1189,6 +1188,7 @@ declare class AlgorandClientTransactionSender {
1189
1188
  firstValidRound?: bigint | undefined;
1190
1189
  lastValidRound?: bigint | undefined;
1191
1190
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1191
+ args?: Uint8Array[] | undefined;
1192
1192
  accountReferences?: ReadableAddress[] | undefined;
1193
1193
  appReferences?: bigint[] | undefined;
1194
1194
  assetReferences?: bigint[] | undefined;
@@ -1205,7 +1205,7 @@ declare class AlgorandClientTransactionSender {
1205
1205
  localByteSlices: number;
1206
1206
  } | undefined;
1207
1207
  extraProgramPages?: number | undefined;
1208
- }> | AppMethodCall<{
1208
+ }> | Promise<Transaction> | AppMethodCall<{
1209
1209
  sender: SendingAddress;
1210
1210
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1211
1211
  rekeyTo?: ReadableAddress | undefined;
@@ -1228,7 +1228,7 @@ declare class AlgorandClientTransactionSender {
1228
1228
  rejectVersion?: number | undefined;
1229
1229
  approvalProgram: string | Uint8Array;
1230
1230
  clearStateProgram: string | Uint8Array;
1231
- }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1231
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1232
1232
  } & SendParams) => Promise<SendAppTransactionResult>;
1233
1233
  /**
1234
1234
  * Register an online key.