@algorandfoundation/algokit-utils 10.0.0-alpha.1 → 10.0.0-alpha.2

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.
@@ -478,23 +478,23 @@ declare class AlgorandClientTransactionSender {
478
478
  * @returns The result of the app create transaction and the transaction that was sent
479
479
  */
480
480
  appCreate: (params: {
481
- args?: Uint8Array[] | undefined;
482
- note?: string | Uint8Array | undefined;
483
- maxFee?: AlgoAmount | undefined;
481
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
484
482
  sender: SendingAddress;
485
- lease?: string | Uint8Array | undefined;
486
483
  rekeyTo?: ReadableAddress | undefined;
487
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
488
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
484
+ note?: string | Uint8Array | undefined;
485
+ lease?: string | Uint8Array | undefined;
489
486
  staticFee?: AlgoAmount | undefined;
490
487
  extraFee?: AlgoAmount | undefined;
488
+ maxFee?: AlgoAmount | undefined;
491
489
  validityWindow?: number | bigint | undefined;
492
490
  firstValidRound?: bigint | undefined;
493
491
  lastValidRound?: bigint | undefined;
492
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
493
+ args?: Uint8Array[] | undefined;
494
494
  accountReferences?: ReadableAddress[] | undefined;
495
495
  appReferences?: bigint[] | undefined;
496
496
  assetReferences?: bigint[] | undefined;
497
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
497
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
498
498
  accessReferences?: AccessReference[] | undefined;
499
499
  rejectVersion?: number | undefined;
500
500
  approvalProgram: string | Uint8Array;
@@ -568,7 +568,7 @@ declare class AlgorandClientTransactionSender {
568
568
  accountReferences?: ReadableAddress[] | undefined;
569
569
  appReferences?: bigint[] | undefined;
570
570
  assetReferences?: bigint[] | undefined;
571
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
571
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
572
572
  accessReferences?: AccessReference[] | undefined;
573
573
  rejectVersion?: number | undefined;
574
574
  approvalProgram: string | Uint8Array;
@@ -622,7 +622,7 @@ declare class AlgorandClientTransactionSender {
622
622
  accountReferences?: ReadableAddress[] | undefined;
623
623
  appReferences?: bigint[] | undefined;
624
624
  assetReferences?: bigint[] | undefined;
625
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
625
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
626
626
  accessReferences?: AccessReference[] | undefined;
627
627
  rejectVersion?: number | undefined;
628
628
  } & {
@@ -676,7 +676,7 @@ declare class AlgorandClientTransactionSender {
676
676
  accountReferences?: ReadableAddress[] | undefined;
677
677
  appReferences?: bigint[] | undefined;
678
678
  assetReferences?: bigint[] | undefined;
679
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
679
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
680
680
  accessReferences?: AccessReference[] | undefined;
681
681
  rejectVersion?: number | undefined;
682
682
  } & {
@@ -746,52 +746,52 @@ declare class AlgorandClientTransactionSender {
746
746
  * @returns The result of the application ABI method create transaction and the transaction that was sent
747
747
  */
748
748
  appCreateMethodCall: (params: {
749
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
750
+ sender: SendingAddress;
751
+ rekeyTo?: ReadableAddress | undefined;
749
752
  note?: string | Uint8Array | undefined;
750
- approvalProgram: string | Uint8Array;
751
- clearStateProgram: string | Uint8Array;
752
- extraProgramPages?: number | undefined;
753
+ lease?: string | Uint8Array | undefined;
754
+ staticFee?: AlgoAmount | undefined;
755
+ extraFee?: AlgoAmount | undefined;
753
756
  maxFee?: AlgoAmount | undefined;
757
+ validityWindow?: number | bigint | undefined;
758
+ firstValidRound?: bigint | undefined;
759
+ lastValidRound?: bigint | undefined;
754
760
  schema?: {
755
761
  globalInts: number;
756
762
  globalByteSlices: number;
757
763
  localInts: number;
758
764
  localByteSlices: number;
759
765
  } | undefined;
760
- sender: SendingAddress;
761
- lease?: string | Uint8Array | undefined;
762
- rekeyTo?: ReadableAddress | undefined;
766
+ approvalProgram: string | Uint8Array;
767
+ clearStateProgram: string | Uint8Array;
763
768
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
764
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
765
- staticFee?: AlgoAmount | undefined;
766
- extraFee?: AlgoAmount | undefined;
767
- validityWindow?: number | bigint | undefined;
768
- firstValidRound?: bigint | undefined;
769
- lastValidRound?: bigint | undefined;
770
769
  accountReferences?: ReadableAddress[] | undefined;
771
770
  appReferences?: bigint[] | undefined;
772
771
  assetReferences?: bigint[] | undefined;
773
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
772
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
774
773
  accessReferences?: AccessReference[] | undefined;
775
774
  rejectVersion?: number | undefined;
775
+ extraProgramPages?: number | undefined;
776
776
  method: ABIMethod;
777
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
778
- args?: Uint8Array[] | undefined;
779
- note?: string | Uint8Array | undefined;
780
- maxFee?: AlgoAmount | undefined;
777
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
778
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
781
779
  sender: SendingAddress;
782
- lease?: string | Uint8Array | undefined;
783
780
  rekeyTo?: ReadableAddress | undefined;
784
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
785
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
781
+ note?: string | Uint8Array | undefined;
782
+ lease?: string | Uint8Array | undefined;
786
783
  staticFee?: AlgoAmount | undefined;
787
784
  extraFee?: AlgoAmount | undefined;
785
+ maxFee?: AlgoAmount | undefined;
788
786
  validityWindow?: number | bigint | undefined;
789
787
  firstValidRound?: bigint | undefined;
790
788
  lastValidRound?: bigint | undefined;
789
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
790
+ args?: Uint8Array[] | undefined;
791
791
  accountReferences?: ReadableAddress[] | undefined;
792
792
  appReferences?: bigint[] | undefined;
793
793
  assetReferences?: bigint[] | undefined;
794
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
794
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
795
795
  accessReferences?: AccessReference[] | undefined;
796
796
  rejectVersion?: number | undefined;
797
797
  approvalProgram: string | Uint8Array;
@@ -821,7 +821,7 @@ declare class AlgorandClientTransactionSender {
821
821
  accountReferences?: ReadableAddress[] | undefined;
822
822
  appReferences?: bigint[] | undefined;
823
823
  assetReferences?: bigint[] | undefined;
824
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
824
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
825
825
  accessReferences?: AccessReference[] | undefined;
826
826
  rejectVersion?: number | undefined;
827
827
  approvalProgram: string | Uint8Array;
@@ -884,46 +884,46 @@ declare class AlgorandClientTransactionSender {
884
884
  * @returns The result of the application ABI method update transaction and the transaction that was sent
885
885
  */
886
886
  appUpdateMethodCall: (params: {
887
- appId: bigint;
888
- note?: string | Uint8Array | undefined;
889
- approvalProgram: string | Uint8Array;
890
- clearStateProgram: string | Uint8Array;
891
- maxFee?: AlgoAmount | undefined;
887
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
892
888
  sender: SendingAddress;
893
- lease?: string | Uint8Array | undefined;
894
889
  rekeyTo?: ReadableAddress | undefined;
895
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
896
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
890
+ note?: string | Uint8Array | undefined;
891
+ lease?: string | Uint8Array | undefined;
897
892
  staticFee?: AlgoAmount | undefined;
898
893
  extraFee?: AlgoAmount | undefined;
894
+ maxFee?: AlgoAmount | undefined;
899
895
  validityWindow?: number | bigint | undefined;
900
896
  firstValidRound?: bigint | undefined;
901
897
  lastValidRound?: bigint | undefined;
898
+ approvalProgram: string | Uint8Array;
899
+ clearStateProgram: string | Uint8Array;
900
+ appId: bigint;
901
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
902
902
  accountReferences?: ReadableAddress[] | undefined;
903
903
  appReferences?: bigint[] | undefined;
904
904
  assetReferences?: bigint[] | undefined;
905
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
905
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
906
906
  accessReferences?: AccessReference[] | undefined;
907
907
  rejectVersion?: number | undefined;
908
908
  method: ABIMethod;
909
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
910
- args?: Uint8Array[] | undefined;
911
- note?: string | Uint8Array | undefined;
912
- maxFee?: AlgoAmount | undefined;
909
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
910
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
913
911
  sender: SendingAddress;
914
- lease?: string | Uint8Array | undefined;
915
912
  rekeyTo?: ReadableAddress | undefined;
916
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
917
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
913
+ note?: string | Uint8Array | undefined;
914
+ lease?: string | Uint8Array | undefined;
918
915
  staticFee?: AlgoAmount | undefined;
919
916
  extraFee?: AlgoAmount | undefined;
917
+ maxFee?: AlgoAmount | undefined;
920
918
  validityWindow?: number | bigint | undefined;
921
919
  firstValidRound?: bigint | undefined;
922
920
  lastValidRound?: bigint | undefined;
921
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
922
+ args?: Uint8Array[] | undefined;
923
923
  accountReferences?: ReadableAddress[] | undefined;
924
924
  appReferences?: bigint[] | undefined;
925
925
  assetReferences?: bigint[] | undefined;
926
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
926
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
927
927
  accessReferences?: AccessReference[] | undefined;
928
928
  rejectVersion?: number | undefined;
929
929
  approvalProgram: string | Uint8Array;
@@ -953,7 +953,7 @@ declare class AlgorandClientTransactionSender {
953
953
  accountReferences?: ReadableAddress[] | undefined;
954
954
  appReferences?: bigint[] | undefined;
955
955
  assetReferences?: bigint[] | undefined;
956
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
956
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
957
957
  accessReferences?: AccessReference[] | undefined;
958
958
  rejectVersion?: number | undefined;
959
959
  approvalProgram: string | Uint8Array;
@@ -1014,44 +1014,44 @@ declare class AlgorandClientTransactionSender {
1014
1014
  * @returns The result of the application ABI method delete transaction and the transaction that was sent
1015
1015
  */
1016
1016
  appDeleteMethodCall: (params: {
1017
- appId: bigint;
1018
- note?: string | Uint8Array | undefined;
1019
- maxFee?: AlgoAmount | undefined;
1017
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1020
1018
  sender: SendingAddress;
1021
- lease?: string | Uint8Array | undefined;
1022
1019
  rekeyTo?: ReadableAddress | undefined;
1023
- onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1024
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1020
+ note?: string | Uint8Array | undefined;
1021
+ lease?: string | Uint8Array | undefined;
1025
1022
  staticFee?: AlgoAmount | undefined;
1026
1023
  extraFee?: AlgoAmount | undefined;
1024
+ maxFee?: AlgoAmount | undefined;
1027
1025
  validityWindow?: number | bigint | undefined;
1028
1026
  firstValidRound?: bigint | undefined;
1029
1027
  lastValidRound?: bigint | undefined;
1028
+ appId: bigint;
1029
+ onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1030
1030
  accountReferences?: ReadableAddress[] | undefined;
1031
1031
  appReferences?: bigint[] | undefined;
1032
1032
  assetReferences?: bigint[] | undefined;
1033
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1033
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1034
1034
  accessReferences?: AccessReference[] | undefined;
1035
1035
  rejectVersion?: number | undefined;
1036
1036
  method: ABIMethod;
1037
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
1038
- args?: Uint8Array[] | undefined;
1039
- note?: string | Uint8Array | undefined;
1040
- maxFee?: AlgoAmount | undefined;
1037
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1038
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1041
1039
  sender: SendingAddress;
1042
- lease?: string | Uint8Array | undefined;
1043
1040
  rekeyTo?: ReadableAddress | undefined;
1044
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1045
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1041
+ note?: string | Uint8Array | undefined;
1042
+ lease?: string | Uint8Array | undefined;
1046
1043
  staticFee?: AlgoAmount | undefined;
1047
1044
  extraFee?: AlgoAmount | undefined;
1045
+ maxFee?: AlgoAmount | undefined;
1048
1046
  validityWindow?: number | bigint | undefined;
1049
1047
  firstValidRound?: bigint | undefined;
1050
1048
  lastValidRound?: bigint | undefined;
1049
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1050
+ args?: Uint8Array[] | undefined;
1051
1051
  accountReferences?: ReadableAddress[] | undefined;
1052
1052
  appReferences?: bigint[] | undefined;
1053
1053
  assetReferences?: bigint[] | undefined;
1054
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1054
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1055
1055
  accessReferences?: AccessReference[] | undefined;
1056
1056
  rejectVersion?: number | undefined;
1057
1057
  approvalProgram: string | Uint8Array;
@@ -1081,7 +1081,7 @@ declare class AlgorandClientTransactionSender {
1081
1081
  accountReferences?: ReadableAddress[] | undefined;
1082
1082
  appReferences?: bigint[] | undefined;
1083
1083
  assetReferences?: bigint[] | undefined;
1084
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1084
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1085
1085
  accessReferences?: AccessReference[] | undefined;
1086
1086
  rejectVersion?: number | undefined;
1087
1087
  approvalProgram: string | Uint8Array;
@@ -1142,44 +1142,44 @@ declare class AlgorandClientTransactionSender {
1142
1142
  * @returns The result of the application ABI method call transaction and the transaction that was sent
1143
1143
  */
1144
1144
  appCallMethodCall: (params: {
1145
- appId: bigint;
1146
- note?: string | Uint8Array | undefined;
1147
- maxFee?: AlgoAmount | undefined;
1145
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1148
1146
  sender: SendingAddress;
1149
- lease?: string | Uint8Array | undefined;
1150
1147
  rekeyTo?: ReadableAddress | undefined;
1151
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1152
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1148
+ note?: string | Uint8Array | undefined;
1149
+ lease?: string | Uint8Array | undefined;
1153
1150
  staticFee?: AlgoAmount | undefined;
1154
1151
  extraFee?: AlgoAmount | undefined;
1152
+ maxFee?: AlgoAmount | undefined;
1155
1153
  validityWindow?: number | bigint | undefined;
1156
1154
  firstValidRound?: bigint | undefined;
1157
1155
  lastValidRound?: bigint | undefined;
1156
+ appId: bigint;
1157
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1158
1158
  accountReferences?: ReadableAddress[] | undefined;
1159
1159
  appReferences?: bigint[] | undefined;
1160
1160
  assetReferences?: bigint[] | undefined;
1161
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1161
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1162
1162
  accessReferences?: AccessReference[] | undefined;
1163
1163
  rejectVersion?: number | undefined;
1164
1164
  method: ABIMethod;
1165
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
1166
- args?: Uint8Array[] | undefined;
1167
- note?: string | Uint8Array | undefined;
1168
- maxFee?: AlgoAmount | undefined;
1165
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1166
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1169
1167
  sender: SendingAddress;
1170
- lease?: string | Uint8Array | undefined;
1171
1168
  rekeyTo?: ReadableAddress | undefined;
1172
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1173
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1169
+ note?: string | Uint8Array | undefined;
1170
+ lease?: string | Uint8Array | undefined;
1174
1171
  staticFee?: AlgoAmount | undefined;
1175
1172
  extraFee?: AlgoAmount | undefined;
1173
+ maxFee?: AlgoAmount | undefined;
1176
1174
  validityWindow?: number | bigint | undefined;
1177
1175
  firstValidRound?: bigint | undefined;
1178
1176
  lastValidRound?: bigint | undefined;
1177
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1178
+ args?: Uint8Array[] | undefined;
1179
1179
  accountReferences?: ReadableAddress[] | undefined;
1180
1180
  appReferences?: bigint[] | undefined;
1181
1181
  assetReferences?: bigint[] | undefined;
1182
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1182
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1183
1183
  accessReferences?: AccessReference[] | undefined;
1184
1184
  rejectVersion?: number | undefined;
1185
1185
  approvalProgram: string | Uint8Array;
@@ -1209,7 +1209,7 @@ declare class AlgorandClientTransactionSender {
1209
1209
  accountReferences?: ReadableAddress[] | undefined;
1210
1210
  appReferences?: bigint[] | undefined;
1211
1211
  assetReferences?: bigint[] | undefined;
1212
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1212
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1213
1213
  accessReferences?: AccessReference[] | undefined;
1214
1214
  rejectVersion?: number | undefined;
1215
1215
  approvalProgram: string | Uint8Array;