@algorandfoundation/algokit-utils 9.2.0-beta.1 → 9.2.0-beta.11

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 (41) hide show
  1. package/package.json +1 -1
  2. package/testing/fixtures/algorand-fixture.d.ts +3 -3
  3. package/testing/fixtures/algorand-fixture.js.map +1 -1
  4. package/testing/fixtures/algorand-fixture.mjs.map +1 -1
  5. package/transaction/transaction.d.ts +1 -1
  6. package/transaction/transaction.js +27 -4
  7. package/transaction/transaction.js.map +1 -1
  8. package/transaction/transaction.mjs +27 -4
  9. package/transaction/transaction.mjs.map +1 -1
  10. package/types/algorand-client-transaction-creator.d.ts +12 -2
  11. package/types/algorand-client-transaction-creator.js +8 -0
  12. package/types/algorand-client-transaction-creator.js.map +1 -1
  13. package/types/algorand-client-transaction-creator.mjs +8 -0
  14. package/types/algorand-client-transaction-creator.mjs.map +1 -1
  15. package/types/algorand-client-transaction-sender.d.ts +108 -16
  16. package/types/algorand-client-transaction-sender.js +8 -0
  17. package/types/algorand-client-transaction-sender.js.map +1 -1
  18. package/types/algorand-client-transaction-sender.mjs +8 -0
  19. package/types/algorand-client-transaction-sender.mjs.map +1 -1
  20. package/types/app-client.d.ts +74 -37
  21. package/types/app-deployer.js +3 -3
  22. package/types/app-deployer.js.map +1 -1
  23. package/types/app-deployer.mjs +3 -3
  24. package/types/app-deployer.mjs.map +1 -1
  25. package/types/app-factory.d.ts +36 -18
  26. package/types/app-manager.d.ts +11 -13
  27. package/types/app-manager.js +1 -26
  28. package/types/app-manager.js.map +1 -1
  29. package/types/app-manager.mjs +3 -27
  30. package/types/app-manager.mjs.map +1 -1
  31. package/types/composer.d.ts +12 -2
  32. package/types/composer.js +39 -3
  33. package/types/composer.js.map +1 -1
  34. package/types/composer.mjs +40 -4
  35. package/types/composer.mjs.map +1 -1
  36. package/types/kmd-account-manager.d.ts +1 -0
  37. package/types/kmd-account-manager.js +33 -14
  38. package/types/kmd-account-manager.js.map +1 -1
  39. package/types/kmd-account-manager.mjs +33 -14
  40. package/types/kmd-account-manager.mjs.map +1 -1
  41. package/types/testing.d.ts +2 -2
