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

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.
@@ -347,23 +347,23 @@ declare class AlgorandClientTransactionCreator {
347
347
  * @returns The application create transaction
348
348
  */
349
349
  appCreate: (params: {
350
- args?: Uint8Array[] | undefined;
351
- note?: string | Uint8Array | undefined;
352
- maxFee?: AlgoAmount | undefined;
350
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
353
351
  sender: SendingAddress;
354
- lease?: string | Uint8Array | undefined;
355
352
  rekeyTo?: ReadableAddress | undefined;
356
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
357
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
353
+ note?: string | Uint8Array | undefined;
354
+ lease?: string | Uint8Array | undefined;
358
355
  staticFee?: AlgoAmount | undefined;
359
356
  extraFee?: AlgoAmount | undefined;
357
+ maxFee?: AlgoAmount | undefined;
360
358
  validityWindow?: number | bigint | undefined;
361
359
  firstValidRound?: bigint | undefined;
362
360
  lastValidRound?: bigint | undefined;
361
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
362
+ args?: Uint8Array[] | undefined;
363
363
  accountReferences?: ReadableAddress[] | undefined;
364
364
  appReferences?: bigint[] | undefined;
365
365
  assetReferences?: bigint[] | undefined;
366
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
366
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
367
367
  accessReferences?: AccessReference[] | undefined;
368
368
  rejectVersion?: number | undefined;
369
369
  approvalProgram: string | Uint8Array;
@@ -430,7 +430,7 @@ declare class AlgorandClientTransactionCreator {
430
430
  accountReferences?: ReadableAddress[] | undefined;
431
431
  appReferences?: bigint[] | undefined;
432
432
  assetReferences?: bigint[] | undefined;
433
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
433
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
434
434
  accessReferences?: AccessReference[] | undefined;
435
435
  rejectVersion?: number | undefined;
436
436
  approvalProgram: string | Uint8Array;
@@ -562,52 +562,52 @@ declare class AlgorandClientTransactionCreator {
562
562
  * @returns The application ABI method create transaction
563
563
  */
564
564
  appCreateMethodCall: (params: {
565
- note?: string | Uint8Array | undefined;
566
- approvalProgram: string | Uint8Array;
567
- clearStateProgram: string | Uint8Array;
568
- extraProgramPages?: number | undefined;
569
- maxFee?: AlgoAmount | undefined;
570
- schema?: {
571
- globalInts: number;
572
- globalByteSlices: number;
573
- localInts: number;
574
- localByteSlices: number;
575
- } | undefined;
565
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
576
566
  sender: SendingAddress;
577
- lease?: string | Uint8Array | undefined;
578
567
  rekeyTo?: ReadableAddress | undefined;
579
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
580
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
568
+ note?: string | Uint8Array | undefined;
569
+ lease?: string | Uint8Array | undefined;
581
570
  staticFee?: AlgoAmount | undefined;
582
571
  extraFee?: AlgoAmount | undefined;
572
+ maxFee?: AlgoAmount | undefined;
583
573
  validityWindow?: number | bigint | undefined;
584
574
  firstValidRound?: bigint | undefined;
585
575
  lastValidRound?: bigint | undefined;
576
+ approvalProgram: string | Uint8Array;
577
+ clearStateProgram: string | Uint8Array;
578
+ extraProgramPages?: number | undefined;
579
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
586
580
  accountReferences?: ReadableAddress[] | undefined;
587
581
  appReferences?: bigint[] | undefined;
588
582
  assetReferences?: bigint[] | undefined;
589
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
583
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
590
584
  accessReferences?: AccessReference[] | undefined;
591
585
  rejectVersion?: number | undefined;
586
+ schema?: {
587
+ globalInts: number;
588
+ globalByteSlices: number;
589
+ localInts: number;
590
+ localByteSlices: number;
591
+ } | undefined;
592
592
  method: ABIMethod;
593
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
594
- args?: Uint8Array[] | undefined;
595
- note?: string | Uint8Array | undefined;
596
- maxFee?: AlgoAmount | undefined;
593
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
594
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
597
595
  sender: SendingAddress;
598
- lease?: string | Uint8Array | undefined;
599
596
  rekeyTo?: ReadableAddress | undefined;
600
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
601
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
597
+ note?: string | Uint8Array | undefined;
598
+ lease?: string | Uint8Array | undefined;
602
599
  staticFee?: AlgoAmount | undefined;
603
600
  extraFee?: AlgoAmount | undefined;
601
+ maxFee?: AlgoAmount | undefined;
604
602
  validityWindow?: number | bigint | undefined;
605
603
  firstValidRound?: bigint | undefined;
606
604
  lastValidRound?: bigint | undefined;
605
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
606
+ args?: Uint8Array[] | undefined;
607
607
  accountReferences?: ReadableAddress[] | undefined;
608
608
  appReferences?: bigint[] | undefined;
609
609
  assetReferences?: bigint[] | undefined;
610
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
610
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
611
611
  accessReferences?: AccessReference[] | undefined;
612
612
  rejectVersion?: number | undefined;
613
613
  approvalProgram: string | Uint8Array;
@@ -637,7 +637,7 @@ declare class AlgorandClientTransactionCreator {
637
637
  accountReferences?: ReadableAddress[] | undefined;
638
638
  appReferences?: bigint[] | undefined;
639
639
  assetReferences?: bigint[] | undefined;
640
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
640
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
641
641
  accessReferences?: AccessReference[] | undefined;
642
642
  rejectVersion?: number | undefined;
643
643
  approvalProgram: string | Uint8Array;
@@ -693,46 +693,46 @@ declare class AlgorandClientTransactionCreator {
693
693
  * @returns The application ABI method update transaction
694
694
  */
695
695
  appUpdateMethodCall: (params: {
696
- appId: bigint;
697
- note?: string | Uint8Array | undefined;
698
- approvalProgram: string | Uint8Array;
699
- clearStateProgram: string | Uint8Array;
700
- maxFee?: AlgoAmount | undefined;
696
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
701
697
  sender: SendingAddress;
702
- lease?: string | Uint8Array | undefined;
703
698
  rekeyTo?: ReadableAddress | undefined;
704
- onComplete?: OnApplicationComplete.UpdateApplication | undefined;
705
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
699
+ note?: string | Uint8Array | undefined;
700
+ lease?: string | Uint8Array | undefined;
706
701
  staticFee?: AlgoAmount | undefined;
707
702
  extraFee?: AlgoAmount | undefined;
703
+ maxFee?: AlgoAmount | undefined;
708
704
  validityWindow?: number | bigint | undefined;
709
705
  firstValidRound?: bigint | undefined;
710
706
  lastValidRound?: bigint | undefined;
707
+ approvalProgram: string | Uint8Array;
708
+ clearStateProgram: string | Uint8Array;
709
+ appId: bigint;
710
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
711
711
  accountReferences?: ReadableAddress[] | undefined;
712
712
  appReferences?: bigint[] | undefined;
713
713
  assetReferences?: bigint[] | undefined;
714
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
714
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
715
715
  accessReferences?: AccessReference[] | undefined;
716
716
  rejectVersion?: number | undefined;
717
717
  method: ABIMethod;
718
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
719
- args?: Uint8Array[] | undefined;
720
- note?: string | Uint8Array | undefined;
721
- maxFee?: AlgoAmount | undefined;
718
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
719
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
722
720
  sender: SendingAddress;
723
- lease?: string | Uint8Array | undefined;
724
721
  rekeyTo?: ReadableAddress | undefined;
725
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
726
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
722
+ note?: string | Uint8Array | undefined;
723
+ lease?: string | Uint8Array | undefined;
727
724
  staticFee?: AlgoAmount | undefined;
728
725
  extraFee?: AlgoAmount | undefined;
726
+ maxFee?: AlgoAmount | undefined;
729
727
  validityWindow?: number | bigint | undefined;
730
728
  firstValidRound?: bigint | undefined;
731
729
  lastValidRound?: bigint | undefined;
730
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
731
+ args?: Uint8Array[] | undefined;
732
732
  accountReferences?: ReadableAddress[] | undefined;
733
733
  appReferences?: bigint[] | undefined;
734
734
  assetReferences?: bigint[] | undefined;
735
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
735
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
736
736
  accessReferences?: AccessReference[] | undefined;
737
737
  rejectVersion?: number | undefined;
738
738
  approvalProgram: string | Uint8Array;
@@ -762,7 +762,7 @@ declare class AlgorandClientTransactionCreator {
762
762
  accountReferences?: ReadableAddress[] | undefined;
763
763
  appReferences?: bigint[] | undefined;
764
764
  assetReferences?: bigint[] | undefined;
765
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
765
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
766
766
  accessReferences?: AccessReference[] | undefined;
767
767
  rejectVersion?: number | undefined;
768
768
  approvalProgram: string | Uint8Array;
@@ -816,44 +816,44 @@ declare class AlgorandClientTransactionCreator {
816
816
  * @returns The application ABI method delete transaction
817
817
  */
818
818
  appDeleteMethodCall: (params: {
819
- appId: bigint;
820
- note?: string | Uint8Array | undefined;
821
- maxFee?: AlgoAmount | undefined;
819
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
822
820
  sender: SendingAddress;
823
- lease?: string | Uint8Array | undefined;
824
821
  rekeyTo?: ReadableAddress | undefined;
825
- onComplete?: OnApplicationComplete.DeleteApplication | undefined;
826
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
822
+ note?: string | Uint8Array | undefined;
823
+ lease?: string | Uint8Array | undefined;
827
824
  staticFee?: AlgoAmount | undefined;
828
825
  extraFee?: AlgoAmount | undefined;
826
+ maxFee?: AlgoAmount | undefined;
829
827
  validityWindow?: number | bigint | undefined;
830
828
  firstValidRound?: bigint | undefined;
831
829
  lastValidRound?: bigint | undefined;
830
+ appId: bigint;
831
+ onComplete?: OnApplicationComplete.DeleteApplication | undefined;
832
832
  accountReferences?: ReadableAddress[] | undefined;
833
833
  appReferences?: bigint[] | undefined;
834
834
  assetReferences?: bigint[] | undefined;
835
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
835
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
836
836
  accessReferences?: AccessReference[] | undefined;
837
837
  rejectVersion?: number | undefined;
838
838
  method: ABIMethod;
839
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
840
- args?: Uint8Array[] | undefined;
841
- note?: string | Uint8Array | undefined;
842
- maxFee?: AlgoAmount | undefined;
839
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
840
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
843
841
  sender: SendingAddress;
844
- lease?: string | Uint8Array | undefined;
845
842
  rekeyTo?: ReadableAddress | undefined;
846
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
847
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
843
+ note?: string | Uint8Array | undefined;
844
+ lease?: string | Uint8Array | undefined;
848
845
  staticFee?: AlgoAmount | undefined;
849
846
  extraFee?: AlgoAmount | undefined;
847
+ maxFee?: AlgoAmount | undefined;
850
848
  validityWindow?: number | bigint | undefined;
851
849
  firstValidRound?: bigint | undefined;
852
850
  lastValidRound?: bigint | undefined;
851
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
852
+ args?: Uint8Array[] | undefined;
853
853
  accountReferences?: ReadableAddress[] | undefined;
854
854
  appReferences?: bigint[] | undefined;
855
855
  assetReferences?: bigint[] | undefined;
856
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
856
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
857
857
  accessReferences?: AccessReference[] | undefined;
858
858
  rejectVersion?: number | undefined;
859
859
  approvalProgram: string | Uint8Array;
@@ -883,7 +883,7 @@ declare class AlgorandClientTransactionCreator {
883
883
  accountReferences?: ReadableAddress[] | undefined;
884
884
  appReferences?: bigint[] | undefined;
885
885
  assetReferences?: bigint[] | undefined;
886
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
886
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
887
887
  accessReferences?: AccessReference[] | undefined;
888
888
  rejectVersion?: number | undefined;
889
889
  approvalProgram: string | Uint8Array;
@@ -937,44 +937,44 @@ declare class AlgorandClientTransactionCreator {
937
937
  * @returns The application ABI method call transaction
938
938
  */
939
939
  appCallMethodCall: (params: {
940
- appId: bigint;
941
- note?: string | Uint8Array | undefined;
942
- maxFee?: AlgoAmount | undefined;
940
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
943
941
  sender: SendingAddress;
944
- lease?: string | Uint8Array | undefined;
945
942
  rekeyTo?: ReadableAddress | undefined;
946
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
947
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
943
+ note?: string | Uint8Array | undefined;
944
+ lease?: string | Uint8Array | undefined;
948
945
  staticFee?: AlgoAmount | undefined;
949
946
  extraFee?: AlgoAmount | undefined;
947
+ maxFee?: AlgoAmount | undefined;
950
948
  validityWindow?: number | bigint | undefined;
951
949
  firstValidRound?: bigint | undefined;
952
950
  lastValidRound?: bigint | undefined;
951
+ appId: bigint;
952
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
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
  method: ABIMethod;
960
- args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
961
- args?: Uint8Array[] | undefined;
962
- note?: string | Uint8Array | undefined;
963
- maxFee?: AlgoAmount | undefined;
960
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
961
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
964
962
  sender: SendingAddress;
965
- lease?: string | Uint8Array | undefined;
966
963
  rekeyTo?: ReadableAddress | undefined;
967
- onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
968
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
964
+ note?: string | Uint8Array | undefined;
965
+ lease?: string | Uint8Array | undefined;
969
966
  staticFee?: AlgoAmount | undefined;
970
967
  extraFee?: AlgoAmount | undefined;
968
+ maxFee?: AlgoAmount | undefined;
971
969
  validityWindow?: number | bigint | undefined;
972
970
  firstValidRound?: bigint | undefined;
973
971
  lastValidRound?: bigint | undefined;
972
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
973
+ args?: Uint8Array[] | undefined;
974
974
  accountReferences?: ReadableAddress[] | undefined;
975
975
  appReferences?: bigint[] | undefined;
976
976
  assetReferences?: bigint[] | undefined;
977
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
977
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
978
978
  accessReferences?: AccessReference[] | undefined;
979
979
  rejectVersion?: number | undefined;
980
980
  approvalProgram: string | Uint8Array;
@@ -1004,7 +1004,7 @@ declare class AlgorandClientTransactionCreator {
1004
1004
  accountReferences?: ReadableAddress[] | undefined;
1005
1005
  appReferences?: bigint[] | undefined;
1006
1006
  assetReferences?: bigint[] | undefined;
1007
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1007
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1008
1008
  accessReferences?: AccessReference[] | undefined;
1009
1009
  rejectVersion?: number | undefined;
1010
1010
  approvalProgram: string | Uint8Array;