@algorandfoundation/algokit-utils 10.0.0-alpha.24 → 10.0.0-alpha.25

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.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/packages/transact/src/logicsig.d.ts +36 -22
  3. package/packages/transact/src/logicsig.js +69 -52
  4. package/packages/transact/src/logicsig.js.map +1 -1
  5. package/packages/transact/src/logicsig.mjs +70 -54
  6. package/packages/transact/src/logicsig.mjs.map +1 -1
  7. package/packages/transact/src/multisig.d.ts +4 -1
  8. package/packages/transact/src/multisig.js +17 -0
  9. package/packages/transact/src/multisig.js.map +1 -1
  10. package/packages/transact/src/multisig.mjs +17 -0
  11. package/packages/transact/src/multisig.mjs.map +1 -1
  12. package/packages/transact/src/signer.js +4 -1
  13. package/packages/transact/src/signer.js.map +1 -1
  14. package/packages/transact/src/signer.mjs +4 -1
  15. package/packages/transact/src/signer.mjs.map +1 -1
  16. package/packages/transact/src/transactions/signed-transaction-meta.js +6 -6
  17. package/packages/transact/src/transactions/signed-transaction-meta.js.map +1 -1
  18. package/packages/transact/src/transactions/signed-transaction-meta.mjs +6 -6
  19. package/packages/transact/src/transactions/signed-transaction-meta.mjs.map +1 -1
  20. package/packages/transact/src/transactions/signed-transaction.d.ts +4 -4
  21. package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
  22. package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
  23. package/testing/account.js +4 -2
  24. package/testing/account.js.map +1 -1
  25. package/testing/account.mjs +4 -2
  26. package/testing/account.mjs.map +1 -1
  27. package/transact/index.d.ts +3 -3
  28. package/transact/index.js +2 -1
  29. package/transact/index.mjs +2 -2
  30. package/types/account-manager.d.ts +6 -8
  31. package/types/account-manager.js +13 -3
  32. package/types/account-manager.js.map +1 -1
  33. package/types/account-manager.mjs +13 -3
  34. package/types/account-manager.mjs.map +1 -1
  35. package/types/algorand-client-transaction-creator.d.ts +26 -26
  36. package/types/algorand-client-transaction-sender.d.ts +26 -26
  37. package/types/app-client.d.ts +74 -74
  38. package/types/app-factory.d.ts +30 -30
  39. package/types/testing.d.ts +2 -2