@@ -452,6 +452,7 @@ export declare class AlgorandClientTransactionSender {
452
452
  * // Max fee doesn't make sense with extraFee AND staticFee
453
453
  * // already specified, but here for completeness
454
454
  * maxFee: (3000).microAlgo(),
455
+ * rejectVersion: 1,
455
456
  * // Signer only needed if you want to provide one,
456
457
  * // generally you'd register it with AlgorandClient
457
458
  * // against the sender and not need to pass it in
@@ -469,6 +470,7 @@ export declare class AlgorandClientTransactionSender {
469
470
  args?: Uint8Array[] | undefined;
470
471
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
471
472
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
473
+ rejectVersion?: number | undefined;
472
474
  lease?: string | Uint8Array | undefined;
473
475
  rekeyTo?: string | algosdk.Address | undefined;
474
476
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -480,7 +482,7 @@ export declare class AlgorandClientTransactionSender {
480
482
  appReferences?: bigint[] | undefined;
481
483
  assetReferences?: bigint[] | undefined;
482
484
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
483
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
485
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
484
486
  approvalProgram: string | Uint8Array;
485
487
  clearStateProgram: string | Uint8Array;
486
488
  schema?: {
@@ -524,6 +526,7 @@ export declare class AlgorandClientTransactionSender {
524
526
  * // Max fee doesn't make sense with extraFee AND staticFee
525
527
  * // already specified, but here for completeness
526
528
  * maxFee: (3000).microAlgo(),
529
+ * rejectVersion: 1,
527
530
  * // Signer only needed if you want to provide one,
528
531
  * // generally you'd register it with AlgorandClient
529
532
  * // against the sender and not need to pass it in
@@ -553,7 +556,8 @@ export declare class AlgorandClientTransactionSender {
553
556
  appReferences?: bigint[] | undefined;
554
557
  assetReferences?: bigint[] | undefined;
555
558
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
556
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
559
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
560
+ rejectVersion?: number | undefined;
557
561
  approvalProgram: string | Uint8Array;
558
562
  clearStateProgram: string | Uint8Array;
559
563
  } & SendParams) => Promise<SendAppUpdateTransactionResult>;
@@ -588,6 +592,7 @@ export declare class AlgorandClientTransactionSender {
588
592
  * // Max fee doesn't make sense with extraFee AND staticFee
589
593
  * // already specified, but here for completeness
590
594
  * maxFee: (3000).microAlgo(),
595
+ * rejectVersion: 1,
591
596
  * // Signer only needed if you want to provide one,
592
597
  * // generally you'd register it with AlgorandClient
593
598
  * // against the sender and not need to pass it in
@@ -606,7 +611,42 @@ export declare class AlgorandClientTransactionSender {
606
611
  appReferences?: bigint[] | undefined;
607
612
  assetReferences?: bigint[] | undefined;
608
613
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
609
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
614
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
615
+ /**
616
+ * Opt an account into an Algorand Standard Asset.
617
+ *
618
+ * @param params The parameters for the asset opt-in transaction
619
+ *
620
+ * @example Basic example
621
+ * ```typescript
622
+ * await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
623
+ * ```
624
+ * @example Advanced example
625
+ * ```typescript
626
+ * await algorand.send.assetOptIn({
627
+ * sender: 'SENDERADDRESS',
628
+ * assetId: 123456n,
629
+ * lease: 'lease',
630
+ * note: 'note',
631
+ * // You wouldn't normally set this field
632
+ * firstValidRound: 1000n,
633
+ * validityWindow: 10,
634
+ * extraFee: (1000).microAlgo(),
635
+ * staticFee: (1000).microAlgo(),
636
+ * // Max fee doesn't make sense with extraFee AND staticFee
637
+ * // already specified, but here for completeness
638
+ * maxFee: (3000).microAlgo(),
639
+ * // Signer only needed if you want to provide one,
640
+ * // generally you'd register it with AlgorandClient
641
+ * // against the sender and not need to pass it in
642
+ * signer: transactionSigner,
643
+ * maxRoundsToWaitForConfirmation: 5,
644
+ * suppressLog: true,
645
+ * })
646
+ * ```
647
+ * @returns The result of the asset opt-in transaction and the transaction that was sent
648
+ */
649
+ rejectVersion?: number | undefined;
610
650
  } & {
611
651
  onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
612
652
  } & SendParams) => Promise<SendAppTransactionResult>;
@@ -641,6 +681,7 @@ export declare class AlgorandClientTransactionSender {
641
681
  * // Max fee doesn't make sense with extraFee AND staticFee
642
682
  * // already specified, but here for completeness
643
683
  * maxFee: (3000).microAlgo(),
684
+ * rejectVersion: 1,
644
685
  * // Signer only needed if you want to provide one,
645
686
  * // generally you'd register it with AlgorandClient
646
687
  * // against the sender and not need to pass it in
@@ -659,7 +700,42 @@ export declare class AlgorandClientTransactionSender {
659
700
  appReferences?: bigint[] | undefined;
660
701
  assetReferences?: bigint[] | undefined;
661
702
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
662
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
703
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
704
+ /**
705
+ * Opt an account into an Algorand Standard Asset.
706
+ *
707
+ * @param params The parameters for the asset opt-in transaction
708
+ *
709
+ * @example Basic example
710
+ * ```typescript
711
+ * await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
712
+ * ```
713
+ * @example Advanced example
714
+ * ```typescript
715
+ * await algorand.send.assetOptIn({
716
+ * sender: 'SENDERADDRESS',
717
+ * assetId: 123456n,
718
+ * lease: 'lease',
719
+ * note: 'note',
720
+ * // You wouldn't normally set this field
721
+ * firstValidRound: 1000n,
722
+ * validityWindow: 10,
723
+ * extraFee: (1000).microAlgo(),
724
+ * staticFee: (1000).microAlgo(),
725
+ * // Max fee doesn't make sense with extraFee AND staticFee
726
+ * // already specified, but here for completeness
727
+ * maxFee: (3000).microAlgo(),
728
+ * // Signer only needed if you want to provide one,
729
+ * // generally you'd register it with AlgorandClient
730
+ * // against the sender and not need to pass it in
731
+ * signer: transactionSigner,
732
+ * maxRoundsToWaitForConfirmation: 5,
733
+ * suppressLog: true,
734
+ * })
735
+ * ```
736
+ * @returns The result of the asset opt-in transaction and the transaction that was sent
737
+ */
738
+ rejectVersion?: number | undefined;
663
739
  } & {
664
740
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.ClearStateOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
665
741
  } & SendParams) => Promise<SendAppTransactionResult>;
@@ -716,6 +792,7 @@ export declare class AlgorandClientTransactionSender {
716
792
  * // Max fee doesn't make sense with extraFee AND staticFee
717
793
  * // already specified, but here for completeness
718
794
  * maxFee: (3000).microAlgo(),
795
+ * rejectVersion: 1,
719
796
  * // Signer only needed if you want to provide one,
720
797
  * // generally you'd register it with AlgorandClient
721
798
  * // against the sender and not need to pass it in
@@ -740,6 +817,7 @@ export declare class AlgorandClientTransactionSender {
740
817
  } | undefined;
741
818
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
742
819
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
820
+ rejectVersion?: number | undefined;
743
821
  lease?: string | Uint8Array | undefined;
744
822
  rekeyTo?: string | algosdk.Address | undefined;
745
823
  extraProgramPages?: number | undefined;
@@ -752,7 +830,7 @@ export declare class AlgorandClientTransactionSender {
752
830
  appReferences?: bigint[] | undefined;
753
831
  assetReferences?: bigint[] | undefined;
754
832
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
755
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
833
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
756
834
  } & {
757
835
  method: algosdk.ABIMethod;
758
836
  args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
@@ -762,6 +840,7 @@ export declare class AlgorandClientTransactionSender {
762
840
  args?: Uint8Array[] | undefined;
763
841
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
764
842
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
843
+ rejectVersion?: number | undefined;
765
844
  lease?: string | Uint8Array | undefined;
766
845
  rekeyTo?: string | algosdk.Address | undefined;
767
846
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -773,7 +852,7 @@ export declare class AlgorandClientTransactionSender {
773
852
  appReferences?: bigint[] | undefined;
774
853
  assetReferences?: bigint[] | undefined;
775
854
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
776
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
855
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
777
856
  approvalProgram: string | Uint8Array;
778
857
  clearStateProgram: string | Uint8Array;
779
858
  schema?: {
@@ -802,7 +881,8 @@ export declare class AlgorandClientTransactionSender {
802
881
  appReferences?: bigint[] | undefined;
803
882
  assetReferences?: bigint[] | undefined;
804
883
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
805
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
884
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
885
+ rejectVersion?: number | undefined;
806
886
  approvalProgram: string | Uint8Array;
807
887
  clearStateProgram: string | Uint8Array;
808
888
  }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
@@ -852,6 +932,7 @@ export declare class AlgorandClientTransactionSender {
852
932
  * // Max fee doesn't make sense with extraFee AND staticFee
853
933
  * // already specified, but here for completeness
854
934
  * maxFee: (3000).microAlgo(),
935
+ * rejectVersion: 1,
855
936
  * // Signer only needed if you want to provide one,
856
937
  * // generally you'd register it with AlgorandClient
857
938
  * // against the sender and not need to pass it in
@@ -871,6 +952,7 @@ export declare class AlgorandClientTransactionSender {
871
952
  appId: bigint;
872
953
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
873
954
  onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
955
+ rejectVersion?: number | undefined;
874
956
  lease?: string | Uint8Array | undefined;
875
957
  rekeyTo?: string | algosdk.Address | undefined;
876
958
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -882,7 +964,7 @@ export declare class AlgorandClientTransactionSender {
882
964
  appReferences?: bigint[] | undefined;
883
965
  assetReferences?: bigint[] | undefined;
884
966
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
885
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
967
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
886
968
  } & {
887
969
  method: algosdk.ABIMethod;
888
970
  args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
@@ -892,6 +974,7 @@ export declare class AlgorandClientTransactionSender {
892
974
  args?: Uint8Array[] | undefined;
893
975
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
894
976
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
977
+ rejectVersion?: number | undefined;
895
978
  lease?: string | Uint8Array | undefined;
896
979
  rekeyTo?: string | algosdk.Address | undefined;
897
980
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -903,7 +986,7 @@ export declare class AlgorandClientTransactionSender {
903
986
  appReferences?: bigint[] | undefined;
904
987
  assetReferences?: bigint[] | undefined;
905
988
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
906
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
989
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
907
990
  approvalProgram: string | Uint8Array;
908
991
  clearStateProgram: string | Uint8Array;
909
992
  schema?: {
@@ -932,7 +1015,8 @@ export declare class AlgorandClientTransactionSender {
932
1015
  appReferences?: bigint[] | undefined;
933
1016
  assetReferences?: bigint[] | undefined;
934
1017
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
935
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1018
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1019
+ rejectVersion?: number | undefined;
936
1020
  approvalProgram: string | Uint8Array;
937
1021
  clearStateProgram: string | Uint8Array;
938
1022
  }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
@@ -980,6 +1064,7 @@ export declare class AlgorandClientTransactionSender {
980
1064
  * // Max fee doesn't make sense with extraFee AND staticFee
981
1065
  * // already specified, but here for completeness
982
1066
  * maxFee: (3000).microAlgo(),
1067
+ * rejectVersion: 1,
983
1068
  * // Signer only needed if you want to provide one,
984
1069
  * // generally you'd register it with AlgorandClient
985
1070
  * // against the sender and not need to pass it in
@@ -997,6 +1082,7 @@ export declare class AlgorandClientTransactionSender {
997
1082
  appId: bigint;
998
1083
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
999
1084
  onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1085
+ rejectVersion?: number | undefined;
1000
1086
  lease?: string | Uint8Array | undefined;
1001
1087
  rekeyTo?: string | algosdk.Address | undefined;
1002
1088
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -1008,7 +1094,7 @@ export declare class AlgorandClientTransactionSender {
1008
1094
  appReferences?: bigint[] | undefined;
1009
1095
  assetReferences?: bigint[] | undefined;
1010
1096
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1011
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1097
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1012
1098
  } & {
1013
1099
  method: algosdk.ABIMethod;
1014
1100
  args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
@@ -1018,6 +1104,7 @@ export declare class AlgorandClientTransactionSender {
1018
1104
  args?: Uint8Array[] | undefined;
1019
1105
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1020
1106
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1107
+ rejectVersion?: number | undefined;
1021
1108
  lease?: string | Uint8Array | undefined;
1022
1109
  rekeyTo?: string | algosdk.Address | undefined;
1023
1110
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -1029,7 +1116,7 @@ export declare class AlgorandClientTransactionSender {
1029
1116
  appReferences?: bigint[] | undefined;
1030
1117
  assetReferences?: bigint[] | undefined;
1031
1118
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1032
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1119
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1033
1120
  approvalProgram: string | Uint8Array;
1034
1121
  clearStateProgram: string | Uint8Array;
1035
1122
  schema?: {
@@ -1058,7 +1145,8 @@ export declare class AlgorandClientTransactionSender {
1058
1145
  appReferences?: bigint[] | undefined;
1059
1146
  assetReferences?: bigint[] | undefined;
1060
1147
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1061
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1148
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1149
+ rejectVersion?: number | undefined;
1062
1150
  approvalProgram: string | Uint8Array;
1063
1151
  clearStateProgram: string | Uint8Array;
1064
1152
  }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
@@ -1106,6 +1194,7 @@ export declare class AlgorandClientTransactionSender {
1106
1194
  * // Max fee doesn't make sense with extraFee AND staticFee
1107
1195
  * // already specified, but here for completeness
1108
1196
  * maxFee: (3000).microAlgo(),
1197
+ * rejectVersion: 1,
1109
1198
  * // Signer only needed if you want to provide one,
1110
1199
  * // generally you'd register it with AlgorandClient
1111
1200
  * // against the sender and not need to pass it in
@@ -1123,6 +1212,7 @@ export declare class AlgorandClientTransactionSender {
1123
1212
  appId: bigint;
1124
1213
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1125
1214
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1215
+ rejectVersion?: number | undefined;
1126
1216
  lease?: string | Uint8Array | undefined;
1127
1217
  rekeyTo?: string | algosdk.Address | undefined;
1128
1218
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -1134,7 +1224,7 @@ export declare class AlgorandClientTransactionSender {
1134
1224
  appReferences?: bigint[] | undefined;
1135
1225
  assetReferences?: bigint[] | undefined;
1136
1226
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1137
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1227
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1138
1228
  } & {
1139
1229
  method: algosdk.ABIMethod;
1140
1230
  args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
@@ -1144,6 +1234,7 @@ export declare class AlgorandClientTransactionSender {
1144
1234
  args?: Uint8Array[] | undefined;
1145
1235
  signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1146
1236
  onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1237
+ rejectVersion?: number | undefined;
1147
1238
  lease?: string | Uint8Array | undefined;
1148
1239
  rekeyTo?: string | algosdk.Address | undefined;
1149
1240
  staticFee?: import("./amount").AlgoAmount | undefined;
@@ -1155,7 +1246,7 @@ export declare class AlgorandClientTransactionSender {
1155
1246
  appReferences?: bigint[] | undefined;
1156
1247
  assetReferences?: bigint[] | undefined;
1157
1248
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1158
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1249
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1159
1250
  approvalProgram: string | Uint8Array;
1160
1251
  clearStateProgram: string | Uint8Array;
1161
1252
  schema?: {
@@ -1184,7 +1275,8 @@ export declare class AlgorandClientTransactionSender {
1184
1275
  appReferences?: bigint[] | undefined;
1185
1276
  assetReferences?: bigint[] | undefined;
1186
1277
  boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1187
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1278
+ accessReferences?: import("./app-manager").ResourceReference[] | undefined;
1279
+ rejectVersion?: number | undefined;
1188
1280
  approvalProgram: string | Uint8Array;
1189
1281
  clearStateProgram: string | Uint8Array;
1190
1282
  }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
@@ -431,6 +431,7 @@ class AlgorandClientTransactionSender {
431
431
  * // Max fee doesn't make sense with extraFee AND staticFee
432
432
  * // already specified, but here for completeness
433
433
  * maxFee: (3000).microAlgo(),
434
+ * rejectVersion: 1,
434
435
  * // Signer only needed if you want to provide one,
435
436
  * // generally you'd register it with AlgorandClient
436
437
  * // against the sender and not need to pass it in
@@ -477,6 +478,7 @@ class AlgorandClientTransactionSender {
477
478
  * // Max fee doesn't make sense with extraFee AND staticFee
478
479
  * // already specified, but here for completeness
479
480
  * maxFee: (3000).microAlgo(),
481
+ * rejectVersion: 1,
480
482
  * // Signer only needed if you want to provide one,
481
483
  * // generally you'd register it with AlgorandClient
482
484
  * // against the sender and not need to pass it in
@@ -521,6 +523,7 @@ class AlgorandClientTransactionSender {
521
523
  * // Max fee doesn't make sense with extraFee AND staticFee
522
524
  * // already specified, but here for completeness
523
525
  * maxFee: (3000).microAlgo(),
526
+ * rejectVersion: 1,
524
527
  * // Signer only needed if you want to provide one,
525
528
  * // generally you'd register it with AlgorandClient
526
529
  * // against the sender and not need to pass it in
@@ -565,6 +568,7 @@ class AlgorandClientTransactionSender {
565
568
  * // Max fee doesn't make sense with extraFee AND staticFee
566
569
  * // already specified, but here for completeness
567
570
  * maxFee: (3000).microAlgo(),
571
+ * rejectVersion: 1,
568
572
  * // Signer only needed if you want to provide one,
569
573
  * // generally you'd register it with AlgorandClient
570
574
  * // against the sender and not need to pass it in
@@ -631,6 +635,7 @@ class AlgorandClientTransactionSender {
631
635
  * // Max fee doesn't make sense with extraFee AND staticFee
632
636
  * // already specified, but here for completeness
633
637
  * maxFee: (3000).microAlgo(),
638
+ * rejectVersion: 1,
634
639
  * // Signer only needed if you want to provide one,
635
640
  * // generally you'd register it with AlgorandClient
636
641
  * // against the sender and not need to pass it in
@@ -689,6 +694,7 @@ class AlgorandClientTransactionSender {
689
694
  * // Max fee doesn't make sense with extraFee AND staticFee
690
695
  * // already specified, but here for completeness
691
696
  * maxFee: (3000).microAlgo(),
697
+ * rejectVersion: 1,
692
698
  * // Signer only needed if you want to provide one,
693
699
  * // generally you'd register it with AlgorandClient
694
700
  * // against the sender and not need to pass it in
@@ -745,6 +751,7 @@ class AlgorandClientTransactionSender {
745
751
  * // Max fee doesn't make sense with extraFee AND staticFee
746
752
  * // already specified, but here for completeness
747
753
  * maxFee: (3000).microAlgo(),
754
+ * rejectVersion: 1,
748
755
  * // Signer only needed if you want to provide one,
749
756
  * // generally you'd register it with AlgorandClient
750
757
  * // against the sender and not need to pass it in
@@ -801,6 +808,7 @@ class AlgorandClientTransactionSender {
801
808
  * // Max fee doesn't make sense with extraFee AND staticFee
802
809
  * // already specified, but here for completeness
803
810
  * maxFee: (3000).microAlgo(),
811
+ * rejectVersion: 1,
804
812
  * // Signer only needed if you want to provide one,
805
813
  * // generally you'd register it with AlgorandClient
806
814
  * // against the sender and not need to pass it in