@algorandfoundation/algokit-utils 10.0.0-alpha.10 → 10.0.0-alpha.12

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/packages/abi/src/abi-type.js +2 -1
  3. package/packages/abi/src/abi-type.js.map +1 -1
  4. package/packages/abi/src/abi-type.mjs +2 -1
  5. package/packages/abi/src/abi-type.mjs.map +1 -1
  6. package/packages/algod_client/src/models/block.d.ts +17 -17
  7. package/packages/algod_client/src/models/block.js +18 -18
  8. package/packages/algod_client/src/models/block.js.map +1 -1
  9. package/packages/algod_client/src/models/block.mjs +18 -18
  10. package/packages/algod_client/src/models/block.mjs.map +1 -1
  11. package/packages/common/src/json.mjs +2 -2
  12. package/packages/common/src/json.mjs.map +1 -1
  13. package/packages/indexer_client/src/models/block.d.ts +5 -5
  14. package/packages/indexer_client/src/models/block.js +5 -5
  15. package/packages/indexer_client/src/models/block.js.map +1 -1
  16. package/packages/indexer_client/src/models/block.mjs +5 -5
  17. package/packages/indexer_client/src/models/block.mjs.map +1 -1
  18. package/packages/indexer_client/src/models/participation-updates.d.ts +2 -2
  19. package/packages/indexer_client/src/models/participation-updates.js +2 -2
  20. package/packages/indexer_client/src/models/participation-updates.js.map +1 -1
  21. package/packages/indexer_client/src/models/participation-updates.mjs +2 -2
  22. package/packages/indexer_client/src/models/participation-updates.mjs.map +1 -1
  23. package/packages/sdk/src/utils/utils.mjs +2 -2
  24. package/packages/sdk/src/utils/utils.mjs.map +1 -1
  25. package/testing/account.js +2 -5
  26. package/testing/account.js.map +1 -1
  27. package/testing/account.mjs +2 -5
  28. package/testing/account.mjs.map +1 -1
  29. package/transactions/method-call.js +66 -74
  30. package/transactions/method-call.js.map +1 -1
  31. package/transactions/method-call.mjs +66 -74
  32. package/transactions/method-call.mjs.map +1 -1
  33. package/types/account-manager.d.ts +1 -1
  34. package/types/account-manager.js +1 -1
  35. package/types/account-manager.js.map +1 -1
  36. package/types/account-manager.mjs +1 -1
  37. package/types/account-manager.mjs.map +1 -1
  38. package/types/algorand-client-transaction-creator.d.ts +42 -42
  39. package/types/algorand-client-transaction-sender.d.ts +44 -44
  40. package/types/app-client.d.ts +108 -108
  41. package/types/app-factory.d.ts +45 -45
