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

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 (45) hide show
  1. package/package.json +1 -1
  2. package/packages/abi/src/abi-method.d.ts +1 -1
  3. package/packages/abi/src/abi-method.js.map +1 -1
  4. package/packages/abi/src/abi-method.mjs.map +1 -1
  5. package/packages/algod_client/src/models/application-state-schema.d.ts +2 -2
  6. package/packages/algod_client/src/models/application-state-schema.js +2 -2
  7. package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
  8. package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
  9. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -1
  10. package/packages/common/src/json.mjs +2 -2
  11. package/packages/common/src/json.mjs.map +1 -1
  12. package/packages/indexer_client/src/models/application-state-schema.d.ts +2 -2
  13. package/packages/indexer_client/src/models/application-state-schema.js +2 -2
  14. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
  15. package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
  16. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
  17. package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
  18. package/packages/indexer_client/src/models/state-schema.js +2 -2
  19. package/packages/indexer_client/src/models/state-schema.js.map +1 -1
  20. package/packages/indexer_client/src/models/state-schema.mjs +2 -2
  21. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
  22. package/packages/indexer_client/src/models/transaction.d.ts +2 -2
  23. package/packages/indexer_client/src/models/transaction.js +2 -2
  24. package/packages/indexer_client/src/models/transaction.js.map +1 -1
  25. package/packages/indexer_client/src/models/transaction.mjs +2 -2
  26. package/packages/indexer_client/src/models/transaction.mjs.map +1 -1
  27. package/packages/sdk/src/utils/utils.mjs +2 -2
  28. package/packages/sdk/src/utils/utils.mjs.map +1 -1
  29. package/transactions/method-call.js +12 -12
  30. package/transactions/method-call.js.map +1 -1
  31. package/transactions/method-call.mjs +12 -12
  32. package/transactions/method-call.mjs.map +1 -1
  33. package/types/algorand-client-transaction-creator.d.ts +44 -44
  34. package/types/algorand-client-transaction-sender.d.ts +46 -46
  35. package/types/app-client.d.ts +99 -99
  36. package/types/app-factory.d.ts +36 -36
  37. package/types/app-manager.d.ts +1 -1
  38. package/types/app-manager.js +10 -5
  39. package/types/app-manager.js.map +1 -1
  40. package/types/app-manager.mjs +10 -5
  41. package/types/app-manager.mjs.map +1 -1
  42. package/types/composer.js +3 -6
  43. package/types/composer.js.map +1 -1
  44. package/types/composer.mjs +3 -6
  45. package/types/composer.mjs.map +1 -1