@@ -349,7 +349,7 @@ declare class AlgorandClientTransactionCreator {
349
349
  */
350
350
  appCreate: (params: {
351
351
  sender: SendingAddress;
352
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
352
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
353
353
  rekeyTo?: ReadableAddress | undefined;
354
354
  note?: string | Uint8Array | undefined;
355
355
  lease?: string | Uint8Array | undefined;
@@ -417,7 +417,7 @@ declare class AlgorandClientTransactionCreator {
417
417
  */
418
418
  appUpdate: (params: {
419
419
  sender: SendingAddress;
420
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
420
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
421
421
  rekeyTo?: ReadableAddress | undefined;
422
422
  note?: string | Uint8Array | undefined;
423
423
  lease?: string | Uint8Array | undefined;
@@ -568,8 +568,9 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
+ appId?: 0 | undefined;
571
572
  sender: SendingAddress;
572
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
573
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
573
574
  rekeyTo?: ReadableAddress | undefined;
574
575
  note?: string | Uint8Array | undefined;
575
576
  lease?: string | Uint8Array | undefined;
@@ -579,7 +580,6 @@ declare class AlgorandClientTransactionCreator {
579
580
  validityWindow?: number | bigint | undefined;
580
581
  firstValidRound?: bigint | undefined;
581
582
  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;
@@ -597,9 +597,9 @@ declare class AlgorandClientTransactionCreator {
597
597
  } | undefined;
598
598
  extraProgramPages?: number | undefined;
599
599
  method: ABIMethod;
600
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
600
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
601
601
  sender: SendingAddress;
602
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
602
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
603
603
  rekeyTo?: ReadableAddress | undefined;
604
604
  note?: string | Uint8Array | undefined;
605
605
  lease?: string | Uint8Array | undefined;
@@ -629,7 +629,7 @@ declare class AlgorandClientTransactionCreator {
629
629
  extraProgramPages?: number | undefined;
630
630
  }> | AppMethodCall<{
631
631
  sender: SendingAddress;
632
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
632
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
633
633
  rekeyTo?: ReadableAddress | undefined;
634
634
  note?: string | Uint8Array | undefined;
635
635
  lease?: string | Uint8Array | undefined;
@@ -650,7 +650,7 @@ declare class AlgorandClientTransactionCreator {
650
650
  rejectVersion?: number | undefined;
651
651
  approvalProgram: string | Uint8Array;
652
652
  clearStateProgram: string | Uint8Array;
653
- }> | 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,8 +702,9 @@ declare class AlgorandClientTransactionCreator {
702
702
  * @returns The application ABI method update transaction
703
703
  */
704
704
  appUpdateMethodCall: (params: {
705
+ appId: bigint;
705
706
  sender: SendingAddress;
706
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
707
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
707
708
  rekeyTo?: ReadableAddress | undefined;
708
709
  note?: string | Uint8Array | undefined;
709
710
  lease?: string | Uint8Array | undefined;
@@ -713,7 +714,6 @@ declare class AlgorandClientTransactionCreator {
713
714
  validityWindow?: number | bigint | undefined;
714
715
  firstValidRound?: bigint | undefined;
715
716
  lastValidRound?: bigint | undefined;
716
- appId: bigint;
717
717
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
718
718
  accountReferences?: ReadableAddress[] | undefined;
719
719
  appReferences?: bigint[] | undefined;
@@ -724,9 +724,9 @@ declare class AlgorandClientTransactionCreator {
724
724
  approvalProgram: string | Uint8Array;
725
725
  clearStateProgram: string | Uint8Array;
726
726
  method: ABIMethod;
727
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
727
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
728
728
  sender: SendingAddress;
729
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
729
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
730
730
  rekeyTo?: ReadableAddress | undefined;
731
731
  note?: string | Uint8Array | undefined;
732
732
  lease?: string | Uint8Array | undefined;
@@ -756,7 +756,7 @@ declare class AlgorandClientTransactionCreator {
756
756
  extraProgramPages?: number | undefined;
757
757
  }> | AppMethodCall<{
758
758
  sender: SendingAddress;
759
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
759
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
760
760
  rekeyTo?: ReadableAddress | undefined;
761
761
  note?: string | Uint8Array | undefined;
762
762
  lease?: string | Uint8Array | undefined;
@@ -777,7 +777,7 @@ declare class AlgorandClientTransactionCreator {
777
777
  rejectVersion?: number | undefined;
778
778
  approvalProgram: string | Uint8Array;
779
779
  clearStateProgram: string | Uint8Array;
780
- }> | 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,8 +827,9 @@ declare class AlgorandClientTransactionCreator {
827
827
  * @returns The application ABI method delete transaction
828
828
  */
829
829
  appDeleteMethodCall: (params: {
830
+ appId: bigint;
830
831
  sender: SendingAddress;
831
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
832
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
832
833
  rekeyTo?: ReadableAddress | undefined;
833
834
  note?: string | Uint8Array | undefined;
834
835
  lease?: string | Uint8Array | undefined;
@@ -838,7 +839,6 @@ declare class AlgorandClientTransactionCreator {
838
839
  validityWindow?: number | bigint | undefined;
839
840
  firstValidRound?: bigint | undefined;
840
841
  lastValidRound?: bigint | undefined;
841
- appId: bigint;
842
842
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
843
843
  accountReferences?: ReadableAddress[] | undefined;
844
844
  appReferences?: bigint[] | undefined;
@@ -847,9 +847,9 @@ declare class AlgorandClientTransactionCreator {
847
847
  accessReferences?: ResourceReference[] | undefined;
848
848
  rejectVersion?: number | undefined;
849
849
  method: ABIMethod;
850
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
850
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
851
851
  sender: SendingAddress;
852
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
852
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
853
853
  rekeyTo?: ReadableAddress | undefined;
854
854
  note?: string | Uint8Array | undefined;
855
855
  lease?: string | Uint8Array | undefined;
@@ -879,7 +879,7 @@ declare class AlgorandClientTransactionCreator {
879
879
  extraProgramPages?: number | undefined;
880
880
  }> | AppMethodCall<{
881
881
  sender: SendingAddress;
882
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
882
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
883
883
  rekeyTo?: ReadableAddress | undefined;
884
884
  note?: string | Uint8Array | undefined;
885
885
  lease?: string | Uint8Array | undefined;
@@ -900,7 +900,7 @@ declare class AlgorandClientTransactionCreator {
900
900
  rejectVersion?: number | undefined;
901
901
  approvalProgram: string | Uint8Array;
902
902
  clearStateProgram: string | Uint8Array;
903
- }> | 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,8 +950,9 @@ declare class AlgorandClientTransactionCreator {
950
950
  * @returns The application ABI method call transaction
951
951
  */
952
952
  appCallMethodCall: (params: {
953
+ appId: bigint;
953
954
  sender: SendingAddress;
954
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
955
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
955
956
  rekeyTo?: ReadableAddress | undefined;
956
957
  note?: string | Uint8Array | undefined;
957
958
  lease?: string | Uint8Array | undefined;
@@ -961,7 +962,6 @@ declare class AlgorandClientTransactionCreator {
961
962
  validityWindow?: number | bigint | undefined;
962
963
  firstValidRound?: bigint | undefined;
963
964
  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;
@@ -970,9 +970,9 @@ declare class AlgorandClientTransactionCreator {
970
970
  accessReferences?: ResourceReference[] | undefined;
971
971
  rejectVersion?: number | undefined;
972
972
  method: ABIMethod;
973
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
973
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
974
974
  sender: SendingAddress;
975
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
975
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
976
976
  rekeyTo?: ReadableAddress | undefined;
977
977
  note?: string | Uint8Array | undefined;
978
978
  lease?: string | Uint8Array | undefined;
@@ -1002,7 +1002,7 @@ declare class AlgorandClientTransactionCreator {
1002
1002
  extraProgramPages?: number | undefined;
1003
1003
  }> | AppMethodCall<{
1004
1004
  sender: SendingAddress;
1005
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1005
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1006
1006
  rekeyTo?: ReadableAddress | undefined;
1007
1007
  note?: string | Uint8Array | undefined;
1008
1008
  lease?: string | Uint8Array | undefined;
@@ -1023,7 +1023,7 @@ declare class AlgorandClientTransactionCreator {
1023
1023
  rejectVersion?: number | undefined;
1024
1024
  approvalProgram: string | Uint8Array;
1025
1025
  clearStateProgram: string | Uint8Array;
1026
- }> | Promise<Transaction> | undefined)[] | undefined;
1026
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1027
1027
  }) => Promise<Expand<BuiltTransactions>>;
1028
1028
  /**
1029
1029
  * Create an online key registration transaction.
@@ -480,7 +480,7 @@ declare class AlgorandClientTransactionSender {
480
480
  */
481
481
  appCreate: (params: {
482
482
  sender: SendingAddress;
483
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
483
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
484
484
  rekeyTo?: ReadableAddress | undefined;
485
485
  note?: string | Uint8Array | undefined;
486
486
  lease?: string | Uint8Array | undefined;
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
555
555
  */
556
556
  appUpdate: (params: {
557
557
  sender: SendingAddress;
558
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
558
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
559
559
  rekeyTo?: ReadableAddress | undefined;
560
560
  note?: string | Uint8Array | undefined;
561
561
  lease?: string | Uint8Array | undefined;
@@ -752,8 +752,9 @@ 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;
755
756
  sender: SendingAddress;
756
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
757
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
757
758
  rekeyTo?: ReadableAddress | undefined;
758
759
  note?: string | Uint8Array | undefined;
759
760
  lease?: string | Uint8Array | undefined;
@@ -763,7 +764,6 @@ declare class AlgorandClientTransactionSender {
763
764
  validityWindow?: number | bigint | undefined;
764
765
  firstValidRound?: bigint | undefined;
765
766
  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;
@@ -781,9 +781,9 @@ declare class AlgorandClientTransactionSender {
781
781
  } | undefined;
782
782
  extraProgramPages?: number | undefined;
783
783
  method: ABIMethod;
784
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
784
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
785
785
  sender: SendingAddress;
786
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
786
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
787
787
  rekeyTo?: ReadableAddress | undefined;
788
788
  note?: string | Uint8Array | undefined;
789
789
  lease?: string | Uint8Array | undefined;
@@ -813,7 +813,7 @@ declare class AlgorandClientTransactionSender {
813
813
  extraProgramPages?: number | undefined;
814
814
  }> | AppMethodCall<{
815
815
  sender: SendingAddress;
816
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
816
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
817
817
  rekeyTo?: ReadableAddress | undefined;
818
818
  note?: string | Uint8Array | undefined;
819
819
  lease?: string | Uint8Array | undefined;
@@ -834,7 +834,7 @@ declare class AlgorandClientTransactionSender {
834
834
  rejectVersion?: number | undefined;
835
835
  approvalProgram: string | Uint8Array;
836
836
  clearStateProgram: string | Uint8Array;
837
- }> | 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,8 +893,9 @@ 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;
896
897
  sender: SendingAddress;
897
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
898
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
898
899
  rekeyTo?: ReadableAddress | undefined;
899
900
  note?: string | Uint8Array | undefined;
900
901
  lease?: string | Uint8Array | undefined;
@@ -904,7 +905,6 @@ declare class AlgorandClientTransactionSender {
904
905
  validityWindow?: number | bigint | undefined;
905
906
  firstValidRound?: bigint | undefined;
906
907
  lastValidRound?: bigint | undefined;
907
- appId: bigint;
908
908
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
909
909
  accountReferences?: ReadableAddress[] | undefined;
910
910
  appReferences?: bigint[] | undefined;
@@ -915,9 +915,9 @@ declare class AlgorandClientTransactionSender {
915
915
  approvalProgram: string | Uint8Array;
916
916
  clearStateProgram: string | Uint8Array;
917
917
  method: ABIMethod;
918
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
918
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
919
919
  sender: SendingAddress;
920
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
920
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
921
921
  rekeyTo?: ReadableAddress | undefined;
922
922
  note?: string | Uint8Array | undefined;
923
923
  lease?: string | Uint8Array | undefined;
@@ -947,7 +947,7 @@ declare class AlgorandClientTransactionSender {
947
947
  extraProgramPages?: number | undefined;
948
948
  }> | AppMethodCall<{
949
949
  sender: SendingAddress;
950
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
950
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
951
951
  rekeyTo?: ReadableAddress | undefined;
952
952
  note?: string | Uint8Array | undefined;
953
953
  lease?: string | Uint8Array | undefined;
@@ -968,7 +968,7 @@ declare class AlgorandClientTransactionSender {
968
968
  rejectVersion?: number | undefined;
969
969
  approvalProgram: string | Uint8Array;
970
970
  clearStateProgram: string | Uint8Array;
971
- }> | 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,8 +1025,9 @@ 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;
1028
1029
  sender: SendingAddress;
1029
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1030
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1030
1031
  rekeyTo?: ReadableAddress | undefined;
1031
1032
  note?: string | Uint8Array | undefined;
1032
1033
  lease?: string | Uint8Array | undefined;
@@ -1036,7 +1037,6 @@ declare class AlgorandClientTransactionSender {
1036
1037
  validityWindow?: number | bigint | undefined;
1037
1038
  firstValidRound?: bigint | undefined;
1038
1039
  lastValidRound?: bigint | undefined;
1039
- appId: bigint;
1040
1040
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1041
1041
  accountReferences?: ReadableAddress[] | undefined;
1042
1042
  appReferences?: bigint[] | undefined;
@@ -1045,9 +1045,9 @@ declare class AlgorandClientTransactionSender {
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
1048
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
1049
1049
  sender: SendingAddress;
1050
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1050
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1051
1051
  rekeyTo?: ReadableAddress | undefined;
1052
1052
  note?: string | Uint8Array | undefined;
1053
1053
  lease?: string | Uint8Array | undefined;
@@ -1077,7 +1077,7 @@ declare class AlgorandClientTransactionSender {
1077
1077
  extraProgramPages?: number | undefined;
1078
1078
  }> | AppMethodCall<{
1079
1079
  sender: SendingAddress;
1080
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1080
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1081
1081
  rekeyTo?: ReadableAddress | undefined;
1082
1082
  note?: string | Uint8Array | undefined;
1083
1083
  lease?: string | Uint8Array | undefined;
@@ -1098,7 +1098,7 @@ declare class AlgorandClientTransactionSender {
1098
1098
  rejectVersion?: number | undefined;
1099
1099
  approvalProgram: string | Uint8Array;
1100
1100
  clearStateProgram: string | Uint8Array;
1101
- }> | 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,8 +1155,9 @@ 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;
1158
1159
  sender: SendingAddress;
1159
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1160
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1160
1161
  rekeyTo?: ReadableAddress | undefined;
1161
1162
  note?: string | Uint8Array | undefined;
1162
1163
  lease?: string | Uint8Array | undefined;
@@ -1166,7 +1167,6 @@ declare class AlgorandClientTransactionSender {
1166
1167
  validityWindow?: number | bigint | undefined;
1167
1168
  firstValidRound?: bigint | undefined;
1168
1169
  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;
@@ -1175,9 +1175,9 @@ declare class AlgorandClientTransactionSender {
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (ABIValue | TransactionWithSigner | Transaction | AppMethodCall<AppMethodCallParams> | AppMethodCall<{
1178
+ args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
1179
1179
  sender: SendingAddress;
1180
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1180
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1181
1181
  rekeyTo?: ReadableAddress | undefined;
1182
1182
  note?: string | Uint8Array | undefined;
1183
1183
  lease?: string | Uint8Array | undefined;
@@ -1207,7 +1207,7 @@ declare class AlgorandClientTransactionSender {
1207
1207
  extraProgramPages?: number | undefined;
1208
1208
  }> | AppMethodCall<{
1209
1209
  sender: SendingAddress;
1210
- signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1210
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1211
1211
  rekeyTo?: ReadableAddress | undefined;
1212
1212
  note?: string | Uint8Array | undefined;
1213
1213
  lease?: string | Uint8Array | undefined;
@@ -1228,7 +1228,7 @@ declare class AlgorandClientTransactionSender {
1228
1228
  rejectVersion?: number | undefined;
1229
1229
  approvalProgram: string | Uint8Array;
1230
1230
  clearStateProgram: string | Uint8Array;
1231
- }> | Promise<Transaction> | undefined)[] | undefined;
1231
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1232
1232
  } & SendParams) => Promise<SendAppTransactionResult>;
1233
1233
  /**
1234
1234
  * Register an online key.