@@ -348,7 +348,7 @@ declare class AlgorandClientTransactionCreator {
348
348
  * @returns The application create transaction
349
349
  */
350
350
  appCreate: (params: {
351
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
351
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
352
352
  sender: SendingAddress;
353
353
  rekeyTo?: ReadableAddress | undefined;
354
354
  note?: string | Uint8Array | undefined;
@@ -364,7 +364,7 @@ declare class AlgorandClientTransactionCreator {
364
364
  accountReferences?: ReadableAddress[] | undefined;
365
365
  appReferences?: bigint[] | undefined;
366
366
  assetReferences?: bigint[] | undefined;
367
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
367
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
368
368
  accessReferences?: ResourceReference[] | undefined;
369
369
  rejectVersion?: number | undefined;
370
370
  appId?: 0 | undefined;
@@ -417,7 +417,7 @@ declare class AlgorandClientTransactionCreator {
417
417
  */
418
418
  appUpdate: (params: {
419
419
  sender: SendingAddress;
420
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
420
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
421
421
  rekeyTo?: ReadableAddress | undefined;
422
422
  note?: string | Uint8Array | undefined;
423
423
  lease?: string | Uint8Array | undefined;
@@ -433,7 +433,7 @@ declare class AlgorandClientTransactionCreator {
433
433
  accountReferences?: ReadableAddress[] | undefined;
434
434
  appReferences?: bigint[] | undefined;
435
435
  assetReferences?: bigint[] | undefined;
436
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
436
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
437
437
  accessReferences?: ResourceReference[] | undefined;
438
438
  rejectVersion?: number | undefined;
439
439
  approvalProgram: string | Uint8Array;
@@ -568,7 +568,7 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
571
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
572
572
  sender: SendingAddress;
573
573
  rekeyTo?: ReadableAddress | undefined;
574
574
  note?: string | Uint8Array | undefined;
@@ -579,26 +579,26 @@ declare class AlgorandClientTransactionCreator {
579
579
  validityWindow?: number | bigint | undefined;
580
580
  firstValidRound?: bigint | undefined;
581
581
  lastValidRound?: bigint | undefined;
582
+ schema?: {
583
+ globalInts: number;
584
+ globalByteSlices: number;
585
+ localInts: number;
586
+ localByteSlices: number;
587
+ } | undefined;
588
+ approvalProgram: string | Uint8Array;
589
+ clearStateProgram: string | Uint8Array;
582
590
  appId?: 0 | undefined;
583
591
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
584
592
  accountReferences?: ReadableAddress[] | undefined;
585
593
  appReferences?: bigint[] | undefined;
586
594
  assetReferences?: bigint[] | undefined;
587
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
595
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
588
596
  accessReferences?: ResourceReference[] | undefined;
589
597
  rejectVersion?: number | undefined;
590
- approvalProgram: string | Uint8Array;
591
- clearStateProgram: string | Uint8Array;
592
- schema?: {
593
- globalInts: number;
594
- globalByteSlices: number;
595
- localInts: number;
596
- localByteSlices: number;
597
- } | undefined;
598
598
  extraProgramPages?: number | undefined;
599
599
  method: ABIMethod;
600
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
601
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
600
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
601
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
602
602
  sender: SendingAddress;
603
603
  rekeyTo?: ReadableAddress | undefined;
604
604
  note?: string | Uint8Array | undefined;
@@ -614,7 +614,7 @@ declare class AlgorandClientTransactionCreator {
614
614
  accountReferences?: ReadableAddress[] | undefined;
615
615
  appReferences?: bigint[] | undefined;
616
616
  assetReferences?: bigint[] | undefined;
617
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
617
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
618
618
  accessReferences?: ResourceReference[] | undefined;
619
619
  rejectVersion?: number | undefined;
620
620
  appId?: 0 | undefined;
@@ -629,7 +629,7 @@ declare class AlgorandClientTransactionCreator {
629
629
  extraProgramPages?: number | undefined;
630
630
  }> | AppMethodCall<{
631
631
  sender: SendingAddress;
632
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
632
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
633
633
  rekeyTo?: ReadableAddress | undefined;
634
634
  note?: string | Uint8Array | undefined;
635
635
  lease?: string | Uint8Array | undefined;
@@ -645,7 +645,7 @@ declare class AlgorandClientTransactionCreator {
645
645
  accountReferences?: ReadableAddress[] | undefined;
646
646
  appReferences?: bigint[] | undefined;
647
647
  assetReferences?: bigint[] | undefined;
648
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
648
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
649
649
  accessReferences?: ResourceReference[] | undefined;
650
650
  rejectVersion?: number | undefined;
651
651
  approvalProgram: string | Uint8Array;
@@ -702,7 +702,7 @@ declare class AlgorandClientTransactionCreator {
702
702
  * @returns The application ABI method update transaction
703
703
  */
704
704
  appUpdateMethodCall: (params: {
705
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
705
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
706
706
  sender: SendingAddress;
707
707
  rekeyTo?: ReadableAddress | undefined;
708
708
  note?: string | Uint8Array | undefined;
@@ -713,19 +713,19 @@ declare class AlgorandClientTransactionCreator {
713
713
  validityWindow?: number | bigint | undefined;
714
714
  firstValidRound?: bigint | undefined;
715
715
  lastValidRound?: bigint | undefined;
716
+ approvalProgram: string | Uint8Array;
717
+ clearStateProgram: string | Uint8Array;
716
718
  appId: bigint;
717
719
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
718
720
  accountReferences?: ReadableAddress[] | undefined;
719
721
  appReferences?: bigint[] | undefined;
720
722
  assetReferences?: bigint[] | undefined;
721
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
723
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
722
724
  accessReferences?: ResourceReference[] | undefined;
723
725
  rejectVersion?: number | undefined;
724
- approvalProgram: string | Uint8Array;
725
- clearStateProgram: string | Uint8Array;
726
726
  method: ABIMethod;
727
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
728
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
727
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
728
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
729
729
  sender: SendingAddress;
730
730
  rekeyTo?: ReadableAddress | undefined;
731
731
  note?: string | Uint8Array | undefined;
@@ -741,7 +741,7 @@ declare class AlgorandClientTransactionCreator {
741
741
  accountReferences?: ReadableAddress[] | undefined;
742
742
  appReferences?: bigint[] | undefined;
743
743
  assetReferences?: bigint[] | undefined;
744
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
744
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
745
745
  accessReferences?: ResourceReference[] | undefined;
746
746
  rejectVersion?: number | undefined;
747
747
  appId?: 0 | undefined;
@@ -756,7 +756,7 @@ declare class AlgorandClientTransactionCreator {
756
756
  extraProgramPages?: number | undefined;
757
757
  }> | AppMethodCall<{
758
758
  sender: SendingAddress;
759
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
759
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
760
760
  rekeyTo?: ReadableAddress | undefined;
761
761
  note?: string | Uint8Array | undefined;
762
762
  lease?: string | Uint8Array | undefined;
@@ -772,7 +772,7 @@ declare class AlgorandClientTransactionCreator {
772
772
  accountReferences?: ReadableAddress[] | undefined;
773
773
  appReferences?: bigint[] | undefined;
774
774
  assetReferences?: bigint[] | undefined;
775
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
775
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
776
776
  accessReferences?: ResourceReference[] | undefined;
777
777
  rejectVersion?: number | undefined;
778
778
  approvalProgram: string | Uint8Array;
@@ -827,7 +827,7 @@ declare class AlgorandClientTransactionCreator {
827
827
  * @returns The application ABI method delete transaction
828
828
  */
829
829
  appDeleteMethodCall: (params: {
830
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
830
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
831
831
  sender: SendingAddress;
832
832
  rekeyTo?: ReadableAddress | undefined;
833
833
  note?: string | Uint8Array | undefined;
@@ -843,12 +843,12 @@ declare class AlgorandClientTransactionCreator {
843
843
  accountReferences?: ReadableAddress[] | undefined;
844
844
  appReferences?: bigint[] | undefined;
845
845
  assetReferences?: bigint[] | undefined;
846
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
846
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
847
847
  accessReferences?: ResourceReference[] | undefined;
848
848
  rejectVersion?: number | undefined;
849
849
  method: ABIMethod;
850
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
851
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
850
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
851
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
852
852
  sender: SendingAddress;
853
853
  rekeyTo?: ReadableAddress | undefined;
854
854
  note?: string | Uint8Array | undefined;
@@ -864,7 +864,7 @@ declare class AlgorandClientTransactionCreator {
864
864
  accountReferences?: ReadableAddress[] | undefined;
865
865
  appReferences?: bigint[] | undefined;
866
866
  assetReferences?: bigint[] | undefined;
867
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
867
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
868
868
  accessReferences?: ResourceReference[] | undefined;
869
869
  rejectVersion?: number | undefined;
870
870
  appId?: 0 | undefined;
@@ -879,7 +879,7 @@ declare class AlgorandClientTransactionCreator {
879
879
  extraProgramPages?: number | undefined;
880
880
  }> | AppMethodCall<{
881
881
  sender: SendingAddress;
882
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
882
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
883
883
  rekeyTo?: ReadableAddress | undefined;
884
884
  note?: string | Uint8Array | undefined;
885
885
  lease?: string | Uint8Array | undefined;
@@ -895,7 +895,7 @@ declare class AlgorandClientTransactionCreator {
895
895
  accountReferences?: ReadableAddress[] | undefined;
896
896
  appReferences?: bigint[] | undefined;
897
897
  assetReferences?: bigint[] | undefined;
898
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
898
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
899
899
  accessReferences?: ResourceReference[] | undefined;
900
900
  rejectVersion?: number | undefined;
901
901
  approvalProgram: string | Uint8Array;
@@ -950,7 +950,7 @@ declare class AlgorandClientTransactionCreator {
950
950
  * @returns The application ABI method call transaction
951
951
  */
952
952
  appCallMethodCall: (params: {
953
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
953
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
954
954
  sender: SendingAddress;
955
955
  rekeyTo?: ReadableAddress | undefined;
956
956
  note?: string | Uint8Array | undefined;
@@ -966,12 +966,12 @@ declare class AlgorandClientTransactionCreator {
966
966
  accountReferences?: ReadableAddress[] | undefined;
967
967
  appReferences?: bigint[] | undefined;
968
968
  assetReferences?: bigint[] | undefined;
969
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
969
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
970
970
  accessReferences?: ResourceReference[] | undefined;
971
971
  rejectVersion?: number | undefined;
972
972
  method: ABIMethod;
973
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
974
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
973
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
974
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
975
975
  sender: SendingAddress;
976
976
  rekeyTo?: ReadableAddress | undefined;
977
977
  note?: string | Uint8Array | undefined;
@@ -987,7 +987,7 @@ declare class AlgorandClientTransactionCreator {
987
987
  accountReferences?: ReadableAddress[] | undefined;
988
988
  appReferences?: bigint[] | undefined;
989
989
  assetReferences?: bigint[] | undefined;
990
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
990
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
991
991
  accessReferences?: ResourceReference[] | undefined;
992
992
  rejectVersion?: number | undefined;
993
993
  appId?: 0 | undefined;
@@ -1002,7 +1002,7 @@ declare class AlgorandClientTransactionCreator {
1002
1002
  extraProgramPages?: number | undefined;
1003
1003
  }> | AppMethodCall<{
1004
1004
  sender: SendingAddress;
1005
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1005
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1006
1006
  rekeyTo?: ReadableAddress | undefined;
1007
1007
  note?: string | Uint8Array | undefined;
1008
1008
  lease?: string | Uint8Array | undefined;
@@ -1018,7 +1018,7 @@ declare class AlgorandClientTransactionCreator {
1018
1018
  accountReferences?: ReadableAddress[] | undefined;
1019
1019
  appReferences?: bigint[] | undefined;
1020
1020
  assetReferences?: bigint[] | undefined;
1021
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1021
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1022
1022
  accessReferences?: ResourceReference[] | undefined;
1023
1023
  rejectVersion?: number | undefined;
1024
1024
  approvalProgram: string | Uint8Array;
@@ -479,7 +479,7 @@ declare class AlgorandClientTransactionSender {
479
479
  * @returns The result of the app create transaction and the transaction that was sent
480
480
  */
481
481
  appCreate: (params: {
482
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
482
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
483
483
  sender: SendingAddress;
484
484
  rekeyTo?: ReadableAddress | undefined;
485
485
  note?: string | Uint8Array | undefined;
@@ -495,7 +495,7 @@ declare class AlgorandClientTransactionSender {
495
495
  accountReferences?: ReadableAddress[] | undefined;
496
496
  appReferences?: bigint[] | undefined;
497
497
  assetReferences?: bigint[] | undefined;
498
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
498
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
499
499
  accessReferences?: ResourceReference[] | undefined;
500
500
  rejectVersion?: number | undefined;
501
501
  appId?: 0 | undefined;
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
555
555
  */
556
556
  appUpdate: (params: {
557
557
  sender: SendingAddress;
558
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
558
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
559
559
  rekeyTo?: ReadableAddress | undefined;
560
560
  note?: string | Uint8Array | undefined;
561
561
  lease?: string | Uint8Array | undefined;
@@ -571,7 +571,7 @@ declare class AlgorandClientTransactionSender {
571
571
  accountReferences?: ReadableAddress[] | undefined;
572
572
  appReferences?: bigint[] | undefined;
573
573
  assetReferences?: bigint[] | undefined;
574
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
574
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
575
575
  accessReferences?: ResourceReference[] | undefined;
576
576
  rejectVersion?: number | undefined;
577
577
  approvalProgram: string | Uint8Array;
@@ -626,7 +626,7 @@ declare class AlgorandClientTransactionSender {
626
626
  accountReferences?: ReadableAddress[] | undefined;
627
627
  appReferences?: bigint[] | undefined;
628
628
  assetReferences?: bigint[] | undefined;
629
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
629
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
630
630
  accessReferences?: ResourceReference[] | undefined;
631
631
  rejectVersion?: number | undefined;
632
632
  } & {
@@ -681,7 +681,7 @@ declare class AlgorandClientTransactionSender {
681
681
  accountReferences?: ReadableAddress[] | undefined;
682
682
  appReferences?: bigint[] | undefined;
683
683
  assetReferences?: bigint[] | undefined;
684
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
684
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
685
685
  accessReferences?: ResourceReference[] | undefined;
686
686
  rejectVersion?: number | undefined;
687
687
  } & {
@@ -752,7 +752,7 @@ 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
755
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
756
756
  sender: SendingAddress;
757
757
  rekeyTo?: ReadableAddress | undefined;
758
758
  note?: string | Uint8Array | undefined;
@@ -763,26 +763,26 @@ declare class AlgorandClientTransactionSender {
763
763
  validityWindow?: number | bigint | undefined;
764
764
  firstValidRound?: bigint | undefined;
765
765
  lastValidRound?: bigint | undefined;
766
+ schema?: {
767
+ globalInts: number;
768
+ globalByteSlices: number;
769
+ localInts: number;
770
+ localByteSlices: number;
771
+ } | undefined;
772
+ approvalProgram: string | Uint8Array;
773
+ clearStateProgram: string | Uint8Array;
766
774
  appId?: 0 | undefined;
767
775
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
768
776
  accountReferences?: ReadableAddress[] | undefined;
769
777
  appReferences?: bigint[] | undefined;
770
778
  assetReferences?: bigint[] | undefined;
771
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
779
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
772
780
  accessReferences?: ResourceReference[] | undefined;
773
781
  rejectVersion?: number | undefined;
774
- approvalProgram: string | Uint8Array;
775
- clearStateProgram: string | Uint8Array;
776
- schema?: {
777
- globalInts: number;
778
- globalByteSlices: number;
779
- localInts: number;
780
- localByteSlices: number;
781
- } | undefined;
782
782
  extraProgramPages?: number | undefined;
783
783
  method: ABIMethod;
784
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
785
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
784
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
785
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
786
786
  sender: SendingAddress;
787
787
  rekeyTo?: ReadableAddress | undefined;
788
788
  note?: string | Uint8Array | undefined;
@@ -798,7 +798,7 @@ declare class AlgorandClientTransactionSender {
798
798
  accountReferences?: ReadableAddress[] | undefined;
799
799
  appReferences?: bigint[] | undefined;
800
800
  assetReferences?: bigint[] | undefined;
801
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
801
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
802
802
  accessReferences?: ResourceReference[] | undefined;
803
803
  rejectVersion?: number | undefined;
804
804
  appId?: 0 | undefined;
@@ -813,7 +813,7 @@ declare class AlgorandClientTransactionSender {
813
813
  extraProgramPages?: number | undefined;
814
814
  }> | AppMethodCall<{
815
815
  sender: SendingAddress;
816
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
816
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
817
817
  rekeyTo?: ReadableAddress | undefined;
818
818
  note?: string | Uint8Array | undefined;
819
819
  lease?: string | Uint8Array | undefined;
@@ -829,7 +829,7 @@ declare class AlgorandClientTransactionSender {
829
829
  accountReferences?: ReadableAddress[] | undefined;
830
830
  appReferences?: bigint[] | undefined;
831
831
  assetReferences?: bigint[] | undefined;
832
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
832
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
833
833
  accessReferences?: ResourceReference[] | undefined;
834
834
  rejectVersion?: number | undefined;
835
835
  approvalProgram: string | Uint8Array;
@@ -893,7 +893,7 @@ 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
896
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
897
897
  sender: SendingAddress;
898
898
  rekeyTo?: ReadableAddress | undefined;
899
899
  note?: string | Uint8Array | undefined;
@@ -904,19 +904,19 @@ declare class AlgorandClientTransactionSender {
904
904
  validityWindow?: number | bigint | undefined;
905
905
  firstValidRound?: bigint | undefined;
906
906
  lastValidRound?: bigint | undefined;
907
+ approvalProgram: string | Uint8Array;
908
+ clearStateProgram: string | Uint8Array;
907
909
  appId: bigint;
908
910
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
909
911
  accountReferences?: ReadableAddress[] | undefined;
910
912
  appReferences?: bigint[] | undefined;
911
913
  assetReferences?: bigint[] | undefined;
912
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
914
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
913
915
  accessReferences?: ResourceReference[] | undefined;
914
916
  rejectVersion?: number | undefined;
915
- approvalProgram: string | Uint8Array;
916
- clearStateProgram: string | Uint8Array;
917
917
  method: ABIMethod;
918
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
919
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
918
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
919
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
920
920
  sender: SendingAddress;
921
921
  rekeyTo?: ReadableAddress | undefined;
922
922
  note?: string | Uint8Array | undefined;
@@ -932,7 +932,7 @@ declare class AlgorandClientTransactionSender {
932
932
  accountReferences?: ReadableAddress[] | undefined;
933
933
  appReferences?: bigint[] | undefined;
934
934
  assetReferences?: bigint[] | undefined;
935
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
935
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
936
936
  accessReferences?: ResourceReference[] | undefined;
937
937
  rejectVersion?: number | undefined;
938
938
  appId?: 0 | undefined;
@@ -947,7 +947,7 @@ declare class AlgorandClientTransactionSender {
947
947
  extraProgramPages?: number | undefined;
948
948
  }> | AppMethodCall<{
949
949
  sender: SendingAddress;
950
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
950
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
951
951
  rekeyTo?: ReadableAddress | undefined;
952
952
  note?: string | Uint8Array | undefined;
953
953
  lease?: string | Uint8Array | undefined;
@@ -963,7 +963,7 @@ declare class AlgorandClientTransactionSender {
963
963
  accountReferences?: ReadableAddress[] | undefined;
964
964
  appReferences?: bigint[] | undefined;
965
965
  assetReferences?: bigint[] | undefined;
966
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
966
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
967
967
  accessReferences?: ResourceReference[] | undefined;
968
968
  rejectVersion?: number | undefined;
969
969
  approvalProgram: string | Uint8Array;
@@ -1025,7 +1025,7 @@ 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1028
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1029
1029
  sender: SendingAddress;
1030
1030
  rekeyTo?: ReadableAddress | undefined;
1031
1031
  note?: string | Uint8Array | undefined;
@@ -1041,12 +1041,12 @@ declare class AlgorandClientTransactionSender {
1041
1041
  accountReferences?: ReadableAddress[] | undefined;
1042
1042
  appReferences?: bigint[] | undefined;
1043
1043
  assetReferences?: bigint[] | undefined;
1044
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1044
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1045
1045
  accessReferences?: ResourceReference[] | undefined;
1046
1046
  rejectVersion?: number | undefined;
1047
1047
  method: ABIMethod;
1048
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
1049
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1048
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1049
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1050
1050
  sender: SendingAddress;
1051
1051
  rekeyTo?: ReadableAddress | undefined;
1052
1052
  note?: string | Uint8Array | undefined;
@@ -1062,7 +1062,7 @@ declare class AlgorandClientTransactionSender {
1062
1062
  accountReferences?: ReadableAddress[] | undefined;
1063
1063
  appReferences?: bigint[] | undefined;
1064
1064
  assetReferences?: bigint[] | undefined;
1065
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1065
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1066
1066
  accessReferences?: ResourceReference[] | undefined;
1067
1067
  rejectVersion?: number | undefined;
1068
1068
  appId?: 0 | undefined;
@@ -1077,7 +1077,7 @@ declare class AlgorandClientTransactionSender {
1077
1077
  extraProgramPages?: number | undefined;
1078
1078
  }> | AppMethodCall<{
1079
1079
  sender: SendingAddress;
1080
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1080
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1081
1081
  rekeyTo?: ReadableAddress | undefined;
1082
1082
  note?: string | Uint8Array | undefined;
1083
1083
  lease?: string | Uint8Array | undefined;
@@ -1093,7 +1093,7 @@ declare class AlgorandClientTransactionSender {
1093
1093
  accountReferences?: ReadableAddress[] | undefined;
1094
1094
  appReferences?: bigint[] | undefined;
1095
1095
  assetReferences?: bigint[] | undefined;
1096
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1096
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1097
1097
  accessReferences?: ResourceReference[] | undefined;
1098
1098
  rejectVersion?: number | undefined;
1099
1099
  approvalProgram: string | Uint8Array;
@@ -1155,7 +1155,7 @@ 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
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1158
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1159
1159
  sender: SendingAddress;
1160
1160
  rekeyTo?: ReadableAddress | undefined;
1161
1161
  note?: string | Uint8Array | undefined;
@@ -1171,12 +1171,12 @@ declare class AlgorandClientTransactionSender {
1171
1171
  accountReferences?: ReadableAddress[] | undefined;
1172
1172
  appReferences?: bigint[] | undefined;
1173
1173
  assetReferences?: bigint[] | undefined;
1174
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1174
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1175
1175
  accessReferences?: ResourceReference[] | undefined;
1176
1176
  rejectVersion?: number | undefined;
1177
1177
  method: ABIMethod;
1178
- args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
1179
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1178
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1179
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1180
1180
  sender: SendingAddress;
1181
1181
  rekeyTo?: ReadableAddress | undefined;
1182
1182
  note?: string | Uint8Array | undefined;
@@ -1192,7 +1192,7 @@ declare class AlgorandClientTransactionSender {
1192
1192
  accountReferences?: ReadableAddress[] | undefined;
1193
1193
  appReferences?: bigint[] | undefined;
1194
1194
  assetReferences?: bigint[] | undefined;
1195
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1195
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1196
1196
  accessReferences?: ResourceReference[] | undefined;
1197
1197
  rejectVersion?: number | undefined;
1198
1198
  appId?: 0 | undefined;
@@ -1207,7 +1207,7 @@ declare class AlgorandClientTransactionSender {
1207
1207
  extraProgramPages?: number | undefined;
1208
1208
  }> | AppMethodCall<{
1209
1209
  sender: SendingAddress;
1210
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1210
+ signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
1211
1211
  rekeyTo?: ReadableAddress | undefined;
1212
1212
  note?: string | Uint8Array | undefined;
1213
1213
  lease?: string | Uint8Array | undefined;
@@ -1223,7 +1223,7 @@ declare class AlgorandClientTransactionSender {
1223
1223
  accountReferences?: ReadableAddress[] | undefined;
1224
1224
  appReferences?: bigint[] | undefined;
1225
1225
  assetReferences?: bigint[] | undefined;
1226
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1226
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1227
1227
  accessReferences?: ResourceReference[] | undefined;
1228
1228
  rejectVersion?: number | undefined;
1229
1229
  approvalProgram: string | Uint8Array;