@@ -387,7 +387,6 @@ declare class AppClient {
387
387
  */
388
388
  fundAppAccount: (params: {
389
389
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
390
- amount: AlgoAmount;
391
390
  rekeyTo?: ReadableAddress | undefined;
392
391
  note?: string | Uint8Array | undefined;
393
392
  lease?: string | Uint8Array | undefined;
@@ -397,6 +396,7 @@ declare class AppClient {
397
396
  validityWindow?: number | bigint | undefined;
398
397
  firstValidRound?: bigint | undefined;
399
398
  lastValidRound?: bigint | undefined;
399
+ amount: AlgoAmount;
400
400
  closeRemainderTo?: ReadableAddress | undefined;
401
401
  maxRoundsToWaitForConfirmation?: number | undefined;
402
402
  suppressLog?: boolean | undefined;
@@ -407,7 +407,6 @@ declare class AppClient {
407
407
  sender: Address;
408
408
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
409
409
  receiver: Address;
410
- amount: AlgoAmount;
411
410
  rekeyTo?: ReadableAddress | undefined;
412
411
  note?: string | Uint8Array | undefined;
413
412
  lease?: string | Uint8Array | undefined;
@@ -417,6 +416,7 @@ declare class AppClient {
417
416
  validityWindow?: number | bigint | undefined;
418
417
  firstValidRound?: bigint | undefined;
419
418
  lastValidRound?: bigint | undefined;
419
+ amount: AlgoAmount;
420
420
  closeRemainderTo?: ReadableAddress | undefined;
421
421
  maxRoundsToWaitForConfirmation?: number | undefined;
422
422
  suppressLog?: boolean | undefined;
@@ -443,7 +443,7 @@ declare class AppClient {
443
443
  accountReferences?: ReadableAddress[] | undefined;
444
444
  appReferences?: bigint[] | undefined;
445
445
  assetReferences?: bigint[] | undefined;
446
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
446
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
447
447
  accessReferences?: AccessReference[] | undefined;
448
448
  rejectVersion?: number | undefined;
449
449
  sender?: ReadableAddress | undefined;
@@ -470,7 +470,7 @@ declare class AppClient {
470
470
  accountReferences?: ReadableAddress[] | undefined;
471
471
  appReferences?: bigint[] | undefined;
472
472
  assetReferences?: bigint[] | undefined;
473
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
473
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
474
474
  accessReferences?: AccessReference[] | undefined;
475
475
  rejectVersion?: number | undefined;
476
476
  sender?: ReadableAddress | undefined;
@@ -488,9 +488,10 @@ declare class AppClient {
488
488
  signer: AddressWithTransactionSigner | TransactionSigner | undefined;
489
489
  method: ABIMethod;
490
490
  onComplete: OnApplicationComplete.UpdateApplication;
491
- args: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
492
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
491
+ args: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
492
+ args?: Uint8Array[] | undefined;
493
493
  sender: SendingAddress;
494
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
494
495
  rekeyTo?: ReadableAddress | undefined;
495
496
  note?: string | Uint8Array | undefined;
496
497
  lease?: string | Uint8Array | undefined;
@@ -501,11 +502,10 @@ declare class AppClient {
501
502
  firstValidRound?: bigint | undefined;
502
503
  lastValidRound?: bigint | undefined;
503
504
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
504
- args?: Uint8Array[] | undefined;
505
505
  accountReferences?: ReadableAddress[] | undefined;
506
506
  appReferences?: bigint[] | undefined;
507
507
  assetReferences?: bigint[] | undefined;
508
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
508
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
509
509
  accessReferences?: AccessReference[] | undefined;
510
510
  rejectVersion?: number | undefined;
511
511
  approvalProgram: string | Uint8Array;
@@ -535,12 +535,12 @@ declare class AppClient {
535
535
  accountReferences?: ReadableAddress[] | undefined;
536
536
  appReferences?: bigint[] | undefined;
537
537
  assetReferences?: bigint[] | undefined;
538
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
538
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
539
539
  accessReferences?: AccessReference[] | undefined;
540
540
  rejectVersion?: number | undefined;
541
541
  approvalProgram: string | Uint8Array;
542
542
  clearStateProgram: string | Uint8Array;
543
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
543
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
544
544
  }>;
545
545
  /**
546
546
  * Return params for an opt-in ABI call
@@ -562,15 +562,16 @@ declare class AppClient {
562
562
  accountReferences?: ReadableAddress[] | undefined;
563
563
  appReferences?: bigint[] | undefined;
564
564
  assetReferences?: bigint[] | undefined;
565
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
565
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
566
566
  accessReferences?: AccessReference[] | undefined;
567
567
  rejectVersion?: number | undefined;
568
568
  sender?: ReadableAddress | undefined;
569
569
  method: string;
570
570
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
571
571
  }) => Promise<{
572
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
572
+ appId: bigint;
573
573
  sender: SendingAddress;
574
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
574
575
  rekeyTo?: ReadableAddress | undefined;
575
576
  note?: string | Uint8Array | undefined;
576
577
  lease?: string | Uint8Array | undefined;
@@ -580,18 +581,18 @@ declare class AppClient {
580
581
  validityWindow?: number | bigint | undefined;
581
582
  firstValidRound?: bigint | undefined;
582
583
  lastValidRound?: bigint | undefined;
583
- appId: bigint;
584
584
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
585
585
  accountReferences?: ReadableAddress[] | undefined;
586
586
  appReferences?: bigint[] | undefined;
587
587
  assetReferences?: bigint[] | undefined;
588
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
588
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
589
589
  accessReferences?: AccessReference[] | undefined;
590
590
  rejectVersion?: number | undefined;
591
591
  method: ABIMethod;
592
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
593
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
592
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
593
+ args?: Uint8Array[] | undefined;
594
594
  sender: SendingAddress;
595
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
595
596
  rekeyTo?: ReadableAddress | undefined;
596
597
  note?: string | Uint8Array | undefined;
597
598
  lease?: string | Uint8Array | undefined;
@@ -602,11 +603,10 @@ declare class AppClient {
602
603
  firstValidRound?: bigint | undefined;
603
604
  lastValidRound?: bigint | undefined;
604
605
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
605
- args?: Uint8Array[] | undefined;
606
606
  accountReferences?: ReadableAddress[] | undefined;
607
607
  appReferences?: bigint[] | undefined;
608
608
  assetReferences?: bigint[] | undefined;
609
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
609
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
610
610
  accessReferences?: AccessReference[] | undefined;
611
611
  rejectVersion?: number | undefined;
612
612
  approvalProgram: string | Uint8Array;
@@ -636,12 +636,12 @@ declare class AppClient {
636
636
  accountReferences?: ReadableAddress[] | undefined;
637
637
  appReferences?: bigint[] | undefined;
638
638
  assetReferences?: bigint[] | undefined;
639
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
639
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
640
640
  accessReferences?: AccessReference[] | undefined;
641
641
  rejectVersion?: number | undefined;
642
642
  approvalProgram: string | Uint8Array;
643
643
  clearStateProgram: string | Uint8Array;
644
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
644
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
645
645
  }>;
646
646
  /**
647
647
  * Return params for an delete ABI call
@@ -663,15 +663,16 @@ declare class AppClient {
663
663
  accountReferences?: ReadableAddress[] | undefined;
664
664
  appReferences?: bigint[] | undefined;
665
665
  assetReferences?: bigint[] | undefined;
666
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
666
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
667
667
  accessReferences?: AccessReference[] | undefined;
668
668
  rejectVersion?: number | undefined;
669
669
  sender?: ReadableAddress | undefined;
670
670
  method: string;
671
671
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
672
672
  }) => Promise<{
673
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
673
+ appId: bigint;
674
674
  sender: SendingAddress;
675
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
675
676
  rekeyTo?: ReadableAddress | undefined;
676
677
  note?: string | Uint8Array | undefined;
677
678
  lease?: string | Uint8Array | undefined;
@@ -681,18 +682,18 @@ declare class AppClient {
681
682
  validityWindow?: number | bigint | undefined;
682
683
  firstValidRound?: bigint | undefined;
683
684
  lastValidRound?: bigint | undefined;
684
- appId: bigint;
685
685
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
686
686
  accountReferences?: ReadableAddress[] | undefined;
687
687
  appReferences?: bigint[] | undefined;
688
688
  assetReferences?: bigint[] | undefined;
689
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
689
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
690
690
  accessReferences?: AccessReference[] | undefined;
691
691
  rejectVersion?: number | undefined;
692
692
  method: ABIMethod;
693
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
694
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
693
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
694
+ args?: Uint8Array[] | undefined;
695
695
  sender: SendingAddress;
696
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
696
697
  rekeyTo?: ReadableAddress | undefined;
697
698
  note?: string | Uint8Array | undefined;
698
699
  lease?: string | Uint8Array | undefined;
@@ -703,11 +704,10 @@ declare class AppClient {
703
704
  firstValidRound?: bigint | undefined;
704
705
  lastValidRound?: bigint | undefined;
705
706
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
706
- args?: Uint8Array[] | undefined;
707
707
  accountReferences?: ReadableAddress[] | undefined;
708
708
  appReferences?: bigint[] | undefined;
709
709
  assetReferences?: bigint[] | undefined;
710
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
710
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
711
711
  accessReferences?: AccessReference[] | undefined;
712
712
  rejectVersion?: number | undefined;
713
713
  approvalProgram: string | Uint8Array;
@@ -737,12 +737,12 @@ declare class AppClient {
737
737
  accountReferences?: ReadableAddress[] | undefined;
738
738
  appReferences?: bigint[] | undefined;
739
739
  assetReferences?: bigint[] | undefined;
740
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
740
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
741
741
  accessReferences?: AccessReference[] | undefined;
742
742
  rejectVersion?: number | undefined;
743
743
  approvalProgram: string | Uint8Array;
744
744
  clearStateProgram: string | Uint8Array;
745
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
745
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
746
746
  }>;
747
747
  /** Return params for an close out ABI call
748
748
  * @param params The parameters for the close out ABI method call
@@ -763,15 +763,16 @@ declare class AppClient {
763
763
  accountReferences?: ReadableAddress[] | undefined;
764
764
  appReferences?: bigint[] | undefined;
765
765
  assetReferences?: bigint[] | undefined;
766
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
766
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
767
767
  accessReferences?: AccessReference[] | undefined;
768
768
  rejectVersion?: number | undefined;
769
769
  sender?: ReadableAddress | undefined;
770
770
  method: string;
771
771
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
772
772
  }) => Promise<{
773
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
773
+ appId: bigint;
774
774
  sender: SendingAddress;
775
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
775
776
  rekeyTo?: ReadableAddress | undefined;
776
777
  note?: string | Uint8Array | undefined;
777
778
  lease?: string | Uint8Array | undefined;
@@ -781,18 +782,18 @@ declare class AppClient {
781
782
  validityWindow?: number | bigint | undefined;
782
783
  firstValidRound?: bigint | undefined;
783
784
  lastValidRound?: bigint | undefined;
784
- appId: bigint;
785
785
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
786
786
  accountReferences?: ReadableAddress[] | undefined;
787
787
  appReferences?: bigint[] | undefined;
788
788
  assetReferences?: bigint[] | undefined;
789
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
789
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
790
790
  accessReferences?: AccessReference[] | undefined;
791
791
  rejectVersion?: number | undefined;
792
792
  method: ABIMethod;
793
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
794
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
793
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
794
+ args?: Uint8Array[] | undefined;
795
795
  sender: SendingAddress;
796
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
796
797
  rekeyTo?: ReadableAddress | undefined;
797
798
  note?: string | Uint8Array | undefined;
798
799
  lease?: string | Uint8Array | undefined;
@@ -803,11 +804,10 @@ declare class AppClient {
803
804
  firstValidRound?: bigint | undefined;
804
805
  lastValidRound?: bigint | undefined;
805
806
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
806
- args?: Uint8Array[] | undefined;
807
807
  accountReferences?: ReadableAddress[] | undefined;
808
808
  appReferences?: bigint[] | undefined;
809
809
  assetReferences?: bigint[] | undefined;
810
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
810
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
811
811
  accessReferences?: AccessReference[] | undefined;
812
812
  rejectVersion?: number | undefined;
813
813
  approvalProgram: string | Uint8Array;
@@ -837,12 +837,12 @@ declare class AppClient {
837
837
  accountReferences?: ReadableAddress[] | undefined;
838
838
  appReferences?: bigint[] | undefined;
839
839
  assetReferences?: bigint[] | undefined;
840
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
840
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
841
841
  accessReferences?: AccessReference[] | undefined;
842
842
  rejectVersion?: number | undefined;
843
843
  approvalProgram: string | Uint8Array;
844
844
  clearStateProgram: string | Uint8Array;
845
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
845
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
846
846
  }>;
847
847
  /** Return params for an ABI call
848
848
  * @param params The parameters for the ABI method call
@@ -863,15 +863,16 @@ declare class AppClient {
863
863
  accountReferences?: ReadableAddress[] | undefined;
864
864
  appReferences?: bigint[] | undefined;
865
865
  assetReferences?: bigint[] | undefined;
866
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
866
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
867
867
  accessReferences?: AccessReference[] | undefined;
868
868
  rejectVersion?: number | undefined;
869
869
  sender?: ReadableAddress | undefined;
870
870
  method: string;
871
871
  args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
872
872
  } & CallOnComplete) => Promise<{
873
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
873
+ appId: bigint;
874
874
  sender: SendingAddress;
875
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
875
876
  rekeyTo?: ReadableAddress | undefined;
876
877
  note?: string | Uint8Array | undefined;
877
878
  lease?: string | Uint8Array | undefined;
@@ -881,18 +882,18 @@ declare class AppClient {
881
882
  validityWindow?: number | bigint | undefined;
882
883
  firstValidRound?: bigint | undefined;
883
884
  lastValidRound?: bigint | undefined;
884
- appId: bigint;
885
885
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
886
886
  accountReferences?: ReadableAddress[] | undefined;
887
887
  appReferences?: bigint[] | undefined;
888
888
  assetReferences?: bigint[] | undefined;
889
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
889
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
890
890
  accessReferences?: AccessReference[] | undefined;
891
891
  rejectVersion?: number | undefined;
892
892
  method: ABIMethod;
893
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
894
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
893
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
894
+ args?: Uint8Array[] | undefined;
895
895
  sender: SendingAddress;
896
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
896
897
  rekeyTo?: ReadableAddress | undefined;
897
898
  note?: string | Uint8Array | undefined;
898
899
  lease?: string | Uint8Array | undefined;
@@ -903,11 +904,10 @@ declare class AppClient {
903
904
  firstValidRound?: bigint | undefined;
904
905
  lastValidRound?: bigint | undefined;
905
906
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
906
- args?: Uint8Array[] | undefined;
907
907
  accountReferences?: ReadableAddress[] | undefined;
908
908
  appReferences?: bigint[] | undefined;
909
909
  assetReferences?: bigint[] | undefined;
910
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
910
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
911
911
  accessReferences?: AccessReference[] | undefined;
912
912
  rejectVersion?: number | undefined;
913
913
  approvalProgram: string | Uint8Array;
@@ -937,17 +937,18 @@ declare class AppClient {
937
937
  accountReferences?: ReadableAddress[] | undefined;
938
938
  appReferences?: bigint[] | undefined;
939
939
  assetReferences?: bigint[] | undefined;
940
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
940
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
941
941
  accessReferences?: AccessReference[] | undefined;
942
942
  rejectVersion?: number | undefined;
943
943
  approvalProgram: string | Uint8Array;
944
944
  clearStateProgram: string | Uint8Array;
945
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
945
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
946
946
  }>;
947
947
  } & {
948
948
  /** Interact with bare (raw) call parameters */bare: {
949
949
  /** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
950
950
  update: (params?: ({
951
+ args?: Uint8Array[] | undefined;
951
952
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
952
953
  rekeyTo?: ReadableAddress | undefined;
953
954
  note?: string | Uint8Array | undefined;
@@ -958,11 +959,10 @@ declare class AppClient {
958
959
  validityWindow?: number | bigint | undefined;
959
960
  firstValidRound?: bigint | undefined;
960
961
  lastValidRound?: bigint | undefined;
961
- args?: Uint8Array[] | undefined;
962
962
  accountReferences?: ReadableAddress[] | undefined;
963
963
  appReferences?: bigint[] | undefined;
964
964
  assetReferences?: bigint[] | undefined;
965
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
965
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
966
966
  accessReferences?: AccessReference[] | undefined;
967
967
  rejectVersion?: number | undefined;
968
968
  sender?: ReadableAddress | undefined;
@@ -984,7 +984,7 @@ declare class AppClient {
984
984
  accountReferences?: ReadableAddress[] | undefined;
985
985
  appReferences?: bigint[] | undefined;
986
986
  assetReferences?: bigint[] | undefined;
987
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
987
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
988
988
  accessReferences?: AccessReference[] | undefined;
989
989
  rejectVersion?: number | undefined;
990
990
  approvalProgram: string | Uint8Array;
@@ -992,6 +992,7 @@ declare class AppClient {
992
992
  }>;
993
993
  /** Return params for an opt-in call */
994
994
  optIn: (params?: {
995
+ args?: Uint8Array[] | undefined;
995
996
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
996
997
  rekeyTo?: ReadableAddress | undefined;
997
998
  note?: string | Uint8Array | undefined;
@@ -1002,17 +1003,17 @@ declare class AppClient {
1002
1003
  validityWindow?: number | bigint | undefined;
1003
1004
  firstValidRound?: bigint | undefined;
1004
1005
  lastValidRound?: bigint | undefined;
1005
- args?: Uint8Array[] | undefined;
1006
1006
  accountReferences?: ReadableAddress[] | undefined;
1007
1007
  appReferences?: bigint[] | undefined;
1008
1008
  assetReferences?: bigint[] | undefined;
1009
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1009
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1010
1010
  accessReferences?: AccessReference[] | undefined;
1011
1011
  rejectVersion?: number | undefined;
1012
1012
  sender?: ReadableAddress | undefined;
1013
1013
  } | undefined) => AppCallParams;
1014
1014
  /** Return params for a delete call */
1015
1015
  delete: (params?: {
1016
+ args?: Uint8Array[] | undefined;
1016
1017
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1017
1018
  rekeyTo?: ReadableAddress | undefined;
1018
1019
  note?: string | Uint8Array | undefined;
@@ -1023,17 +1024,17 @@ declare class AppClient {
1023
1024
  validityWindow?: number | bigint | undefined;
1024
1025
  firstValidRound?: bigint | undefined;
1025
1026
  lastValidRound?: bigint | undefined;
1026
- args?: Uint8Array[] | undefined;
1027
1027
  accountReferences?: ReadableAddress[] | undefined;
1028
1028
  appReferences?: bigint[] | undefined;
1029
1029
  assetReferences?: bigint[] | undefined;
1030
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1030
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1031
1031
  accessReferences?: AccessReference[] | undefined;
1032
1032
  rejectVersion?: number | undefined;
1033
1033
  sender?: ReadableAddress | undefined;
1034
1034
  } | undefined) => AppDeleteParams;
1035
1035
  /** Return params for a clear state call */
1036
1036
  clearState: (params?: {
1037
+ args?: Uint8Array[] | undefined;
1037
1038
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1038
1039
  rekeyTo?: ReadableAddress | undefined;
1039
1040
  note?: string | Uint8Array | undefined;
@@ -1044,17 +1045,17 @@ declare class AppClient {
1044
1045
  validityWindow?: number | bigint | undefined;
1045
1046
  firstValidRound?: bigint | undefined;
1046
1047
  lastValidRound?: bigint | undefined;
1047
- args?: Uint8Array[] | undefined;
1048
1048
  accountReferences?: ReadableAddress[] | undefined;
1049
1049
  appReferences?: bigint[] | undefined;
1050
1050
  assetReferences?: bigint[] | undefined;
1051
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1051
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1052
1052
  accessReferences?: AccessReference[] | undefined;
1053
1053
  rejectVersion?: number | undefined;
1054
1054
  sender?: ReadableAddress | undefined;
1055
1055
  } | undefined) => AppCallParams;
1056
1056
  /** Return params for a close out call */
1057
1057
  closeOut: (params?: {
1058
+ args?: Uint8Array[] | undefined;
1058
1059
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1059
1060
  rekeyTo?: ReadableAddress | undefined;
1060
1061
  note?: string | Uint8Array | undefined;
@@ -1065,17 +1066,17 @@ declare class AppClient {
1065
1066
  validityWindow?: number | bigint | undefined;
1066
1067
  firstValidRound?: bigint | undefined;
1067
1068
  lastValidRound?: bigint | undefined;
1068
- args?: Uint8Array[] | undefined;
1069
1069
  accountReferences?: ReadableAddress[] | undefined;
1070
1070
  appReferences?: bigint[] | undefined;
1071
1071
  assetReferences?: bigint[] | undefined;
1072
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1072
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1073
1073
  accessReferences?: AccessReference[] | undefined;
1074
1074
  rejectVersion?: number | undefined;
1075
1075
  sender?: ReadableAddress | undefined;
1076
1076
  } | undefined) => AppCallParams;
1077
1077
  /** Return params for a call (defaults to no-op) */
1078
1078
  call: (params?: ({
1079
+ args?: Uint8Array[] | undefined;
1079
1080
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1080
1081
  rekeyTo?: ReadableAddress | undefined;
1081
1082
  note?: string | Uint8Array | undefined;
@@ -1086,11 +1087,10 @@ declare class AppClient {
1086
1087
  validityWindow?: number | bigint | undefined;
1087
1088
  firstValidRound?: bigint | undefined;
1088
1089
  lastValidRound?: bigint | undefined;
1089
- args?: Uint8Array[] | undefined;
1090
1090
  accountReferences?: ReadableAddress[] | undefined;
1091
1091
  appReferences?: bigint[] | undefined;
1092
1092
  assetReferences?: bigint[] | undefined;
1093
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1093
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1094
1094
  accessReferences?: AccessReference[] | undefined;
1095
1095
  rejectVersion?: number | undefined;
1096
1096
  sender?: ReadableAddress | undefined;
@@ -1105,7 +1105,6 @@ declare class AppClient {
1105
1105
  */
1106
1106
  fundAppAccount: (params: {
1107
1107
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1108
- amount: AlgoAmount;
1109
1108
  rekeyTo?: ReadableAddress | undefined;
1110
1109
  note?: string | Uint8Array | undefined;
1111
1110
  lease?: string | Uint8Array | undefined;
@@ -1115,6 +1114,7 @@ declare class AppClient {
1115
1114
  validityWindow?: number | bigint | undefined;
1116
1115
  firstValidRound?: bigint | undefined;
1117
1116
  lastValidRound?: bigint | undefined;
1117
+ amount: AlgoAmount;
1118
1118
  closeRemainderTo?: ReadableAddress | undefined;
1119
1119
  maxRoundsToWaitForConfirmation?: number | undefined;
1120
1120
  suppressLog?: boolean | undefined;
@@ -1142,7 +1142,7 @@ declare class AppClient {
1142
1142
  accountReferences?: ReadableAddress[] | undefined;
1143
1143
  appReferences?: bigint[] | undefined;
1144
1144
  assetReferences?: bigint[] | undefined;
1145
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1145
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1146
1146
  accessReferences?: AccessReference[] | undefined;
1147
1147
  rejectVersion?: number | undefined;
1148
1148
  sender?: ReadableAddress | undefined;
@@ -1173,7 +1173,7 @@ declare class AppClient {
1173
1173
  accountReferences?: ReadableAddress[] | undefined;
1174
1174
  appReferences?: bigint[] | undefined;
1175
1175
  assetReferences?: bigint[] | undefined;
1176
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1176
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1177
1177
  accessReferences?: AccessReference[] | undefined;
1178
1178
  rejectVersion?: number | undefined;
1179
1179
  sender?: ReadableAddress | undefined;
@@ -1204,7 +1204,7 @@ declare class AppClient {
1204
1204
  accountReferences?: ReadableAddress[] | undefined;
1205
1205
  appReferences?: bigint[] | undefined;
1206
1206
  assetReferences?: bigint[] | undefined;
1207
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1207
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1208
1208
  accessReferences?: AccessReference[] | undefined;
1209
1209
  rejectVersion?: number | undefined;
1210
1210
  sender?: ReadableAddress | undefined;
@@ -1235,7 +1235,7 @@ declare class AppClient {
1235
1235
  accountReferences?: ReadableAddress[] | undefined;
1236
1236
  appReferences?: bigint[] | undefined;
1237
1237
  assetReferences?: bigint[] | undefined;
1238
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1238
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1239
1239
  accessReferences?: AccessReference[] | undefined;
1240
1240
  rejectVersion?: number | undefined;
1241
1241
  sender?: ReadableAddress | undefined;
@@ -1266,7 +1266,7 @@ declare class AppClient {
1266
1266
  accountReferences?: ReadableAddress[] | undefined;
1267
1267
  appReferences?: bigint[] | undefined;
1268
1268
  assetReferences?: bigint[] | undefined;
1269
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1269
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1270
1270
  accessReferences?: AccessReference[] | undefined;
1271
1271
  rejectVersion?: number | undefined;
1272
1272
  sender?: ReadableAddress | undefined;
@@ -1281,6 +1281,7 @@ declare class AppClient {
1281
1281
  /** Interact with bare (raw) call transactions */bare: {
1282
1282
  /** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
1283
1283
  update: (params?: ({
1284
+ args?: Uint8Array[] | undefined;
1284
1285
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1285
1286
  rekeyTo?: ReadableAddress | undefined;
1286
1287
  note?: string | Uint8Array | undefined;
@@ -1291,17 +1292,17 @@ declare class AppClient {
1291
1292
  validityWindow?: number | bigint | undefined;
1292
1293
  firstValidRound?: bigint | undefined;
1293
1294
  lastValidRound?: bigint | undefined;
1294
- args?: Uint8Array[] | undefined;
1295
1295
  accountReferences?: ReadableAddress[] | undefined;
1296
1296
  appReferences?: bigint[] | undefined;
1297
1297
  assetReferences?: bigint[] | undefined;
1298
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1298
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1299
1299
  accessReferences?: AccessReference[] | undefined;
1300
1300
  rejectVersion?: number | undefined;
1301
1301
  sender?: ReadableAddress | undefined;
1302
1302
  } & AppClientCompilationParams) | undefined) => Promise<Transaction>;
1303
1303
  /** Returns a transaction for an opt-in call */
1304
1304
  optIn: (params?: {
1305
+ args?: Uint8Array[] | undefined;
1305
1306
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1306
1307
  rekeyTo?: ReadableAddress | undefined;
1307
1308
  note?: string | Uint8Array | undefined;
@@ -1312,17 +1313,17 @@ declare class AppClient {
1312
1313
  validityWindow?: number | bigint | undefined;
1313
1314
  firstValidRound?: bigint | undefined;
1314
1315
  lastValidRound?: bigint | undefined;
1315
- args?: Uint8Array[] | undefined;
1316
1316
  accountReferences?: ReadableAddress[] | undefined;
1317
1317
  appReferences?: bigint[] | undefined;
1318
1318
  assetReferences?: bigint[] | undefined;
1319
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1319
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1320
1320
  accessReferences?: AccessReference[] | undefined;
1321
1321
  rejectVersion?: number | undefined;
1322
1322
  sender?: ReadableAddress | undefined;
1323
1323
  } | undefined) => Promise<Transaction>;
1324
1324
  /** Returns a transaction for a delete call */
1325
1325
  delete: (params?: {
1326
+ args?: Uint8Array[] | undefined;
1326
1327
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1327
1328
  rekeyTo?: ReadableAddress | undefined;
1328
1329
  note?: string | Uint8Array | undefined;
@@ -1333,17 +1334,17 @@ declare class AppClient {
1333
1334
  validityWindow?: number | bigint | undefined;
1334
1335
  firstValidRound?: bigint | undefined;
1335
1336
  lastValidRound?: bigint | undefined;
1336
- args?: Uint8Array[] | undefined;
1337
1337
  accountReferences?: ReadableAddress[] | undefined;
1338
1338
  appReferences?: bigint[] | undefined;
1339
1339
  assetReferences?: bigint[] | undefined;
1340
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1340
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1341
1341
  accessReferences?: AccessReference[] | undefined;
1342
1342
  rejectVersion?: number | undefined;
1343
1343
  sender?: ReadableAddress | undefined;
1344
1344
  } | undefined) => Promise<Transaction>;
1345
1345
  /** Returns a transaction for a clear state call */
1346
1346
  clearState: (params?: {
1347
+ args?: Uint8Array[] | undefined;
1347
1348
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1348
1349
  rekeyTo?: ReadableAddress | undefined;
1349
1350
  note?: string | Uint8Array | undefined;
@@ -1354,17 +1355,17 @@ declare class AppClient {
1354
1355
  validityWindow?: number | bigint | undefined;
1355
1356
  firstValidRound?: bigint | undefined;
1356
1357
  lastValidRound?: bigint | undefined;
1357
- args?: Uint8Array[] | undefined;
1358
1358
  accountReferences?: ReadableAddress[] | undefined;
1359
1359
  appReferences?: bigint[] | undefined;
1360
1360
  assetReferences?: bigint[] | undefined;
1361
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1361
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1362
1362
  accessReferences?: AccessReference[] | undefined;
1363
1363
  rejectVersion?: number | undefined;
1364
1364
  sender?: ReadableAddress | undefined;
1365
1365
  } | undefined) => Promise<Transaction>;
1366
1366
  /** Returns a transaction for a close out call */
1367
1367
  closeOut: (params?: {
1368
+ args?: Uint8Array[] | undefined;
1368
1369
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1369
1370
  rekeyTo?: ReadableAddress | undefined;
1370
1371
  note?: string | Uint8Array | undefined;
@@ -1375,17 +1376,17 @@ declare class AppClient {
1375
1376
  validityWindow?: number | bigint | undefined;
1376
1377
  firstValidRound?: bigint | undefined;
1377
1378
  lastValidRound?: bigint | undefined;
1378
- args?: Uint8Array[] | undefined;
1379
1379
  accountReferences?: ReadableAddress[] | undefined;
1380
1380
  appReferences?: bigint[] | undefined;
1381
1381
  assetReferences?: bigint[] | undefined;
1382
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1382
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1383
1383
  accessReferences?: AccessReference[] | undefined;
1384
1384
  rejectVersion?: number | undefined;
1385
1385
  sender?: ReadableAddress | undefined;
1386
1386
  } | undefined) => Promise<Transaction>;
1387
1387
  /** Returns a transaction for a call (defaults to no-op) */
1388
1388
  call: (params?: ({
1389
+ args?: Uint8Array[] | undefined;
1389
1390
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1390
1391
  rekeyTo?: ReadableAddress | undefined;
1391
1392
  note?: string | Uint8Array | undefined;
@@ -1396,11 +1397,10 @@ declare class AppClient {
1396
1397
  validityWindow?: number | bigint | undefined;
1397
1398
  firstValidRound?: bigint | undefined;
1398
1399
  lastValidRound?: bigint | undefined;
1399
- args?: Uint8Array[] | undefined;
1400
1400
  accountReferences?: ReadableAddress[] | undefined;
1401
1401
  appReferences?: bigint[] | undefined;
1402
1402
  assetReferences?: bigint[] | undefined;
1403
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1403
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1404
1404
  accessReferences?: AccessReference[] | undefined;
1405
1405
  rejectVersion?: number | undefined;
1406
1406
  sender?: ReadableAddress | undefined;
@@ -1415,7 +1415,6 @@ declare class AppClient {
1415
1415
  */
1416
1416
  fundAppAccount: (params: {
1417
1417
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1418
- amount: AlgoAmount;
1419
1418
  rekeyTo?: ReadableAddress | undefined;
1420
1419
  note?: string | Uint8Array | undefined;
1421
1420
  lease?: string | Uint8Array | undefined;
@@ -1425,6 +1424,7 @@ declare class AppClient {
1425
1424
  validityWindow?: number | bigint | undefined;
1426
1425
  firstValidRound?: bigint | undefined;
1427
1426
  lastValidRound?: bigint | undefined;
1427
+ amount: AlgoAmount;
1428
1428
  closeRemainderTo?: ReadableAddress | undefined;
1429
1429
  maxRoundsToWaitForConfirmation?: number | undefined;
1430
1430
  suppressLog?: boolean | undefined;
@@ -1460,7 +1460,7 @@ declare class AppClient {
1460
1460
  accountReferences?: ReadableAddress[] | undefined;
1461
1461
  appReferences?: bigint[] | undefined;
1462
1462
  assetReferences?: bigint[] | undefined;
1463
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1463
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1464
1464
  accessReferences?: AccessReference[] | undefined;
1465
1465
  rejectVersion?: number | undefined;
1466
1466
  sender?: ReadableAddress | undefined;
@@ -1498,7 +1498,7 @@ declare class AppClient {
1498
1498
  accountReferences?: ReadableAddress[] | undefined;
1499
1499
  appReferences?: bigint[] | undefined;
1500
1500
  assetReferences?: bigint[] | undefined;
1501
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1501
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1502
1502
  accessReferences?: AccessReference[] | undefined;
1503
1503
  rejectVersion?: number | undefined;
1504
1504
  sender?: ReadableAddress | undefined;
@@ -1534,7 +1534,7 @@ declare class AppClient {
1534
1534
  accountReferences?: ReadableAddress[] | undefined;
1535
1535
  appReferences?: bigint[] | undefined;
1536
1536
  assetReferences?: bigint[] | undefined;
1537
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1537
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1538
1538
  accessReferences?: AccessReference[] | undefined;
1539
1539
  rejectVersion?: number | undefined;
1540
1540
  sender?: ReadableAddress | undefined;
@@ -1570,7 +1570,7 @@ declare class AppClient {
1570
1570
  accountReferences?: ReadableAddress[] | undefined;
1571
1571
  appReferences?: bigint[] | undefined;
1572
1572
  assetReferences?: bigint[] | undefined;
1573
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1573
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1574
1574
  accessReferences?: AccessReference[] | undefined;
1575
1575
  rejectVersion?: number | undefined;
1576
1576
  sender?: ReadableAddress | undefined;
@@ -1606,7 +1606,7 @@ declare class AppClient {
1606
1606
  accountReferences?: ReadableAddress[] | undefined;
1607
1607
  appReferences?: bigint[] | undefined;
1608
1608
  assetReferences?: bigint[] | undefined;
1609
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1609
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1610
1610
  accessReferences?: AccessReference[] | undefined;
1611
1611
  rejectVersion?: number | undefined;
1612
1612
  sender?: ReadableAddress | undefined;
@@ -1626,6 +1626,7 @@ declare class AppClient {
1626
1626
  /** Interact with bare (raw) calls */bare: {
1627
1627
  /** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
1628
1628
  update: (params?: ({
1629
+ args?: Uint8Array[] | undefined;
1629
1630
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1630
1631
  rekeyTo?: ReadableAddress | undefined;
1631
1632
  note?: string | Uint8Array | undefined;
@@ -1636,11 +1637,10 @@ declare class AppClient {
1636
1637
  validityWindow?: number | bigint | undefined;
1637
1638
  firstValidRound?: bigint | undefined;
1638
1639
  lastValidRound?: bigint | undefined;
1639
- args?: Uint8Array[] | undefined;
1640
1640
  accountReferences?: ReadableAddress[] | undefined;
1641
1641
  appReferences?: bigint[] | undefined;
1642
1642
  assetReferences?: bigint[] | undefined;
1643
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1643
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1644
1644
  accessReferences?: AccessReference[] | undefined;
1645
1645
  rejectVersion?: number | undefined;
1646
1646
  sender?: ReadableAddress | undefined;
@@ -1658,6 +1658,7 @@ declare class AppClient {
1658
1658
  }>;
1659
1659
  /** Signs and sends an opt-in call */
1660
1660
  optIn: (params?: ({
1661
+ args?: Uint8Array[] | undefined;
1661
1662
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1662
1663
  rekeyTo?: ReadableAddress | undefined;
1663
1664
  note?: string | Uint8Array | undefined;
@@ -1668,11 +1669,10 @@ declare class AppClient {
1668
1669
  validityWindow?: number | bigint | undefined;
1669
1670
  firstValidRound?: bigint | undefined;
1670
1671
  lastValidRound?: bigint | undefined;
1671
- args?: Uint8Array[] | undefined;
1672
1672
  accountReferences?: ReadableAddress[] | undefined;
1673
1673
  appReferences?: bigint[] | undefined;
1674
1674
  assetReferences?: bigint[] | undefined;
1675
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1675
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1676
1676
  accessReferences?: AccessReference[] | undefined;
1677
1677
  rejectVersion?: number | undefined;
1678
1678
  sender?: ReadableAddress | undefined;
@@ -1688,6 +1688,7 @@ declare class AppClient {
1688
1688
  }>;
1689
1689
  /** Signs and sends a delete call */
1690
1690
  delete: (params?: ({
1691
+ args?: Uint8Array[] | undefined;
1691
1692
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1692
1693
  rekeyTo?: ReadableAddress | undefined;
1693
1694
  note?: string | Uint8Array | undefined;
@@ -1698,11 +1699,10 @@ declare class AppClient {
1698
1699
  validityWindow?: number | bigint | undefined;
1699
1700
  firstValidRound?: bigint | undefined;
1700
1701
  lastValidRound?: bigint | undefined;
1701
- args?: Uint8Array[] | undefined;
1702
1702
  accountReferences?: ReadableAddress[] | undefined;
1703
1703
  appReferences?: bigint[] | undefined;
1704
1704
  assetReferences?: bigint[] | undefined;
1705
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1705
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1706
1706
  accessReferences?: AccessReference[] | undefined;
1707
1707
  rejectVersion?: number | undefined;
1708
1708
  sender?: ReadableAddress | undefined;
@@ -1718,6 +1718,7 @@ declare class AppClient {
1718
1718
  }>;
1719
1719
  /** Signs and sends a clear state call */
1720
1720
  clearState: (params?: ({
1721
+ args?: Uint8Array[] | undefined;
1721
1722
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1722
1723
  rekeyTo?: ReadableAddress | undefined;
1723
1724
  note?: string | Uint8Array | undefined;
@@ -1728,11 +1729,10 @@ declare class AppClient {
1728
1729
  validityWindow?: number | bigint | undefined;
1729
1730
  firstValidRound?: bigint | undefined;
1730
1731
  lastValidRound?: bigint | undefined;
1731
- args?: Uint8Array[] | undefined;
1732
1732
  accountReferences?: ReadableAddress[] | undefined;
1733
1733
  appReferences?: bigint[] | undefined;
1734
1734
  assetReferences?: bigint[] | undefined;
1735
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1735
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1736
1736
  accessReferences?: AccessReference[] | undefined;
1737
1737
  rejectVersion?: number | undefined;
1738
1738
  sender?: ReadableAddress | undefined;
@@ -1748,6 +1748,7 @@ declare class AppClient {
1748
1748
  }>;
1749
1749
  /** Signs and sends a close out call */
1750
1750
  closeOut: (params?: ({
1751
+ args?: Uint8Array[] | undefined;
1751
1752
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1752
1753
  rekeyTo?: ReadableAddress | undefined;
1753
1754
  note?: string | Uint8Array | undefined;
@@ -1758,11 +1759,10 @@ declare class AppClient {
1758
1759
  validityWindow?: number | bigint | undefined;
1759
1760
  firstValidRound?: bigint | undefined;
1760
1761
  lastValidRound?: bigint | undefined;
1761
- args?: Uint8Array[] | undefined;
1762
1762
  accountReferences?: ReadableAddress[] | undefined;
1763
1763
  appReferences?: bigint[] | undefined;
1764
1764
  assetReferences?: bigint[] | undefined;
1765
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1765
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1766
1766
  accessReferences?: AccessReference[] | undefined;
1767
1767
  rejectVersion?: number | undefined;
1768
1768
  sender?: ReadableAddress | undefined;
@@ -1778,6 +1778,7 @@ declare class AppClient {
1778
1778
  }>;
1779
1779
  /** Signs and sends a call (defaults to no-op) */
1780
1780
  call: (params?: ({
1781
+ args?: Uint8Array[] | undefined;
1781
1782
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1782
1783
  rekeyTo?: ReadableAddress | undefined;
1783
1784
  note?: string | Uint8Array | undefined;
@@ -1788,11 +1789,10 @@ declare class AppClient {
1788
1789
  validityWindow?: number | bigint | undefined;
1789
1790
  firstValidRound?: bigint | undefined;
1790
1791
  lastValidRound?: bigint | undefined;
1791
- args?: Uint8Array[] | undefined;
1792
1792
  accountReferences?: ReadableAddress[] | undefined;
1793
1793
  appReferences?: bigint[] | undefined;
1794
1794
  assetReferences?: bigint[] | undefined;
1795
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1795
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1796
1796
  accessReferences?: AccessReference[] | undefined;
1797
1797
  rejectVersion?: number | undefined;
1798
1798
  sender?: ReadableAddress | undefined;